The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Active Directory: How to sync only users under certain OUs

Dieter Scheruga
Contributor
March 12, 2015

My base dn is like : OU=CEE,DC=xyz,DC=at

unde CEE there are furhter OUs for countries: AT, CZ, HR etc.

There are furhter OUs I don't want to sync.

How can I only sync users from AT or CZ or HR etc.?

 

Under 'Additional Group DN ' I don't know how to write OR: OU=AT|CZ etc. doesn't work

Maybe also a user filter would work. But I don't know how to say "under the OU=AT or OU=CZ" etc.

 

Thanks for help

Dieter

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Dieter Scheruga
Contributor
March 12, 2015

I found "my" solution in filtering for users in a certain (nested) group:

(&(objectCategory=Person)(sAMAccountName=*)(memberOf:1.2.840.113556.1.4.1941:=CN=MyGroup,OU=ou1,OU=ou2,OU=User Groups,OU=AT,OU=CEE,DC=XY,DC=at))

But i would still be interested in a solution based on OUs smile

BR

Dieter

TAGS
AUG Leaders

Atlassian Community Events