Re: Object Class Violation

Adam Tauno Williams <[email protected]> Wed, 20 Jul 2005 20:52:03 -0400
Newsgroups gmane.network.directoryadmin
Organization BOTWM
Message-ID <1121907124.14730.6.camel@localhost>
> On two different systems, FC4 and SuSE 9, I get this error. I've
> traced it in the logfiles to the following ldap error:
> invalid structural object class chain (inetOrgPerson/account)
> This appears to be a bug in the software, since there is indeed no
> attribute "account" in inetorgperson schema. Is there a fix?

"account" is an objectclass, as in inetOrgPerson.  Both are structural
and not of the same inheritance chain, so their coexistence is illegal
unless sealed by an objectclass that subsequently descends from both of
them.

objectclass ( 1.3.6.1.4.1.6921.1.12
    NAME 'mHybridPerson'
      DESC 'Combine several objectclasses to support multiple MUAs'
    SUP ( inetOrgPerson $ officePerson $ evolutionPerson )
STRUCTURAL )

objectclass ( 1.3.6.1.4.1.6921.1.24
    NAME 'mHybridUserAccount'
      DESC 'Combine mHybridPerson and account'
    SUP ( mHybridPerson $ account )
    STRUCTURAL )
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBC3vGzLRePpNle04MRAhGqAJ93YbimAGWF9nBkuu2W82wQ8dtdLQCfVKlg
XvLYeyta8AP1HBUd0p+COeY=
=6CsE
-----END PGP SIGNATURE-----