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 - [ ]"

Solution Verified - Updated -

Issue

  • dsidm utility 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 ldapdelete command 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content