Univention Bugzilla – Bug 56961
UCS performance guide: Add clean up abandoned UDM locking objects
Last modified: 2024-01-08 10:22:05 CET
I add the option 5 in the following article https://help.univention.com/t/howto-speed-up-of-domain-join-or-updates-for-additional-servers/10168#option-5-clean-up-abandoned-udm-locking-objects-6 I guess it would be great to add it for the performance guide too. https://docs.software-univention.de/ext-performance/latest/en/index.html ``` univention-ldapsearch -xLLL '(&(objectClass=lock)(createTimestamp>=20231230000000Z))' -b cn=temporary,cn=univention,dc=univention,dc=intranet 1.1 > /home/univention-support/delete_temporary2 ``` Delete the temporary Objects ***(objectClass=lock)*** ``` while read dn; do echo "$dn" && ldapdelete -D "cn=admin,$(ucr get ldap/base)" -y /etc/ldap.secret "$dn"; done < /home/univention-support/delete_temporary2 ```