Configure part groups of LDAP Server sync to confluence

Frank Yu November 17, 2016

Hi All,

I have a LDAP Server(ApacheDS), and there are some groups, "cn=testA", "cn=testB","cn=testC","cn=testD",

and I only want group "testA" and "testB" sync to confluence. What should I do?

I tried below, but it doesn't work. 

Group Object Class: groupOfUniqueNames

Group Object Filter: (&(objectClass=groupOfUniqueNames)|((cn=testA)(cn=testB)))

Screen Shot 2016-11-17 at 8.24.54 PM.png

Any ideas about this?
Appreciate your help!!!

2 answers

1 accepted

1 vote
Answer accepted
Rick Marshall November 17, 2016

Frank,

Had a similar need.  I only wanted users of certain groups to be synced with Confluence.  I added the filter to the User Schema Settings and not the group.

(&(objectClass=user)(sAMAccountName=*)(|(memberof=CN=testA)(memberof=CN=testb))
 

Also your LDAP query should read:  (&(objectClass=groupOfUniqueNames)(|(cn=testA)(cn=testB)))

 

I think you have a bracket in the wrong place.

 

0 votes
Frank Yu November 17, 2016

Rick

 

Thanks very much for you help.

(&(objectClass=groupOfUniqueNames)(|(cn=testA)(cn=testB))) works for me.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events