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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,147 views 2 13
Read article

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