Active Directory groups not syncing for one user

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

This widget could not be displayed.

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!

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

477 views 6 6
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you