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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

53 views 3 4
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