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

Incremental AD synchronisation silently ignores remote deletions if the user does not have admin privileges

XMLWordPrintable

      Symptoms

      Users deletions in an AD are not propagated to Crowd by (apparently successful) incremental synchronisation if the connector binds to AD using unprivileged credentials.

      Steps to reproduce

      1. Create an unprivileged user in AD, e.g., CN=UnprivUser,OU=People,DC=sydney,DC=atlassian,DC=com
      2. Set up an AD LDAP connector in Crowd, use the unprivileged user credentials to connect to AD.
      3. Do a full synchronisation
      4. Create a new ephemeral user in AD using the AD console or any other tool different from Crowd itself.
      5. Synchronise again. An incremental synchronisation successfully propagates the new user to Crowd. Verify the new user actually exists in Crowd with the user browser.
      6. Delete the ephemeral user from AD using the AD console or any other tool different from Crowd itself.
      7. Synchronise again.

      Expected behaviour

      Either the deletion is propagated from AD to Crowd if possible (fallback to full sync?), or the user is notified about the failure to complete an incremental synchronisation (see CWD-2714).

      Actual behaviour

      The deletion is not propagated from AD to Crowd. The synchronisation completes without any error message, logs contain "deleting [ 0 ] users", and the ephemeral user still appears in the user browser.

              pszczepanik Szczepan (Inactive)
              dberrueta Diego Berrueta
              Votes:
              18 Vote for this issue
              Watchers:
              24 Start watching this issue

                Created:
                Updated:
                Resolved: