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. :-)
It seems as a bug: https://jira.atlassian.com/browse/CWD-2854that was already fixed. Do you have affected version?
Gary
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!
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.