Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-78861

Continue synchronizing external directory after updating user failed

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • User - Management
    • None
    • 4
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      When Confluence attempts to synchronize from an external directory and hits an error while updating an user information, the remaining users in the directory are not Synchronized and instead just reported:

      2022-05-18 09:41:28,384 WARN [Caesium-1-4] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] updateUsers Unable to synchronize user <username> from remote directory: username of updated user does not match the username of the existing user.
      com.atlassian.crowd.exception.InvalidUserException: username of updated user does not match the username of the existing user.
        [...]
      
      2022-05-18 09:41:28,434 INFO [Caesium-1-4] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache failed synchronisation complete for directory [ 12345678 ] in [ 123ms ]
      

      The directory synchronization is halted leaving all other users without issues out of the synchronization. This can result in new users not being synchronized to the directory.

      Suggested Solution

      Skip the user that has the above issue and allow remaining users that do not have any issues to be synchronized so that the impact of this kind of issue is lowered.

      Workaround

      Fix the issue with the user that is logged in the application logs on the external directory side.

              Unassigned Unassigned
              9f7de485df51 Basar Beykoz (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: