Hello List,
I must transfer my Ldap Dirtetory to a new Server with an oher Main Domanin.
At first I save LDAP at my Old-server with
slapcat -l originaldata.ldif
then I´ve copy the *.ldif to my new server
next I edit the *.ldif an change all entres "OldDomain" to "NewDomain".
alt last I want to restore the *.ldif with
slapadd -l newdata.ldif
now I get foe following Errorcode:
Testserver:/dasi # slapadd -l newdatea.ldif bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2) Expect poor performance for suffix dc=NewDomain,dc=de.
the line 245 is an emty line ??
Thank you for your help Manfred
--On Tuesday, September 29, 2009 8:55 AM +0200 Manfred werner Manfred.Werner@Autohaus-Weinheim.de wrote:
Testserver:/dasi # slapadd -l newdatea.ldif bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2) Expect poor performance for suffix dc=NewDomain,dc=de. <= str2entry: str2ad(accountStatus): attribute type undefined slapadd: could not parse entry (line=245)
the line 245 is an emty line ??
The line quoted indicates that the entry before it has the problem. It sounds like you are missing the schema on the new server that defines the attribute "accountStatus".
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org