Configure part groups of LDAP Server sync to confluence

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

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.

 

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

678 views 21 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you