LDAP authentication with Active Directory not working - Help with troubleshooting

I ve been trying to test a connection to our Active Directory using both Confluence and paddle-6.jar / atlassian-user.xml and JExplorer but whatever I try, I get error AuthenticationException and error code 52e invalid credentials.

This is basically my settings.

<securityPrincipal>uid=Confluence,ou=Service Accounts,ou=Users,ou=xxx,ou=xxx,dc=office,dc=local</securityPrincipal

I ve been playing around with all kinds of different DNs + moved the account to the top Users node in AD so my guess its something else.

Need help troubleshooting. Could it be a setting in our Active Directory preventing the connection?
At the moment I don t have any Active Directory Admin to ask...


2 answers

For AD you will do better using a login name (security principal) formatted like loginname@xyz.local The full DN doesn't work in a lot of situations.

For you, this should be confluence@office.local based on what you posted.

Joseph Clark Atlassian Team Aug 03, 2011

I was about to suggest this - spot on.

0 vote

If you can't bind to the ldap server using JXplorer it's just a case of "contact your admins". The principal DN or password or both is wrong... Not much point in trying to get it working with confluence til you've got past this point.

Ok, thanks.

The AD admins won t be around for a few weeks so I guess its up to me to find the answer :(

If anyone have any idea on what settings in AD I should check, I would be grateful - policy settings etc etc.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

377 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you