Active Directory groups not syncing for one user

Gary Pullis September 12, 2012

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

2 answers

0 votes
Higashi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2014

It seems as a bug: https://jira.atlassian.com/browse/CWD-2854that was already fixed. Do you have affected version?

0 votes
Bruna Griebeler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2012

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!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events