[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Can't delete empty ou

--On Tuesday, July 20, 2004 7:28 AM -0700 Jarod Beekman <jbeekman@apu.edu> wrote:

  I have an ou that once contained several objects.  I deleted the
objects from within the ou but have been unable to remove the ou itself.
ldapdelete gives the following error:

Delete Result: Operation not allowed on non-leaf (66)
Additional info: subtree delete not supported

A subtree search on the ou returns nothing but the ou itself and I can't
see any children beneath it.  The hasSubordinates attribute is still
TRUE, however.

I'm not sure if there's something that qualifies as a child object
making this ou non-leaf that I can't see in a regular ldapsearch or if
there is some other issue, anyone seen this before or have some advice?

RedHat EL AS 3
Openldap 2.1.22

What is the delete operation you are running?

Also, OpenLDAP 2.1.22 had a number of major issues. I suggest upgrading to at least 2.1.30.


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html