From: Pierangelo Masarati Date: Mon, 15 Apr 2002 19:18:54 +0000 (+0000) Subject: document the -t switch X-Git-Tag: OPENLDAP_REL_ENG_2_MP~203 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bd0fa7c5798fec986ba7dfcf430e1b714ec75766;p=openldap document the -t switch --- diff --git a/doc/man/man8/slapd.8 b/doc/man/man8/slapd.8 index 949f866e68..4a92d7aad4 100644 --- a/doc/man/man8/slapd.8 +++ b/doc/man/man8/slapd.8 @@ -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),