Univention Bugzilla – Bug 50829
inconsistent and deleted school users after OU deletion
Last modified: 2023-06-23 13:42:55 CEST
Two problems: * When a OU is deleted, its name is not removed from the list of OUs in a school users "ucsschoolSchool" attribute. The user object is thus inconsistent, which may lead to problems later. * When a OU is deleted, all LDAP objects below it are removed as well. If a user in the OU has multiple entries in its "ucsschoolSchool" attribute, it should not be deleted, but moved to another OU. Implementation suggestion: * UDM hook that prevents the deletion of OUs with objectClass=ucsschoolOrganizationalUnit when not done through the UCS@school lib. * Enhance UCS@school lib code that is responsible for the removal of OUs to fix the two problems above.