slapd(1Mldap)
slapd --
stand-alone LDAP daemon
Synopsis
/usr/lib/ldap/slapd [-d debug-level]
[-f slapd-config-file] [-p port-number]
[-s syslog-level]
Description
slapd is the stand-alone LDAP daemon. It listens for
LDAP connections on port 389, responding to the LDAP
operations it receives over these connections.
On startup, it
normally forks and disassociates itself from the invoking tty. If the
-d option is given and debugging is set to some non-zero value,
slapd will not fork and disassociate from the invoking tty.
slapd can be configured to provide replicated service for a
database with the help of slurpd, the stand-alone LDAP
update replication daemon. See
slurpd(1Mldap)
for details.
slapd daemons can be started only if the daemons
are listed in the
ldaptab(4ldap)
file.
Daemons are started using
ldapstart(1Mldap),
and stopped using
ldapstop(1Mldap).
Details of their ownership can be checked using
ldapcheck(1Mldap).
To ensure that the daemon starts at boot time, put an entry in the
ldaptab file with the start at boot time option
set to ``on''.
ldapstart boot uses this information to start the
daemon at boot time.
Active slapd daemons can be displayed using ldapcheck.
See
Configuring and administering LDAP
for more details on slapd.
Options
- -d debug-level
-
Turn on debugging as defined by debug-level. If this option is
specified, slapd will not fork or disassociate from the invoking
terminal. Some general operation and status messages are printed for any
value of debug-level. debug-level is taken as a bit
string, with each bit corresponding to a different kind of debugging
information.
See ``Error levels'' on the
ldaptab(4ldap)
manual page.
- -s syslog-level
-
Tell slapd at what level debugging statements should
be logged to the /var/adm/log/osmlog file.
See ``Error levels'' on the
ldaptab(4ldap)
manual page.
- -f slapd-config-file
-
Specifies the slapd configuration file. The default is
/etc/slapd.conf.
- -p port-number
-
slapd will listen on the default LDAP port (389) unless
this option is given to override the default.
Examples
To start slapd and have it fork and detach from the terminal and
start serving the LDAP databases defined in the default configuration
file, type:
/usr/lib/ldap/slapd
To start slapd with an alternate configuration file, and turn
on voluminous debugging which will be printed on standard error, type:
/usr/lib/ldap/slapd -f /etc/slapd.conf -d 255
References
Intro(3ldap),
ldapcheck(1Mldap),
ldapstart(1Mldap),
ldapstop(1Mldap),
slapd.conf(4ldap),
slurpd(1Mldap)
Configuring and administering LDAP
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.