1 .TH SLAPD 8C "20 August 2000" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapd \- Stand-alone LDAP Daemon
9 .B [\-f slapd\-config\-file]
12 .B [\-n service\-name] [\-s syslog\-level] [\-l syslog\-local\-user]
14 .B [\-u user] [\-g group]
19 is the stand-alone LDAP daemon. It listens for LDAP connections on
20 any number of ports (default 389), responding
21 to the LDAP operations it receives over these connections.
23 is typically invoked at boot time, usually out of
27 normally forks and disassociates itself from the invoking tty.
29 .BR ETCDIR/slapd.conf ,
32 process will print its process ID ( see
36 file, as well as the command line options during invocation to an
43 flag is given, even with a zero argument,
45 will not fork and disassociate from the invoking tty.
48 can be configured to provide replicated service for a database with
51 the standalone LDAP update replication daemon.
56 See the "OpenLDAP Administrator's Guide" for more details on
60 .BI \-d " debug\-level"
61 Turn on debugging as defined by
63 If this option is specified, even with a zero argument,
65 will not fork or disassociate from the invoking terminal. Some general
66 operation and status messages are printed for any value of \fIdebug\-level\fP.
67 \fIdebug\-level\fP is taken as a bit string, with each bit corresponding to a
68 different kind of debugging information. See <ldap.h> for details.
70 .BI \-s " syslog\-level"
73 at what level debugging statements should be logged to the
77 .BI \-n " service\-name"
78 Specifies the service name for logging and other purposes. Defaults
79 to basename of argv[0], i.e.: "slapd".
81 .BI \-l " syslog\-local\-user"
82 Selects the local user of the
84 facility. Values can be
91 However, this option is only permitted on systems that support
96 .BI \-f " slapd\-config\-file"
97 Specifies the slapd configuration file. The default is
98 .BR ETCDIR/slapd.conf .
104 (LDAP over TCP on all interfaces on default LDAP port). That is,
105 it will bind to using INADDR_ANY and port 389.
108 option may be used to specify LDAP (and LDAPS) URLs to serve.
109 For example, if slapd is given
110 .B \-h " ldap://127.0.0.1:9009/ ldaps:/// ldapi:///",
111 It will bind 127.0.0.1:9009 for LDAP, INADDR_ANY:636 for LDAP over TLS,
112 and LDAP over IPC (Unix domain sockets).
113 A space separated list of URLs is expected. The URLS should be of
114 LDAP (ldap://) or LDAP over TLS (ldaps://) or LDAP over IPC (ldapi://)
115 scheme without a DN or other optional parameters. Support for the
116 latter two schemes depends on selected configuration options. Hosts
117 may be specified by name or IPv4 and IPv6 address formats.
118 Ports, if specfied, must be numeric. The default ldap:// port is 389
119 and the default ldaps:// port is 636.
122 Specifies a run-time directory. slapd will
124 to this directory after opening listeners but before any reading
125 any configuration file or initializing any backend.
129 will run slapd with the specified user name or id, and that user's
130 supplementary group access list as set with initgroups(3). The group ID
131 is also changed to this user's gid, unless the -g option is used to
136 will run with the specified group name or id.
138 Note that on some systems, running as a non-privileged user will prevent
139 passwd back-ends from accessing the encrypted passwords. Note also that
140 any shell back-ends will run as the specified non-privileged user.
144 and have it fork and detach from the terminal and start serving
145 the LDAP databases defined in the default config file, just type:
155 with an alternate configuration file, and turn
156 on voluminous debugging which will be printed on standard error, type:
160 LIBEXECDIR/slapd -f ETCDIR/slapd.conf -d 255
169 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
171 See http://www.openldap.org/its/
174 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
176 is derived from University of Michigan LDAP 3.3 Release.