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

This widget could not be displayed.

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

This widget could not be displayed.

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)

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

72 views 1 0
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