Can anyone please let me know what can cause confluence to delete users and readd them after every sync. In audit logs we can see users getting deleted from all groups and after next sync they are getting added to all groups. Is this a bug? or AD config issue?
Working with support on this issue in Jira, we identified that our Global Catalog was missing the "accountExpires" attribute. The LDAP queries being performed in the incremental sync were removing users because this attribute was not found in those synchronizations. Disabling the incremental sync from the advanced section of the directory settings worked as a work around. I had access to our active directory to add the "accountExpires" attribute to the Global Catalog. This should be done by someone that understands the structure and size of your domain as adding an attribute triggers a full sync between all the nodes in your domain forest.
I was unable to post the article links that helped me compare the query output between 389 and 3268 and how to add the attribute. The site kept telling me I was trying to post spam. @AnnWorley those articles were in my last comment on the support case I opened if there is a way for you to share them with @Syed Ehteshamuddin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This article actually covers all of it. I had just read up to the point that he queried the different ports, but it also shows how to modify the attributes.
Yay! It let me post this one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for sharing the solution. I look forward to finding out whether it helps @Syed Ehteshamuddin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@AnnWorley I tried using a domain admin account and disabling follow referrals, but the behavior is still the same. I have opened a case for our Jira instance as that application is more important for us to have linked to our AD users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the update.
I found your support case. I see that you just replied and Earl is checking your logs again. The root cause is probably the same in Confluence so we can circle back to this thread when the JIRA issue has been resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@jdmchd Using port 3268 is recommended as it uses the AD Global Catalog. The post I linked was removed as a duplicate of this one, I am sorry for the broken link.
I had recommended that Syed turn off the Follow Referrals checkbox (in the User Directory Advanced settings). When that setting is on, it can make Confluence query multiple servers, not all of which have the desired users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Syed Ehteshamuddin I understand from your support ticket that the LDAP user binding to AD has only read permissions. I understand not wanting to make the user an AD admin, but it may help to add the User DN to the Account Operators group in AD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@AnnWorley disabling Follow refferals dint helped. We have a case open with atlassian, but no exact solution yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is happening to us on an evaluation license Confluence. It is also happening on an evaluation license of Jira except I don't see our ldap users getting added back there, they just get removed and never put back. We are using port 3268 as it showed better performance from our directory server. I am unable to view the article you linked Ann.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I answered with a broken link - edited the comment to remove it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the update @jdmchd.
I see that you just replied on the support case, and the support engineer is taking another look at your logs. We can circle back to this thread when the root cause is found, as it will probably be the same issue for Confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.