Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,057
Community Members
 
Community Events
168
Community Groups

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 votes

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
TAGS

Atlassian Community Events