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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Need help limiting LDAP user sync by security group

Hello, new user to Confluence here.

I am trying to limit Confluence to only importing AD users that are part of the two AD security groups Confluence-Admin and Confluence-Users. I found this KB that I think is pointing me in the right direction, however I can't write the filter correctly.

In "User Directories > Configure LDAP User Directory > LDAP Schema > Base DN" I have:

OU=MyUsers,DC=MyCompany,DC=com

And in "User Directories > Configure LDAP User Directory > User Schema Settings > User Object Filter" I have:

(&(objectCategory=Person)(sAMAccountName=*)(|(memberOf=cn=Confluence-Admin,ou=MyUsers,dc=MyCompany,dc=com)(memberOf=cn=Confluence-Users,ou=MyUsers,dc=MyCompany,dc=com)))

I'm either trying to do this completely wrong or my syntax is broken somewhere. Does anyone have any guidance on fixing this?

1 answer

1 accepted

0 votes
Answer accepted

After more reading and trial and error I figured out I was just writing the DN of the security groups wrong. After correcting them in the example above the proper people are getting imported into Confluence.

Hi Justin!

I've been tasked with limiting access to our Bitbucket application to a specific group (Distribution List) in our LDAP directory, which is a few hundred users.  Right now, anyone/everyone in our LDAP directory can sign into Bitbucket, which is thousands of users...  We have limited licenses.  I too have tried to tried several filtering suggestions I've found; however, I haven't guessed the right combo yet...  :/

Would you be so kind as to provide examples of your corrected settings?

 

Thank You Sir!  :D

Shame on Justin for writing "I solved it!" and not sharing his solution

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

451 views 18 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you