[Date Prev][Date Next]
RE: Deleting all directories
It does not except 'r' as an option. I am running Openldap 1.2.7.
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Jason Holland
Sent: Monday, November 06, 2000 4:34 PM
To: firstname.lastname@example.org; openldap-software@OpenLDAP.org
Subject: RE: Deleting all directories
I believe you want this
ldapdelete -D "your administrative dn" -r "top dn to delete"
the -r does a recursive delete from the dn on down.
> Does anyone know of a simple way to delete all entries for a given DN. I
> have tried using a wildcard with ldapdelete, but it didn't seem
> to work. My
> application is that I need to re-build my ldap every evening using an ldif
> file created automatically from a master database. Currently I just delete
> the ldap database files, restart the daemon, and import the ldif
> file. I was
> looking for a more eloquent solution.