JIRA failed to authenticate with the LDAP server using the credentials in the osuser.xml file

I am upgrading jira 4.2.1 to jira 5.1.4. Jira 4.2.1 is connecting to ldap and authenticating against ldap server without issue. When using the same osuser.xml file for jira 5.1.4 I receive the following error:

JIRA failed to authenticate with the LDAP server using the credentials in the osuser.xml file. LDAP error: 
org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 52e, vece]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 52e, vece]
 
Any ideas on how to resolve this?
 
Paul
 

1 answer

https://confluence.atlassian.com/display/CONFKB/LDAP+Error+Code+49

The error seems to indicate your ldap login credentials are invalid.

Yes I found out this:

80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 52e, v893
HEX: 0x52e - invalid credentials
DEC: 1326 - ERROR_LOGON_FAILURE
(Logon failure: unknown user name or bad password.)

NOTE: Returns when username is valid but password/credential is invalid. Will prevent most other errors from being displayed as noted.

But these credentials work find from jira 4.2.1, just not from jira 5.1.4.

This is a longshot but, are you using uppercase characters in your username?

I tried that but to no avail. The credentials work for another jira instance. I think it may be that the LDAP server only allows a certain amount of connections using those credentials and other instances must be added to the list of LDAP users.

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 ...

2,907 views 12 18
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