The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events