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

Re: upgrading source base from 2.2.19 to 2.3.11

--On Monday, October 24, 2005 10:35 AM -0700 Forest Hill <forest@apple.com> wrote:

I'm in the process of upgrading our source base form 2.2.19 to 2.3.11 and
I've hit a bit of a snag here. I slapcat'ed my 2.2.19 database to a an
ldif file, destroyed the database files, switched over to the 2.3.11
executables and am now attempting to slapadd the ldif back in. I'm
getting the following error for my domain object:

No objectClass for entry (dc=Forest-Dev,dc=local)
slapadd: dn="dc=Forest-Dev,dc=local" (line 11): (65) no objectClass

which makes no send because as you can see, the 3rd line of the entry is
the objectClass:

dn: dc=Forest-Dev,dc=local
dc: Forest-Dev
objectClass: domain
structuralObjectClass: domain
entryUUID: 69190920-d6a9-1029-8aa4-a8fef5d1092a
creatorsName: uid=root,cn=users,dc=Forest-Dev,dc=local
createTimestamp: 20051021180822Z
entryCSN: 20051021180822Z#000001#00#000000
modifiersName: uid=root,cn=users,dc=Forest-Dev,dc=local
modifyTimestamp: 20051021180822Z

Anyone run into a similar problem during their own upgrade? My changes to
the source base have been pretty minimal aside from a few schema
extensions, and I've made sure that domain is defined in the schema.

Are you loading the cosine.schema? That is where the domain objectClass is defined.

BTW, one would usually use the "dcObject" objectClass here rather than "domain".


-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html