I'm defining a custom schema for OpenLDAP. If I understand correctly, the SUP
field in objectclass
definitions may be used to indicate which attributes are inherited from the parent class. However, it does not force an entry of the child object class to be the actual child of an entry of the parent class in the entry tree. So how do I tell OpenLDAP that entries of a certain object class must be the children of entries of another given object class?
(As far as I understand it, there are two hierarchies at play: the attribute hierarchy and the object class hierarchy, and the LDAP tutorials I've found gloss over the distinction.)
SUP
indicates the superclasses of the object class I am defining, do you mean in the attribute hierarchy or in the object class hierarchy? The former simply indicates that the child class inherits every attribute from the parent, whereas the latter indicates that an entry of the child object class must be the child of an entry of one of the parent classes. I'm assuming the former, but I'm wondering how to express the latter. Are you saying it's simply not possible? – Jon Smark