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

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!

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

385 views 17 9
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