Univention Bugzilla – Bug 37516
ucs_unregisterLDAPExtension should implement a wait for ldap-restart
Last modified: 2018-04-14 13:43:46 CEST
When calling the function "ucs_unregisterLDAPExtension" from the script "/usr/share/univention-lib/ldap.sh" there is no indication regarding restarting the ldap server, which is necessary for any further operations on ldap objects where the changes occur for they might hit an already removed object meanwhile the ldap server has not finished restarting yet. So it should be in the order: ucs_unregisterLDAPExtension (include ldap restart) -> wait for ldap to finish restarting -> exit to allow operations on ldap objects (e.g: modify.. ) Currently this causes timing issue for bug #37401, where a sleep statement is used temporarily in script "10_ldap.80acl_unregistration_basis" to make sure that the ldap server finished restarting, please remove that statement when this bug is fixed.