LDAP filter not working as expected

Hi, 

 

i am connecting Active Directory to our JIRA application to manage groups etc.

 

I have two filters, one for users, and one for group membership.

 

users:

(&(objectCategory=Person)(sAMAccountName=*)(memberof=CN=JIRA_allusers,OU=Jira,OU=Applications,OU=Groups,OU=companyname,DC=companyname,DC=local))

 

groups

(&(objectCategory=group)(name=jira*))

 

I am almost there. I have tried these LDAP queries in Active Directory.

First of all: Active Directory shows the correct 12 members in the usergroup defined by the filter. But JIRA only shows 8 of the 12 members, with no real clue as to why (similar OUs etc)

 

Also: i'd rather list the groups in my OU for the group filter instead of the name as above but i am not sure how to mae that specific group query (actually i want to list all the groups in a specific OU)

 

 

 

Thanks for any information/help!! 

 

 

 

Best regards

 

 

Roel van Doorn

 

 

 

 

3 answers

As for the first question regarding the 8 user accounts: these accounts had the same name in the internal JIRA directory.

I have given priority to Active Directory and now see the correct accounts (this is in fact what i need since i need to migratie internal accounts to our AD)

To have all the groups from an OU in Active Directory synced, you only need to specify the path to that OU. No filter is needed.

-Lars

I was unaware that filtering on OU is done via the additional group DN. I was now able to add the specific groups i needed.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,870 views 12 18
Join discussion

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