How to add a ldap group-filter for more than one OU?

Hi there,

in our ActiveDirectory we have many many OUs with groups we need four our Confluence.

So we have to search the whole Base-DN and have to create a group-search-filter...

I have tried many querys but I didn't get any result :-(

I found: https://confluence.atlassian.com/x/1YUCand tried

(&(objectClass=group)(|(ou:dn:=Chicago)(ou:dn:=Miami)))

but it didn't work.

I tried

(&(objectCategory=Group)(|(distinguishedName=OU=myorgunit1,OU=suborgunit,DC=mydc,DC=de)(distinguishedName=OU=myorgunit2,DC=mydc,DC=de)))

but it didn't work either.

Any idea what is missing?

Kind regards

André

1 answer

1 accepted

Hi André,

As for your question about limiting the group search by DN, it would be possible in most LDAP distributions (see Matching Components of Distinguished Names in this documentation). This filter is supported as LDAP-compliant servers support an extensible-match filter which provides the necessary filtering capability to this search (see RFC4511).

However, on Microsoft Active Directory is impossible to do this, it's because AD is not fully LDAP compatible and does not support the extensible-match (see this documentation).

Another option can be use Nested Groups in your LDAP and set a filter in Group Object Filter field as this example:

(&(objectClass=group)(memberOf=CN=Group_A,OU=Groups,DC=Examples,DC=com))

In this example Group_A is the parent group and it wouldn't be pulled to JIRA, this filter would only return its child groups.

I hope it helps.

Cheers

Hi Tiago,

thanks for your answer but to add all groups to a specific one ist not possible for that need.

We have moved the group into that OU which is already in read out.

Kind regards.
André

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 5 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

22 views 0 4
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