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.
There is none yet.
- 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:
- 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.