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 vote
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.

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...

365 views 20 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