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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

764 views 2 19
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