Confluence Active Directory integration

New Confluence User, installed on to RedHat Server (on-prem) and integrating with Active Directory.

All seems to work well but for some reason we have a number of users constantly being removed and then added back in during the sync process.

Example for the Audit Log tonight (username changed!):

20 Sep, 2017 23:35:26SystemUsers and groups

User created

User: user1Show more
20 Sep, 2017 22:35:30SystemUsers and groups

User deleted

User: user1Show more

Has anyone seen this issue before?  Any suggestions?

Thanks, Chris.


1 answer

0 votes
Ann Worley Atlassian Team Sep 21, 2017

We have seen this issue before. It can have a number of different causes. On this question, for example, the two people posting both had the same symptom, with different root causes: Users getting deleted and readded after every incremental synchronisation

One was caused by a missing LDAP attribute that Confluence was looking for. The other was solved by making sure that "only when finding the user's group membership" was checked for the Use the User Membership Attribute in the LDAP User Directory advanced settings.

Please try the following to narrow down the issue:

  • Check whether full sync behaves differently from incremental: Disable incremental synchronization by unchecking the box in the User Directory settings, and then perform a full sync. The synchronization will be logged in the <confluence_home>/logs/atlassian-confluence.log. You can see from that log when users are deleted/re-added.
  • Un-tick the Follow Referrals checkbox in the LDAP settings. "Follow Referrals" can direct Confluence to a different LDAP server; when it syncs with that other server it is possible that it isn't finding the users it just added, so it then deletes them.
  • Consider using the AD Global Catalog to sync Confluence with, as described in: How do I search from Active Directory's global catalog?

I look forward to hearing what you find. If you fix the issue, please follow up on the thread for the sake of those who experience this issue in the future.

@Ann Worley, we are also having this issue.

We disabled incremental synchronisation as you suggested and this is now working as expected. How can we revert to incremental synchronisation again without this reoccurring?


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

462 views 3 18
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