What is LDAP schema: Similar types of object-classes and attributes are grouped together in a packaging unit, known as LDAP schema. In LDAP directories, schemas are added using the include statements in the slapd.conf (configuration file). An LDAP schema must contain at least one object class. An attribute added to one schema can also be used by an object class of another schema. A schema that represents individual people within organizations is known as a white pages schema.
What does LDAP schema store: The contents of the entries in a sub-tree are governed by a schema. The schema of a Directory Server defines a set of rules that govern the kinds of information that the server can hold. Directory schema is comprised of a number of different elements, including:
- Attribute Syntaxes: Provide information about the kind of information that can be stored in an attribute.
- Matching Rules: Provide information about how to make comparisons against attribute values.
- Matching Rule Uses: Indicate which attribute types may be used in conjunction with a particular matching rule.
- Attribute Types: Define an OID and a set of names that may be used to refer to a given attribute, and associates that attribute with a syntax and set of matching rules.
- Object Classes: Define named collections of attributes and classify them into sets of required and optional attributes.
-
(more…)