[Logo] LDAPSoft LDAP And Active Directory Tools Community Forums
  [Search] Search   [Register] Register /  [Login] Login 
 
Deleting multiple containers using sql like syntax  XML
Forum Index » General Discussion
Author Message
chen



Joined: 30/06/2008 19:23:27
Messages: 1
Offline

I am trying to delete multiple containers using sql syntax, but I am getting this error on the container object
Error: Not Allowed On Non-leaf - Unable to delete

I can delete container using the admin tool table view but unable to delete them using sql syntax.
support



Joined: 27/06/2008 19:01:18
Messages: 123
Offline

Try running the same sql a few time with subtreescope and skip all errors
for e.g. DELETE FROM o=stooges subtreescope

It will delete the child records in each run and will eventually delete the container

(Please always make sure that you are deleting the correct entries)
 
Forum Index » General Discussion
Go to:   
[Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
Powered by JForum 2.1.9 © JForum Team