We're using LDAP for authentication in Confluence 5.9.5. Recently when contacted by a user for not having his usual permission, I see that there are two accounts associated to his name in the user directory. One of his account appears to be his normal username and the other one is his normal username but is appended by a "#1". Any idea of how this happened and how to prevent it? BTW, I'm not an expert on LDAP. Thanks.
I had this too in the past, without using LDAP. I am 99.9% sure the username with the "#1" appeared after two colleagues created the same identical username with the same identical email address.
Getting rid of it is also a pain, as you have to do it directly on the db. Especially if both "clone" users have been used to comment/create pages.
I suppose your user had the account created twice; or may be the user was already there before connecting to the LDAP directory, and after the connection it got duplicated. I suggest you to go to the audit log (admin/uaditlogging) and search by username, may be you get more info
I hope it helps
This can happen if your Unique User ID Attribute isn't set correctly. You can find this under General > Users & Security > User Directories. Open your LDAP setup and under User Schema Settings, you will find it.
Review Connecting to an LDAP Directory:
User Unique ID Attribute - The attribute used as a unique immutable identifier for user objects. This is used to track username changes and is optional. If this attribute is not set (or is set to an invalid value), user renames will not be detected — they will be interpreted as a user deletion then a new user addition.
This should normally point to a UUID value. Standards-compliant LDAP servers will implement this as 'entryUUID' according to RFC 4530. This setting exists because it is known under different names on some servers, e.g. 'objectGUID' in Microsoft Active Directory.
Let us know if you have any questions or trouble!
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
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!
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