This issue has been created
There is 1 update.
 
 
LDAP / cid:jira-generated-image-avatar-2893ef38-9d66-47c5-9d06-09ede5519a92 LDAP-154 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-87b22c75-f27a-42cf-8a37-cff62d9201d0 Teodor Caras created this issue on 12/Mar/25 10:29
 
Summary: User cleanup disables all users when the connection to the server fails
Issue Type: cid:jira-generated-image-avatar-2893ef38-9d66-47c5-9d06-09ede5519a92 Bug
Affects Versions: 9.15.6
Assignee: Unassigned
Components: User Cleanup
Created: 12/Mar/25 10:29
Priority: cid:jira-generated-image-static-major-ca07800c-55bd-4da4-b39c-c6d9222b7587 Major
Reporter: Teodor Caras
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.

 
 

1 update

 
cid:jira-generated-image-avatar-87b22c75-f27a-42cf-8a37-cff62d9201d0 Changes by Teodor Caras on 12/Mar/25 10:29
 
Assignee: Teodor Caras