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

Deleting Everything in LDAP



I have a tree that I want to rebuild from scratch.

I have the LDIF that represents all of my ldap data.
Now I am trying to figure out the most elegant way to wipe my tree clean
I tried using this:
ldapdelete -x -h localhost -D"cn=manager,o=mysite,c=US" -W objectclass=*

But it doesnt take in a filter for the last clause,
its looking for a DN.

any ideas?