Error connecting to AD directory Edited

I'm trying to add a User Directory using our AD server. I'm able to authenticate and I'm sure the root is correct, but I get the following error when testing the connection. 

Any help is appreciated. 

confluence.png

3 answers

Can you test with IP instead of hostname?

Here is an example from our lab.Screenshot 2017-12-20 06.56.40.png

I substituted the IP address for the hostname. Unfortunately, I get the same behavior. 

=============================================

Test retrieve user : Failedorg.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]; remaining name 'OU=IT,OU=UsersOU,DC=pacific,DC=xxxxxxxxxx,DC=com'

============================================

 

Jamie

I was having the same issue/error.

I found out that my organization uses a load balancer for AD.

I used this tool (from Microsoft) to help me get the "correct" hostname: Active Directory Explorer @

https://docs.microsoft.com/en-us/sysinternals/downloads/adexplorer  

I still have this problem. I am unable to sync with my Active Directory. I can connect and browse the AD using ADexplorer with the same credentials and server name. Thoughts?

Jamie 

Ann Worley Atlassian Team May 30, 2018

Is there any way you did "test connection" before saving the configuration? I have been bitten by this behavior before - the LDAP user password deletes itself and you have to re-enter it before saving:

Error When Browsing Users, Groups Or Roles For Active Directory

Hmmmm. Not sure what you mean. I have 2 choices on the Edit screen, 'Save and Test' and 'Quick Test'. If I hit either, I go to a Test Remote Directory Connection, where I see the error if I select 'Test Settings'. Am I not navigating this UI correctly? 

Ann Worley Atlassian Team May 31, 2018

The way you are navigating the UI is sensible but the bug I linked may be  causing problems. Please try "save and test", then go to the User Directory and synchronize it, then see if your users are able to authenticate to Confluence with LDAP credentials. If nothing else, we should be able to get a useful error message.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

415 views 17 9
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