Chapter 11. LDAP Server Configuration

OpenLDAP Server Configuration

The main OpenLDAP configuration file, slapd.conf, has to be customized before launching the server. The modifications to the configuration file will do the following:

ŠSpecify the Unicode data directory. The default is ./ucdata.

ŠChoose the required LDAP schemas. The core schema is mandatory.

ŠConfigure the path for the OpenLDAP pid and args start up files. The first contains the server pid, the second includes command line arguments.

ŠChoose the database type. The default is bdb (Berkeley DB).

ŠSpecify the server suffix. All entries in the directory will have this suffix, which represents the root of the directory tree. For example, with suffix dc=aten,dc=com, the fully qualified name of all entries in the database will end with dc=aten,dc=com.

ŠDefine the name of the administrator entry for the server (rootdn), along with its password (rootpw). This is the server's super user. The rootdn name must match the suffix defined above. (Since all entry names must end with the defined suffix, and the rootdn is an entry.)

An example configuration file is provided in the figure, below:

133