LDAP query in crowd to check username or email address

Currently, I am autenticating with username aginst my ldap from crowd. I wanted to check username or emailaddress from crowd to ldap.

This is my existing query check only username:

(&(objectCategory=Person)(cn=*)(memberof=cn=<<MY GROUP NAME>>,ou=Groups,ou=<<MY OU>>,dc=prod,dc=<<MY DC>>,dc=com))

This is my updated query check username or email address, but it is not working.

(&(objectCategory=Person)(|(mail=*)(cn=*))(memberof=cn=<MY GROUP NAME>,ou=Groups,ou=<MY OU>dc=stage,dc=<MY DC>,dc=com))

1 answer

0 vote

It's going to be a bit tricky to troubleshoot this remotely, but I can give you a tip. Apache Directory Studio is a great little utility that'll help you browse your LDAP directory. Hopefully it'll help you play around well:

http://directory.apache.org/studio/users-guide/ldap_browser/gettingstarted_search.html

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
Published 7 hours ago in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

30 views 0 3
Read article

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