How can I recreate the DIT using the output from slapcat ?
I want to change the suffix when I do this. First, I ran slapcat:
slapcat -v -l slapcat_backup.ldif
Or just point me to the appropriate documentation.
Tim
--On Tuesday, February 09, 2016 10:01 PM +0100 Michael Ströder michael@stroeder.com wrote:
Timothy Keith wrote:
How can I recreate the DIT using the output from slapcat ?
With slapadd after deleting the DB files...
Note he said he wanted to change the suffix.
Timothy: You can do this with the Perl net-ldap package, using the LDIF module to read in your file and output what you want.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration A division of Synacor, Inc
openldap-technical@openldap.org