OpenLDAP Software is distributed with a set of schema specifications for your use. Each set is defined in a file suitable for inclusion (using the include directive) in your slapd.conf(5) file. These schema files are normally installed in the /usr/local/etc/openldap/schema directory.
Table 8.1: Provided Schema Specifications
File
|
Description
|
core.schema
|
OpenLDAP core (required)
|
cosine.schema
|
Cosine and Internet X.500 (useful)
|
inetorgperson.schema
|
InetOrgPerson (useful)
|
misc.schema
|
Assorted (experimental)
|
nis.schema
|
Network Information Services (FYI)
|
openldap.schema
|
OpenLDAP Project (experimental)
|
To use any of these schema files, you only need to include the desired file in the global definitions portion of your slapd.conf(5) file. For example:
# include schema
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
Additional files may be available. Please consult the OpenLDAP FAQ (https://www.openldap.org/faq/).
Note: You should not modify any of the schema items defined in provided files.