Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Specify multiple OUs as "additional User DN" in AD/LDAP-Configuration

Is it possible to specify multiple OUs  in the Additional User DN?


So for example, I could specify OU=Group1,OU=Group2,OU=Group3 .


Every time I try to do that, it does not work, so I'm wondering if I am missing something or if it's truly not compatible.

2 answers

1 accepted

2 votes
Answer accepted
Jim Schwilk Community Leader Oct 15, 2019

What you need to do is under "User Schema Settings" use the "User Object Filter" to filter the groups that you want to sync.

Here is an example query:


This will sync users that are part of "group1" and "group2" where the group is located in "container1".  I would create a separate OU for atlassian users then create the groups inside of that OU and make the users part of that group.

Thanks! That was exactly what I was looking for!

Like Jim Schwilk likes this
0 votes

Ive seen some people have success with 


But cant promise that will work.

Another option would be to set up multiple directories each connecting to the same LDAP server, but with different Additional User DN entries. I have does this and it works fine. though you have to be careful with group membership as sometimes there are issues with users from different directories being in the same group.

Doing "OU=Group1,Group2,Group3" sadly doesn't work.

The multiple directories works but to me I would have assumed would be a better way to go about it so I could manage it all in one Directory without having to sync multiple directories to one LDAP server.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events