Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-154

User cleanup disables all users when the connection to the server fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.15.7
    • 9.15.6
    • User Cleanup
    • None
    • Unknown
    • N/A
    • N/A

    Description

      The user cleanup looks for users using `XWikiLDAPConnection#searchLDAP` method. If the query to the server fails due to any reason, the exception is caught and null is returned. The user cleanup job interprets the null value as if the user was not found and that it should be deleted/disabled.

      In the case of a server connection failure, the user cleanup job will disable/delete all the ldap users.

      This shouldn't happen. The users should be skipped and be disabled/removed at the next scheduled time.

      Attachments

        Activity

          People

            tcaras Teodor Caras
            tcaras Teodor Caras
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: