LDAP filter with Crowd

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

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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,134 views 6 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot