1 .TH SLAPD 8C "19 September 1999" "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]
13 .B [\-u user] [\-g group]
18 is the stand-alone LDAP daemon. It listens for LDAP connections on
19 any number of ports (default 389), responding
20 to the LDAP operations it receives over these connections.
22 is typically invoked at boot time, usually out of
26 normally forks and disassociates itself from the invoking tty.
28 .BR ETCDIR/slapd.conf ,
31 process will print its process ID ( see
35 file, as well as the command line options during invocation to an
42 flag is given, even with a zero argument,
44 will not fork and disassociate from the invoking tty.
47 can be configured to provide replicated service for a database with
50 the standalone LDAP update replication daemon.
55 See "The SLAPD and SLURPD Administrator's Guide" for more details on
59 .BI \-d " debug\-level"
60 Turn on debugging as defined by
62 If this option is specified, even with a zero argument,
64 will not fork or disassociate from the invoking terminal. Some general
65 operation and status messages are printed for any value of \fIdebug\-level\fP.
66 \fIdebug\-level\fP is taken as a bit string, with each bit corresponding to a
67 different kind of debugging information. See <ldap.h> for details.
69 .BI \-s " syslog\-level"
72 at what level debugging statements should be logged to the
76 .BI \-n " service\-name"
77 Specifies the service name for logging and other purposes. Defaults
78 to basename of argv[0], i.e.: "slapd".
80 .BI \-l " syslog\-local\-user"
81 Selects the local user of the
83 facility. Values can be
90 However, this option is only permitted on systems that support
95 .BI \-f " slapd\-config\-file"
96 Specifies the slapd configuration file. The default is
97 .BR ETCDIR/slapd.conf .
103 (LDAP over TCP on all interfaces on default LDAP port). As such,
104 it will bind to INADDR_ANY, port 389.
107 option may be used to specify LDAP (and LDAPS) URLs to serve.
108 For example, if slapd is given
109 .B \-h " ldap://127.0.0.1:9009/ ldaps:///",
110 It will bind 127.0.0.1:9009 for LDAP and INADDR_ANY:636 for LDAP over TLS.
111 A space separated list of URLs is expected. The URLS should be of
112 LDAP (ldap://) or, if supported, LDAP over TLS (ldaps://) type without
113 a DN or other optional parameters. Hosts may be specified in either
114 Internet '.' format (preferred) or by name. Ports, if specfied,
119 will run slapd with the specified user name or id, and that user's
120 supplementary group access list as set with initgroups(3). The group ID
121 is also changed to this user's gid, unless the -g option is used to
126 will run with the specified group name or id.
128 Note that on some systems, running as a non-privileged user will prevent
129 passwd back-ends from accessing the encrypted passwords. Note also that
130 any shell back-ends will run as the specified non-privileged user.
134 and have it fork and detach from the terminal and start serving
135 the LDAP databases defined in the default config file, just type:
145 with an alternate configuration file, and turn
146 on voluminous debugging which will be printed on standard error, type:
150 LIBEXECDIR/slapd -f ETCDIR/slapd.conf -d 255
159 "The SLAPD and SLURPD Administrator's Guide"
161 See http://www.openldap.org/its/
164 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
166 is derived from University of Michigan LDAP 3.3 Release.