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

Schema Extension Question



Greets,

Well, it appears I have to use the OID instead of the name, as the example eludes to.  The following schema works:

attributetype ( 1.3.6.1.4.1.11092.2.1.1 NAME 'myUniqueName'
                DESC 'unique name with my organization'
                EQUALITY caseIgnoreMatch
                SUBSTR caseIgnoreSubstringsMatch
                SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
                SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.11092.2.1.2 NAME 'myPhoto'
                DESC 'a photo (application defined format)'
                SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
                SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.11092.2.2.1 NAME 'myPhotoObject'
                DESC 'mixin myPhoto'
                AUXILIARY
                MAY myPhoto )

objectclass   ( 1.3.6.1.4.1.11092.2.2.2 NAME 'myPerson'
                DESC 'my person'
                SUP inetOrgPerson
                MUST ( 1.3.6.1.4.1.11092.2.1.1 $ 2.5.4.42 )
                MAY 1.3.6.1.4.1.11092.2.1.2 )

myPerson has a MUST on 'myUniqueName' and 'givenName', but it refers to the OIDs instead of the NAMEs.

Is there any way I can use the NAME instead of the OID?  It makes the classes hard to read otherwise.

Thanks,
Jason

Jason Mowat - Systems Analyst
St. Boniface General Hospital
jmowat@sbgh.mb.ca
v. 204.235.3676
f. 204.237.6229