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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,326 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot