Error: The directory service can perform the requested operation only on a leaf object. (NETIQKB53016)

  • 7753016
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

fact
Directory and Resource Administrator 7.x

fact
Directory and Resource Administrator 8.0

symptom

Error: The directory service can perform the requested operation only on a leaf object.



symptom

Error: The object 'ouname' could not be deleted.  DRA can perform the requested operation only on a leaf object.



symptom

Unable to delete an OU.



cause
You cannot delete an organizational unit (OU) if the OU contains user, group, contact or computer objects or other OUs.

fix

You cannot delete an OU without first removing the objects (called leaf objects) within the OU.  Directory and Resource Administrator (DRA) checks to make sure there are no objects in an OU before processing a delete command.  If there are visible or hidden objects in the OU, DRA generates an error.  This behavior is by design.  The error message DRA generates mimics the behavior of native tools like Active Directory Users and Computers (ADU&C).

For more information, see the following Microsoft TechNet article "Deleting Directory Service Objects" at http://www.microsoft.com/technet/scriptcenter/guide/sas_ads_xnoi.mspx?mfr=true



Additional Information

Formerly known as NETIQKB53016