ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Demystifying LDAP
Subject:   objectClass inheritance order
Date:   2007-02-01 08:20:33
From:   fredcwbr
I'm getting through a lot of trouble in understanding the whole AUXILIARY/STRUCTURAL inheritance definition on a ldif, and the syntax that is needed for the correct definition.
Ex.


snip ---->>
objectclass ( 1.3.6.1.4.1.15490.2.1 NAME 'objCollege'
SUP top STRUCTURAL
DESC 'object class'
MUST (collegeName $ collegePrincipal $ collegePresident $ collegeSecretary )
MAY (collegeBoardMember ) )


dn: o=college
o: college
objectclass: organization
objectclass: objCollege
objectclass: top
Description: top object class
collegeName: ABC Engineering college
... and the rest follows?


---->><<<
wouldn't it be the same as



dn: o=college
objectclass: top
objectclass: organization
objectclass: objCollege
o: college
Description: top object class
... >> and the rest follows .???