We have an Active Directory whose SAMAccountName was created in lower case, and then later modified to upper case. Now, when Confluence does a directory sync, Confluence no longer shows him being a member of any group, resulting in an inability to log in to Confluence.
In the atlassian-confluence.log file, we see:
2012-09-12 15:28:07,917 WARN scheduler_Worker-2 atlassian.crowd.directory.DbCachingRemoteChangeOperations getUsersToAddAndUpdate remote username JDG37276 casing differs from local username jdg37276 . User details will be kept updated, but the username cannot be updated
Also, a bunch of this:
2012-09-12 15:26:46,114 ERROR scheduler_Worker-3 crowd.embedded.hibernate2.HibernateMembershipDao addAllUsersToGroup jdg37276 into IT37 Desktop Group
2012-09-12 15:26:46,114 WARN scheduler_Worker-3 atlassian.crowd.directory.DbCachingRemoteChangeOperations addUserMembershipsForGroup Could not add the following missing users to group IT37 Desktop Group : jdg37276
How should we correct the ID in Confluence to be all upper-case. We don't mind doing a direct SQL update for this, but would rather get advice than, um, guess. :-)
Did you tried to edit the user directly on Confluence? You can go to Browse > Confluence Admin > Users > and then edit his username.
If it doesn't work, I suggest you to make a dump of your database to see all occurrences of your user to change his username there. But just make it easier for you, all users in confluence are in the table cwd_user;
PS: Don't forget to perform a backup of you database before making any changes!!!
Hope it helps!
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...
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