[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: special characters



The ldif file produced by the 2.0.6 is not compatible with the slapadd
V2.0.11.
see the error

str2entry: invalid value for syntax 1.3.6.1.4.1.1466.115.121.1.15
slapadd: could not parse entry (line=541)
=> ldbm_cache_open( "/ef/Dev/newdev/Aix/ldap/ldap-ldbm/nextid.dbb", 73,
600 )
<= ldbm_cache_open (cache 1)
slapadd shutdown: initiated

The entry that produce the problem :
dn::
Y249S29jaCBH/G50ZXIsIG91PUT8c3NlbGRvcmYsIG89V2lydHNjaGFmdHN2ZXJlaW5pZ3VuZ
   yBTdGFobCwgYnI9RXh0ZXJuYWwsIG89RXVyb2ZlciwgYz1iZQ==
objectClass: EurPerson
uid: 15534108-15881
cn:: S29jaCBH/G50ZXI=
sn: Koch
givenName:: R/xudGVy
.
.
.

and the slapcat :
SrvT450: root# /usr/local/sbin/slapcat -d1024 -l ./test.ldif -f
/usr/local/etc/openldap/slapd.conf
Could not open/create id2entry.dbb
slapcat: could not open database.
SrvT450: root#

Guy

-----Original Message-----
From: michael@junker.stroeder.com [mailto:michael@junker.stroeder.com]On
Behalf Of Michael Stroder
Sent: Thursday, July 05, 2001 12:25 PM
To: De Leeuw Guy
Cc: openldap-software@OpenLDAP.org
Subject: Re: special characters


De Leeuw Guy wrote:
>
> Thanks, but how can I migrate my database from : Linux OpenLdap 2.0.6 to :
> Aix OpenLdap 2.0.11 ?

http://www.openldap.org/faq/data/cache/286.html

Use slapadd to upload the LDIF on the new system.

Ciao, Michael.