Selecting the
Options
Schema object classes
menu option identifies the configuration file that defines the
directory objects schema. This information declares the relationships
between object classes and the mandatory and permitted attributes
The default file name is /etc/ldap/adm/daemonid/slapd.oc.conf, where daemonid corresponds to the name assigned to the daemon, as described in ``Adding a daemon to the system''; for example, /etc/ldap/adm/hickory/slapd.oc.conf for an LDAP daemon present on node hickory.
The following is a sample of the contents of an attributes schema configuration file. It shows that an entry of type ``person'' must have a surname (sn) and a common name (cn), and may additionally have a nickname, a telephone number and membership of an organizational unit (ou). Note also the object creation and modification attributes described in ``Saving database modifications''.
objectclass person
requires
objectClass,
sn,
cn
allows
description,
seeAlso,
telephoneNumber,
userPassword,
mail,
l,
ou,
nickname,
creatorsname,
createtimestamp,
modifytimestamp,
modifiersname