Active Directory: How to sync only users under certain OUs

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

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

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
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

44 views 3 1
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