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
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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
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