[Date Prev][Date Next]
Re: dumping the directory
If you use `slapcat' to dump the directory, you can rebuild it using
On Wed, 10 Jul 2002, Aaron Anderson wrote:
> SIZELIMIT in ldap.conf is commented out, so that's not the issue. Now the
> problem is that when I do the directory dump, it's not hierarchal, therefore
> I can't use it to rebuild the directory if it's required without
> manipulating the file. Is there a way to sort the output so that I could
> use ldapadd -f dump.ldif to rebuild a directory?
> ----- Original Message -----
> From: "David Wright" <firstname.lastname@example.org>
> To: "Aaron Anderson" <email@example.com>
> Cc: <openldap-software@OpenLDAP.org>
> Sent: Wednesday, July 10, 2002 7:50 PM
> Subject: Re: dumping the directory
> > > I would like to dump the entire contents of my directory to a LDIF file.
> > slapcat -v > output.ldif
> > Be sure slapd isn't running when you do this. ldapsearch probably
> > doesn't return everything because you have set a SIZELIMIT in ldap.conf.