LDAP User Not Found

Daniel Byrne June 19, 2014

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

1 vote
Answer accepted
Daniel Byrne June 19, 2014

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