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

Only allow specified groups for Active Directory Edited

Currently my team is able to configure LDAP user directory but is unable to filter for a few groups. Below is the user schema settings and group schema settings:

User Schema

  • User Object Class: user
  • User Object Filter: (&(objectCategory=Person)(sAMAccountName=*))
  • User Name Attribute: sAMAccountName
  • User Name RDN Attribute: cn
  • User First Name Attribute: givenName
  • User Last Name Attribute: sn
  • User Display Name Attribute: displayName
  • User Email Attribute: mail
  • User Password Attribute: unicodePwd
  • User Unique ID Attribute: objectGUID

Group Schema

  • Group Object Class: group
  • Group Object Filter: (objectCategory=Group)
  • Group Name Attribute: cn
  • Group Description Attribute: description


Please let me know how/which settings I should update to enable only a few groups to show from Active Directory.


1 answer

Utilize LDAP filters in the Group Object Filter field. For example, if you want Confluence to only synchronize confluence-users and confluence-administrators group from LDAP, add this filter in that field:


More examples here:

Hi Monique thanks for the quick response. I added that filter but I after I clicked save and test I get the following error: 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,826 views 0 7
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