Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-08-2005, 04:50 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 22

Rep: Reputation: 15
Move LDAP data from Fedora to SUSE


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

Old 11-08-2005, 08:14 AM   #2
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
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
Old 11-08-2005, 09:03 AM   #3
LQ Newbie
Registered: Apr 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for that Ashamril,

it worked a treat!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Corruption on file move? mijohnst Linux - Networking 1 12-22-2004 11:44 AM
The Move from XP to Linux - How can I deal with my Data? philF Linux - General 4 11-08-2004 01:05 PM
how to move data in partitioning provkitir Linux - Software 1 11-07-2004 06:21 PM
Data storage of LDAP? grubjo Linux - General 1 09-03-2004 10:03 PM
If using RH9 now, can I move to Fedora without losing data? jdruin Fedora 4 02-19-2004 07:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration