LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Move LDAP data from Fedora to SUSE (https://www.linuxquestions.org/questions/linux-newbie-8/move-ldap-data-from-fedora-to-suse-381035/)

dweeb 11-08-2005 04:50 AM

Move LDAP data from Fedora to SUSE
 
Hi,

We are currently running a Fedora core 2 server with openldap which we use for our email addresses.

I have now built a new server with Suse pro 9.3 on it.

My question is this; is there an easy way to export the data from fedora and then import it into suse?

Thanks in advance

Dweeb.

ashamril 11-08-2005 08:14 AM

To make a text backup of your SLAPD database and put it in a file called ldif, give the command:

# /usr/sbin/slapcat -l ldif

To import a entries specified in file ldif into your slapd(8) database give the command:

# /usr/sbin/slapadd -l ldif

dweeb 11-08-2005 09:03 AM

Thanks for that Ashamril,

it worked a treat!

Dweeb.


All times are GMT -5. The time now is 12:54 AM.