You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Deleted ldap account is not listed in disabled users with markRemnantsAsDisabled = 1 #50165
if ((int)$this->getAccess(array_key_first($this->backends) ?? '')->connection->markRemnantsAsDisabled !== 1) {
return [];
}
It's possible to have more than one ldap backend. The above code seems to check if the first ldap connection have the flag set. It should take all backends into account.
The controller reads the disable state from the oc_preferences table. That does not take the disabled state for ldap remnants into account.
Apparently the users are returned by the endpoint, but filtered out by the frontend because they have enabled = true. Using $data['enabled'] = $targetUserObject->isEnabled(); makes it work. However there are some menu options, like enable user, that needs to be hidden for ldap remnants.
Activity
joshtrichards commentedon Jan 13, 2025
Related to #46992?
kesselb commentedon Jan 13, 2025
Yep, thank you 👍