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: tried


but it didn't work.

I tried


but it didn't work either.

Any idea what is missing?

Kind regards


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:


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.


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.

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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

81 views 0 5
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