slapd.conf(4ldap)


slapd.conf -- configuration file for slapd, the stand-alone LDAP daemon

Synopsis

/etc/slapd.conf 

Description

The file /etc/slapd.conf contains configuration information for the slapd(1Mldap) daemon. This configuration file is also used by the slurpd(1Mldap) replication daemon and by the LDBM indexing utilities ldif2ldbm(1Mldap), ldif2index(1Mldap), ldif2id2entry(1Mldap), and ldif2id2children(1Mldap).

The slapd.conf file consists of a series of global configuration options that apply to slapd as a whole (including all backends), followed by zero or more database backend definitions that contain information specific to a backend instance.

The general format of slapd.conf is as follows:

   # comment - these options apply to every database 
   global configuration options 
   # first database definition & configuration options 
   database      backend 1 type 
   configuration options specific to backend 1 
   # subsequent database definitions & configuration options 
   ... 
As many backend-specific sections as desired may be included. Global options can be overridden in a backend (for options that appear more than once, the last appearance in the slapd.conf file is used). Blank lines and comment lines beginning with a ``#'' character are ignored. If a line begins with white space, it is considered a continuation of the previous line.

Arguments on configuration lines are separated by white space. If an argument contains white space, the argument should be enclosed in double quotes ("). If an argument contains a double quote or a backslash (\), the character should be preceded by a backslash character.

The specific configuration options available are discussed below in the ``Global configuration options'', ``General backend options'', ``LDBM backend-specific options'', ``Shell backend-specific options'', and ``Password backend-specific options'' sections. Refer to The SLAPD and SLURPD Administrator's Guide for more details on the slapd configuration file.

Global configuration options

Options described in this section apply to all backends, unless specifically overridden in a backend definition.

General backend options

Options in this section only apply to the configuration file section for the backend in which they are defined. They are supported by every type of backend.

LDBM backend-specific options

Options in this category only apply to the LDBM backend database. That is, they must follow a ``database ldbm'' line and come before any subsequent database lines. The LDBM backend is a high-performance database that makes extensive use of indexing and caching to speed data access.

Shell backend-specific options

Options in this category only apply to the SHELL backend database. That is, they must follow a ``database shell'' line and come before any subsequent database lines. The shell backend executes external programs to implement operations, and is designed to make it easy to tie an existing database to the slapd front-end. These options specify the pathname of the command to execute in response to the given LDAP operation. The command given should understand and follow the input/output conventions described in Appendix B of The SLAPD and SLURPD Administrator's Guide.

Note that you need only supply configuration lines for those commands you want the backend to handle. Operations for which a command is not supplied will be refused with an ``unwilling to perform'' error.

Password backend-specific options

Options in this category only apply to the PASSWD backend database. That is, they must follow a ``database passwd'' line and come before any subsequent database lines. The PASSWD database serves up the user account information listed in the system passwd(4) file.

References

Intro(3ldap), passwd(4), slapd(1Mldap), slapd.replog(4ldap), slurpd(1Mldap)

The SLAPD and SLURPD Administrator's Guide


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.