Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,560,642
Community Members
 
Community Events
185
Community Groups

How Exclude OU from AD Import ?

Hello,

 

i'm trying to exclude a specific OU from a LDAP search , i found some solution but doesn't work for me.

My situation :

The Base DN name for example : Objects

2021-12-21 13_39_35-Window.png

I found this tutorial

https://confluence.atlassian.com/kb/how-to-write-ldap-search-filters-792496933.html

I tryind this : (&(&(objectCategory=Person)(sAMAccountName=*))(!(OU=IT)))

But all is imported. I don't found the reason. It seems works for others..

Thank you for your help.

1 answer

0 votes
Artur Moura
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 23, 2021

Hi Julian,

Thanks for your question!

I'm afraid there is no option for you to exclude an OU from a subtree LDAP search. You can confirm this using the same query you mentioned, creating a test LDAP query on the Saved Queries located on the Active Directory Users and Computers. 

You should see all the users in the results.

That said, I would recommend you filter the users who are members of a certain group, like Jira Users.

The query should look like the following: 

(&(objectCategory=Person)(sAMAccountName=*)(memberOf:1.2.840.113556.1.4.1941:=cn=Jira Users,ou=users,dc=company,dc=com))

Hoping it helps, please let me know your thoughts.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events