LDAP User Not Found

Hello,

We are trying to connect to our LDAP server. All of the settings have been verified by our sysadmin. But when we go to test the settings, JIRA returns user not found. This isn't an LDAP error code and its not showing up in the logs.

Any ideas to what is happening? We use OpenLDAP and have verified the fields. Is there anyway we figure out why no users are being returned?

1 answer

1 accepted

Well, we just figured it out. The issue came down to our user object filter. For those who may be having the same issue we changed the user object filter to this: (&(cn=*)(objectclass=user))

Instead of cn=%u, I am not sure why that wasn't returning the right user as users would log in with their cn. I was under the assumption that the %u would be the username during log in.

If you guys have any additional info as to why %u vs * made a difference, I'd love to know.

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

202 views 1 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