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

Re: deleting all entries



On Tue, 2004-01-06 at 10:47, François Beretti wrote:
> Manuel Mely a écrit :
> 
> > How can i delete all entries of my database using ldapdelete??????
> 
> _hello_
> 
> you can't !!!!!!
> 
> (use a high level tool like gq)
---
Red Hat Linux AS 3 - I'm highly skilled at deleting & starting over...

service ldap stop
rm -fr /var/lib/ldap/*

slapadd -f base.ldif
slapadd -f passwd.ldif
slapadd -f group.ldif
slapadd -f hosts.ldif
etc...

service ldap start

Craig