Unable to delete an OU entry with the dsidm utility on RHDS 11, fails with "Error: 107 - 3 - 66 - Operation not allowed on non-leaf - [ ]"
Issue
dsidmutility fails to delete an OU entry from RHDS 11 and gives an error below:
# dsidm -v -D "cn=Directory Manager" -b dc=example,dc=com ldap://rhds.example.com organizationalunit delete "ou=test_ou,dc=example,dc=com"
ERROR: Error: 107 - 3 - 66 - Operation not allowed on non-leaf - [] <----
- And even
ldapdeletecommand couldn't remove the "OU" from RHDS 11 server:
# ldapdelete -x -H ldap://rhds.example.com -D 'cn=Directory manager' -W -r "ou=test_ou,dc=example,dc=com"
Enter LDAP Password:
ldap_delete: Operation not allowed on non-leaf (66) <----
Environment
- Red Hat Directory Server 11
- Red Hat ENterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.