36.3 Server Configuration with
slapd.conf
Your installed system contains a complete configuration file for your LDAP server at
/etc/openldap/slapd.conf. The single entries are briefly described here and
necessary adjustments are explained. Entries prefixed with a hash (#) are inactive. This
comment character must be removed to activate them.
36.3.1 Global Directives in slapd.conf
Example 36.2 slapd.conf: Include Directive for Schemes
include
/etc/openldap/schema/core.schema
include
/etc/openldap/schema/cosine.schema
include
/etc/openldap/schema/inetorgperson.schema
include
/etc/openldap/schema/rfc2307bis.schema
include
/etc/openldap/schema/yast.schema
This first directive in slapd.conf, shown in Example 36.2, "slapd.conf: Include
Directive for Schemes" (page 673), specifies the scheme by which the LDAP directory
is organized. The entry core.schema is required. Additionally required schemes are
appended to this directive. Find information in the included OpenLDAP documentation.
Example 36.3 slapd.conf: pidfile and argsfile
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
These two files contain the PID (process ID) and some of the arguments with which
the slapd process is started. There is no need for modifications here.
LDAP—A Directory Service
673