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

objectclass inheritance problems



Hello all,

I'm having problems implementing objectclass inheritance with Openldap
2.0.18, but the same stuff works with iPlanet Directory server!!! Basically
I defines some objectclasses as follows

objectclass ( 2.16.840.1.113719.1.186.6.3 NAME 'realm'
        DESC 'A realm in the contract hierarchy'
        SUP inetOrgPerson STRUCTURAL
        MUST cbidRealm
        MAY  cbidAuthScheme )

objectclass ( 2.16.840.1.113719.1.186.6.4 NAME 'subject'
        DESC 'A subject in the contract hierarchy'
        SUP realm STRUCTURAL
        MUST cbidSubject
        MAY  ( cbidSubjectType $  cbidSubjectContainsPrincipals $
               cbidIsRevokedPrivilege ) )

Then I try to use these objectclasses as follows:

dn: cbidRealm=myRealm, dc=collectivebid, dc=com
cn: myRealm
sn: myRealm
cbidRealm: myRealm
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: realm

This works as expected. However, when I try the following, I get an invalid
syntax error;

dn: cbidSubject=myTestSubject, cbidRealm=myRealm, dc=collectivebid, dc=com
cn: myTestSubject
sn: myTestSubject
cbidRealm: myRealm
cbidSubject: myTestSubject
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: realm
objectclass: subject

I've carefully ensured that I have all the required attributes and followed
the objectclass hierarchy correctly, so this is quite puzzling!! As I said,
this works on iPlanet Directory Server, but I cannot get it to work on
OpenLdAp???


Any help would be great.

Thanks,

Jack