domain_delete.php: fix deleting the domain avoiding ldap error (#5100) the ldap error was: ldap_delete: Operation not allowed on non-leaf on cn=kolab-admin,dc=yourdomain,dc=org
Description
Description
Details
Details
- Auditors
vanmeeuwen - Provenance
pokorra Authored on pokorra Pushed on Jun 12 2015, 6:49 PM - Parents
- rWAP0e4caf1c383b: domain_delete.php: small fix of previous commit. No need for empty attributes…
- Branches
- Unknown
- Tags
- Build Status
Buildable 761 Build 762: Continuous Integration for Software Development Projects
Event Timeline
Comment Actions
The actual fix for this problem is, as commented on the relevant line, probably a better search for LDAP objects, since it is not guaranteed that cn=kolab-admin is the only role configured in the relevant hierarchy or tree.
/bin/domain_delete.php | ||
---|---|---|
118 | This is probably because the search for LDAP entries does not explicitly include (objectclass=ldapsubentry), which will make the search include these objectclasses otherwise not included in search results. |