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

Re: Unable do slapadd a LDIF dump from slapd 2.2.6 to slapd 2.4.9



Markus Wernig <listener@wernig.net> writes:

> Hello all!
>
> In the process of upgrading slapd from 2.2.6 to 2.4.9 (ubuntu 6.06 to
> 8.04), I get the following error when trying to import the LDIF dump
> from the old server:
>
> # slapadd -b "o=Company Name,c=CH" -l dump.from.2.2.6.ldif
> slapadd: dn="o=Company Name,c=CH" (line=1): (65) no structural object
> class provided
> (same result if I skip the -b "o=Company Name,c=CH")

> The first entry in the LDIF dump is:
> dn: o=Company Name,c=CH
> objectClass: top
> entryUUID: ...
> creatorsName: cn=root,o=Company Name,c=CH
> modifiersName: cn=root,o=Company Name,c=CH
> createTimestamp: 20071214103903Z
> modifyTimestamp: 20071214103903Z
> entryCSN: 20071214103903Z#000001#00#000000

The object class organization is missing, and in addition, the
organization attribute. The entry should read

dn: o=Company Name,c=CH
o: Company Name
objectClass: organization
<additional operational attributes>

-Dieter
-- 
Dieter KlÃnter | Systemberatung
http://www.dpunkt.de/buecher/2104.html
sip: +49.180.1555.7770535
GPG Key ID:8EF7B6C6
53Â08'09,95"N
10Â08'02,42"E