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.

Joe Clark Atlassian Team Aug 03, 2011

I was about to suggest this - spot on.

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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,474 views 114 8
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