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.
i am getting below error too when trying to add User Directory. The error is almost the same except last part. Any help in this regard would be appreciated greatly.
Use this form to test the connection to Microsoft Active Directory (Read Only, with Local Groups) directory 'Active Directory server'.
For extended testing enter the credentials of a user in the remote directory.
Test basic connection : Succeeded
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 '/'For more information regarding LDAP error codes see Troubleshooting LDAP Error Codes.
Test user rename is configured and tracked : Not performed
Test get user's memberships : Not performed
Test retrieve group : Not performed
Test get group members : Not performed
Test user can authenticate : Not performed
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was the problem. Once I selected Save and Test first, the directory began working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response. For me password was wrong when start using correct one it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you test with IP instead of hostname?
Here is an example from our lab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.