Univention Bugzilla – Bug 55633
Disabled user does not show up in search result for disabled users if a user expiry date is set
Last modified: 2023-02-01 11:49:51 CET
Disabled user does not show up in search result for disabled users if a user expiry date is set How to reproduce: - Create a user and set it to disabled, it should now show up in the search results for disabled users. - Add an expiry date (doesn't matter if it's in the future), it does not show up in the search results for disabled users. The disabled attribute is still set though. Code: https://git.knut.univention.de/univention/ucs/-/blob/5.0-2/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py#L2067 The filter expects "shadowExpire=1" which is not true for users with an expiry date. Note: I would recommend that we check that disabling a user and setting an expiry date does not break anything else (simple bind, posix, kerberos heimdal/mit). My exception would be, that disabling a user overrides the expiry date and it is locked immediately.