Skip to content
Snippets Groups Projects
Commit bd0fa7c5 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

document the -t switch

parent ef4fe3fc
No related branches found
No related tags found
No related merge requests found
......@@ -6,12 +6,12 @@
slapd \- Stand-alone LDAP Daemon
.SH SYNOPSIS
.B LIBEXECDIR/slapd
.B [\-d debug\-level]
.B [\-f slapd\-config\-file]
.B [\-h URLs]
.B [\-d debug\-level]
.B [\-n service\-name] [\-s syslog\-level] [\-l syslog\-local\-user]
.B [\-r directory]
.B [\-u user] [\-g group]
.B [\-u user] [\-g group] [\-t]
.B
.SH DESCRIPTION
.LP
......@@ -144,6 +144,12 @@ will run with the specified group name or id.
Note that on some systems, running as a non-privileged user will prevent
passwd back-ends from accessing the encrypted passwords. Note also that
any shell back-ends will run as the specified non-privileged user.
.TP
.BI \-t
.B slapd
will read the configuration file (the default if none is given with the
\fI\-f\fP switch) and check its syntax, without opening any listener
or database.
.SH EXAMPLES
To start
.I slapd
......@@ -167,6 +173,14 @@ on voluminous debugging which will be printed on standard error, type:
.ft
.fi
.LP
To test whether the configuration file is correct or not, type:
.LP
.nf
.ft tt
LIBEXECDIR/slapd -t
.ft
.fi
.LP
.SH "SEE ALSO"
.BR ldap (3),
.BR slapd.conf (5),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment