Missed Team ’24? Catch up on announcements here.

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

Only allow specified groups for Active Directory

Nebeyu Daniel July 28, 2020

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

0 votes
Monique Khairuliana[ServiceRocket]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2020

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:

(&(objectCategory=Group)(|(cn=confluence-users)(cn=confluence-administrators)))

More examples here:

Nebeyu Daniel July 29, 2020

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

Capture.PNG

Suggest an answer

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

Atlassian Community Events