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

Re: OL 2.1.2 - "no structuralObjectClass operational attribute"



At 04:22 AM 2002-07-05, Miroslav Zubcic wrote:
>"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> writes:
>
>> You might try OPENLDAP_REL_ENG_2, it includes a error reporting
>> bug fix.  2.1.2 catches the more schema errors than 2.0 but
>> slapadd(8) provides the wrong error text.  IRRC, ldapadd(1)
>> reports the correct error text.
>
>OK I tried ldapadd(1) as you recomanded.
>
>/usr/local/test/bin/ldapadd -x -W -D "cn=ldapadm,dc=crol,dc=net" < blah
>Enter LDAP Password: 
>adding new entry "cn=layers,ou=Rpc,dc=crol,dc=net"
>ldapadd: update failed: cn=layers,ou=Rpc,dc=crol,dc=net
>ldap_add: Object class violation (65)
>        additional info: no structuralObjectClass operational attribute

This is a bug in 'schemacheck off'.  IIRC, this is fixed
in OPENLDAP_REL_ENG_2.

Kurt