Schema management

If you want an instance to support custom object classes and attributes, you must add a schema file that defines the custom object classes and attributes.

You can use Configuration Tool or the command-line utilities, such as idscfgsch or idsucfgsch, to manage the schema files. The schema file must exist on the computer. For more information about the idscfgsch command or the idsucfgsch command, see Command Reference.

You must stop the directory server before you add or remove schema files.

When you add or remove schema files, the configuration file of the instance is updated. You can run the following schema management operations:

You cannot remove the following system-defined schema files:

You can also use Configuration Tool to specify the schema validation rule to check whether the entries meet the schema rules. The default schema validation rule is Version 3 (Lenient). The following schema validation rules are supported by a directory server:

Version 3 (Strict)
The server runs LDAP version 3 strict validation check against the entries. With this type of validation, all parent object classes must be present when you add entries.
Version 3 (Lenient)
The server runs LDAP version 3 lenient validation check against the entries. With this type of validation, all parent object classes do not require to be present when you add entries. LDAP version 3 lenient is the default schema validation rule.
Version 2
The server runs LDAP version 2 check against the entries.
None
The server does not run validation check.