Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

LDAP filter with Crowd

Ruwan Mettananda
Contributor
April 20, 2015

I want to filter the users in my Active Directory to a new directory in Crowd.

  1. Create a new directory in Crowd to users in "ABC" company. (Users have @abc.com domain)
  2. Create a new directory in Crowd to users in "XYZ" company. (Users have @xyz.com domain)

I have create a following filter and create a new directory. But it seems that it does not working.

(&(objectCategory=person)(objectClass=user)(mail=*@abc.com))

Where is the problem in this filter?

1 answer

0 votes
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 4, 2015

Hi Ruwan,

This filters seems to be correct. What I recommend to you is to double check if the object class and object category are correct in the LDAP server. Try to take an LDIF as example from the user you want to filter and check these attributes.

Also, try to set the maii as (mail=*abc.com) removing the @ sign just for testing purposes. It should work afaik but, making tests using other variables is a valid testing course.

The filter must be placed in the user filter part as well.

I hope this helps!

Cheers,

Rodrigo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events