Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3935

Directory sync after upgrade from 2.7.1 to 2.7.2 results in delete+add of users instead of update if externalId contains XML unsafe characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • None
    • 2.7.2
    • Directory - LDAP
    • None

    Description

      CWD-3748 introduced checks on the externalId that's received from the LDAP server. If the externalId contains invalid XML characters, the internalId is rejected and set to null.

      This causes problems during the first user synchronisation following upgrade from crowd 2.7.1 (or lower) to 2.7.2. The users whose externalId is rejected are deleted + added instead of updated.
      In Stash, as a result of the delete, the user's permissions and SSH keys are revoked.

      DbCachingRemoteChangeOperations.deleteCachedUsersNotIn does not handle the case where the cached user does have an externalId, but the user that's retrieved from LDAP does not.

      Attachments

        Issue Links

          Activity

            People

              aknoll Avi Knoll (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: