-
Bug
-
Resolution: Obsolete
-
Medium
-
3.5, 3.5.1, 3.5.2, 3.5.3, 4.0.4, 5.3.4, 5.4.4, 5.5, 5.5.2, 5.6.1
-
None
Problem
Steps to reproduce:
- At AD, rename a user.
- Try to re-sync the directory, note that both usernames (the old and the new username) are showed at Manage Users link.
- The new username didn't inherit the groups membership, the old username kept the group membership, but none of them can log in Confluence.
Note: Even trying to resynchronize the directory many times and flush cache statistics (Confluence Admin > Cache Statistics > Flush All), don't seems to solve the problem.
Fix
There is none yet.
Workaround
- At User Directories link, disable the directory, enable it again, and re-sync.
- Check the users at Manage Users link, it should now show only the right username, with the right group membership.
Note there are cases where just disabling, enabling and syncing again does not resolve the issue. In those cases:
- Database table may show 2 different users (due to rename) with the same external_id:
SELECT * FROM cwd_user WHERE external_id in (SELECT external_id FROM cwd_user GROUP BY external_id HAVING COUNT(*) > 1);
Wokraround:
- Disable the current user directory
- Create a new user directory with the exact same configuration as it was in the old directory
- Sync the new directory and the users should be able to login and have the correct information.
- is duplicated by
-
CONFSERVER-35047 Confluence user synchronisation create duplicated user account after user rename in the remote repository
- Closed
- is related to
-
CWD-3984 Rename user in external directory create new user with same external_id
- Closed
-
CWD-3882 Add unique constraint on columns external_id and directory_id
- Gathering Interest
- relates to
-
CWD-2148 AD caching mis-behaving if the username case is changed/renamed
- Closed
-
CONFSERVER-33455 After renaming a user in Active Directory, Confluence syncs that user in as a new user (if and only if Confluence is connected to JIRA or Crowd, which is in turn connected to LDAP)
- Closed
-
CONFSERVER-37275 changing user name attribute results in new user being created
- Gathering Impact
- links to
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Page Loading...