Thanks Quanah for a quick reply.
The old LINUX 6.2 server running openldap 1.2 is not operational, but all the old files (/etc/openldap, /usr/share/openldap (database) are available on a new LINUX server running Red hat Enterprise Linux 4. How can I export openldap data from old files sitting on this new Linux server.? I believe the slapcat command is only recognizes openldap 2.x databases.
Is there any other way of exporting data from old openldap 1.2 version data files using a latest version of openldap tools.
Please advice.
Regards,
-Ravi ________________________________
Ravi Rajasekharuni - Web and Data Admin Unit 2, 12 Mars Road, Lane Cove, NSW 2066 Tel: +61 2 8987 5727 Fax: +61 2 8987 5720 Web: www.au.issworld.com
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: Tuesday, 23 October 2007 12:32 AM To: Ravi Rajasekharuni; openldap-software@openldap.org Subject: Re: Openldap upgrade/migration
--On Monday, October 22, 2007 8:33 AM +1000 Ravi Rajasekharuni ravi.rajasekharuni@au.issworld.com wrote:
Please respond.
The method for moving from one version of OpenLDAP to another (and this is pretty consistent with all directory servers) is to use LDIF. In openldap, you'd generate the LDIF file for export from your old server using the slapcat command. Since you no longer have a running server, I'm not quite sure how you expect to proceed on any of this. I wish you luck.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
--On Tuesday, October 23, 2007 2:06 PM +1000 Ravi Rajasekharuni ravi.rajasekharuni@au.issworld.com wrote:
Thanks Quanah for a quick reply.
The old LINUX 6.2 server running openldap 1.2 is not operational, but all the old files (/etc/openldap, /usr/share/openldap (database) are available on a new LINUX server running Red hat Enterprise Linux 4. How can I export openldap data from old files sitting on this new Linux server.? I believe the slapcat command is only recognizes openldap 2.x databases.
Is there any other way of exporting data from old openldap 1.2 version data files using a latest version of openldap tools.
Nope. You need to have 1.2 running to export it with the 1.2 tools. At least, that's my assumption, having never seen 1.2 running. :P
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
"Ravi Rajasekharuni" ravi.rajasekharuni@au.issworld.com writes:
Thanks Quanah for a quick reply.
The old LINUX 6.2 server running openldap 1.2 is not operational, but all the old files (/etc/openldap, /usr/share/openldap (database) are available on a new LINUX server running Red hat Enterprise Linux 4. How can I export openldap data from old files sitting on this new Linux server.? I believe the slapcat command is only recognizes openldap 2.x databases.
Is there any other way of exporting data from old openldap 1.2 version data files using a latest version of openldap tools.
You could try the tool ldbmcat which reads entries from id2entry.dbb.
-Dieter
openldap-software@openldap.org