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

Re: Copying Database



On Tue, 13 Feb 2001 05:27:56 Wilson KH Sheh wrote:
>I have just installed the openldap 2.0.7 on Red Hat 7. The directory
>/usr/local/var/openldap-ldbm is empty initially. When I try to copy the
>/usr/local/var/openldap-ldbm/*dbb files of another machine to the directory, and
>start up the slapd in the new installation , I find that I cannot retrieve any
>entry from the new installation. Do I have to do anything else, besides just
>copying the files to the directory. For example, do I need to manually create at
>least the Manager entry in the new installation? 

You'll need to copy the various config files under /etc/openldap to the new machine.

>Moreover, is there any tools to
>import/export the ldap entries?

man ldbmcat
man ldif2ldbm

-- 
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>