Users' active directory groups not updating

When a new user is created in Active Directory, Confluence pulls all of the user and group membership info correctly. But if the user is added to or removed from a group, the change is not reflected in Confluence, even if I click the "synchronize" button.

We're on Confluence 5.1.4.

I have set it up to authenticate users against our Active Directory ldap in readonly mode.

Our AD has more than 5k users, so I limited the sync to only those people that are a member of a specific AD group via the User Object Filter. Otherwise, all of the settings are left as default. The LDAP is set as read only.

(&(objectCategory=Person)(sAMAccountName=*)(memberOf=CN=Confluence Editors,OU=Groups,OU=USA,DC=americas,DC=com))

I checked the logs and do not see any errors. The synchronization shows as successful.

I assume I'm missing something obvious. Any ideas?

2 answers

Laura,

My guess would be that your Group Object Class may not be right.

https://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory

Please make sure that thisis set correctly so that Confluence knows what group objects look like.

Also have your run that filter in an LDAP browser tool like Apache Directory Studio?

http://directory.apache.org/studio/

What are the results?

To better troubleshoot this you will need a direcotry configuration summary and an LDIF of one of the members that is supposed to have their groups synced but is not working.

https://confluence.atlassian.com/display/CONFKB/How+to+Generate+a++Directory+Configuration+Summary

I am facing similar issues - in the User Schema settings, instead of objectCategory=Person, try objectClass=User. This seems to get me the most recent member list (added / deleted) from the group on manually synchronising - however, the automated sync part still doesn't work. Confluence version - 5.1.5

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,989 views 25 10
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