Univention Bugzilla – Bug 43195
UMC tries to delete child objects on objects known to never have child objects
Last modified: 2017-02-09 16:01:51 CET
Due to https://forge.univention.org/bugzilla/show_bug.cgi?id=23835 the UMC tries to do a recursive delete always and thus also on objects that are known to never have child objects. In large environments with configured size.unchecked limits the search for child objects might exceed the unchecked limit and the delete operation using the UMC will fail in this case.
Created attachment 8315 [details] patch It's only possible to workaround the admin size limit for objects which doesn't have children. There is no way to fix this for objects which have subordinates and where the admin size limit blocks. I tested even paginated ldap search calls. The admin size limit is btw. not effective for cn=admin or the host-DN, so using UDM-CLI always works. As in the customer project these objects never have subordinates I think this patch is good enough. What should the Target Milestone be? UCS 3.2-errata?
(In reply to Florian Best from comment #1) > What should the Target Milestone be? UCS 3.2-errata? I guess it would be helpful to fix it as UCS 4.1-4 erratum and as UCS 3.3-1 erratum.
OK. univention-directory-manager-modules (9.0.76-145): r75464 | Bug #43195: don't search for children of objects which doesn't have subordinates to prevent administrative limits univention-directory-manager-modules.yaml: r75466 | YAML Bug #43195 Package: univention-directory-manager-modules Version: 9.0.76-145~ucs3.3.1446.201612211235 Branch: ucs_3.3-0 Scope: errata3.3-1
OK - handlers/__init__._remove() removes children only if object hasSubordinates OK - YAML
Reopen: While trying to announce this as an errata, the package version was missing. repo_stat does not have the version, and no package is in our buildsystems apt directory, despite there beeing a mail with reports the successful build. Maybe something went wrong when the bugfix was ported to ucs 3.2 extsec (bug 43236) Please check that no further source code changes have occured and reimport and rebuild the package.
univention-directory-manager-modules (9.0.76-146): r76579 | Bug #43195: version bump univention-directory-manager-modules.yaml: r76580 | YAML Bug #43195
OK: Version bump + rebuild OK: yaml Verified
<http://errata.software-univention.de/ucs/3.3/29.html>