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

Re: No such object (32) ..., again



> [root@ehy01 tmp]# /usr/local/bin/ldapadd -x -w secret -D
> "cn=root,dc=mydomain.com" -v < ldap-roots ldap_initialize( <DEFAULT> )
> add objectclass:
> 	dcObject
> add dc:
> 	mydomain.com
> adding new entry "dc=mydomain.com"
> ldapadd: update failed: dc=mydomain.com
> ldap_add: Object class violation (65)
> 	additional info: no structural object classes provided

READ THE MESSAGE: "no structural object classes provided"
dcObject is not STRUCTURAL, so you need to add EXACTLY ONE
structural objectclass, e.g.:

dn: dc=mydomain, dc=com
objectClass: dcObject
objectClass: organization
dc: mydomain
o: My Organization

check in cre.schema the objectClass "organization"
for more details.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it