Schema checking

When the server is initialized, the schema files are read and checked for consistency and correctness. If the checks fail, the server fails to initialize and issues an error message. During any dynamic schema change, the resulting schema is also checked for consistency and correctness. If the checks fail, an error is returned and the change fails. Some checks are part of the grammar (for example, an attribute type can have at most one supertype, or an object class can have any number of superclasses).

The following items are checked for attribute types:

The following items are checked for object classes:

Checking an entry against the schema

When an entry is added or modified through an LDAP operation, the entry is checked against the schema. By default, all checks listed in this section are performed. However you can selectively disable some of the schema checking by changing the schema checking level. This is done through iSeries Navigator by changing the value of the Schema checking field on the Database/Suffixes page of the Directory Server properties. See Directory Server configuration schema for information about schema configuration attributes.

To comply with the schema an entry is checked for the following conditions:

With respect to object classes:
The validity of the attribute types for an entry is determined as follows:
The validity of the attribute type values for an entry is determined as follows:
The validity of the DN is checked as follows: