[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Deleting all Data
- To: <openldap-software@OpenLDAP.org>
- Subject: RE: Deleting all Data
- From: "Sadik Kumlali" <Sadik.Kumlali@telenity.com>
- Date: Fri, 15 Oct 2004 11:10:26 +0300
- Content-class: urn:content-classes:message
- Thread-index: AcSyifTJZHo+K6rETUSHwzyHZL0cjAAAAF2g
- Thread-topic: Deleting all Data
/etc/init.d/ldap stop
# /var/lib/ldap/example.com: 'directory' definition in 'slapd.conf'
# that gives the path of folder in which database files reside
rm -rf /var/lib/ldap/example.com
/etc/init.d/ldap start
That's all!
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Quanah
Gibson-Mount
Sent: Friday, October 15, 2004 10:32 AM
To: Edward de Jongh; openldap-software@OpenLDAP.org
Subject: Re: Deleting all Data
--On Friday, October 15, 2004 9:17 AM +0200 Edward de Jongh
<Edwardd@discovery.co.za> wrote:
> Hi guys I am currently testing a system of mine and part of this
testing
> involves populating an LDAP implementation. What I need to know is,
can
> one delete all BDB entries at once via the slap commands.
>
> I know we can delete singular entries, but not sure about all entries
at
> once.
Why not just erase the database? It would be faster.
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html