LDAP User Authetication fails

Hey Guys, 

I have a delegated LDAP authentication in my user directories with anonymous bind (no username&password). Testing the connection everything seems fine, but when a user tries to login it fails with this error:

Caused by: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C090752, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]; remaining name 'OU=............

 

I tried to find a solution by Googling it but , everything on my configuration seems ok. Do you have any ideas?

 

Thank you

Athina

 

1 answer

1 accepted

0 vote

Hi Athina,

I would recommend checking out the KB on Common LDAP errors.

Given that we see an LDAP error code of 1, that tends to mean that the LDAP directory does not have the permission needed to perform that operation with that user account.   In my experience, it is unusual to try to use an anonymous user to connect to an LDAP instance.   It is not to say it is impossible, but in my experience you typically need to use an LDAP admin account to be able to connect Jira with an LDAP instance.  

I would recommend following the suggestion resolutions for that error code on that page and also trying to use an admin account with a username and password to see if you can get past this error that way.

Regards,
Andy

Hey Andy! 

You are right. I used a user and his password in order to check if that was the problem and I guess I cannot use anonymous bind. 

 

Thanks a lot for your answer ! 

Athina

Awesome, glad to hear that helped!

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
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

104 views 0 2
Read article

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