h3.Definition: DIT Content Rule
A DIT content rule is a [schema|Definition -- Schema] element that specifies which [auxiliary object classes|Definition -- Auxiliary Object Class] are allowed to be used with an entry, as well as which [attribute types|Definition -- Attribute Type] are required, allowed, and prohibited for use with an entry, based on its [structural object class|Definition -- Structural Object Class].
The components of a DIT content rule definition include:
* The numeric [OID|Definition -- Object Identifier] of the structural object class with which the DIT content rule is associated.
* An optional set of names for the DIT content rule.
* An optional set of auxiliary object class names or OIDs for the auxiliary classes that are allowed to be used with entries containing the associated structural class.
* An optional set of attribute type names or OIDs for attribute types that are required to be present in entries with the associated structural class. These attributes will be required even if they are not allowed by any of the object classes in the entry.
* An optional set of attribute type names or OIDs for attribute types that may optionally be present in entries with the associated structural class. These attributes will be allowed even if they are not allowed by any of the object classes in the entry.
* An optional set of attribute type names or OIDs for attribute types that are prohibited to be present in entries with the associated structural class. These attributes will be prohibited even if they are allowed by any of the object classes in the entry.
The set of DIT content rules defined in the server may be determined by retrieving the {{dITContentRules}} attribute of the [subschema subentry|Definition -- Subschema Subentry]. For more information about DIT content rules, see the [Understanding DIT Content Rules] document.
A DIT content rule is a [schema|Definition -- Schema] element that specifies which [auxiliary object classes|Definition -- Auxiliary Object Class] are allowed to be used with an entry, as well as which [attribute types|Definition -- Attribute Type] are required, allowed, and prohibited for use with an entry, based on its [structural object class|Definition -- Structural Object Class].
The components of a DIT content rule definition include:
* The numeric [OID|Definition -- Object Identifier] of the structural object class with which the DIT content rule is associated.
* An optional set of names for the DIT content rule.
* An optional set of auxiliary object class names or OIDs for the auxiliary classes that are allowed to be used with entries containing the associated structural class.
* An optional set of attribute type names or OIDs for attribute types that are required to be present in entries with the associated structural class. These attributes will be required even if they are not allowed by any of the object classes in the entry.
* An optional set of attribute type names or OIDs for attribute types that may optionally be present in entries with the associated structural class. These attributes will be allowed even if they are not allowed by any of the object classes in the entry.
* An optional set of attribute type names or OIDs for attribute types that are prohibited to be present in entries with the associated structural class. These attributes will be prohibited even if they are allowed by any of the object classes in the entry.
The set of DIT content rules defined in the server may be determined by retrieving the {{dITContentRules}} attribute of the [subschema subentry|Definition -- Subschema Subentry]. For more information about DIT content rules, see the [Understanding DIT Content Rules] document.