]> git.sur5r.net Git - openldap/blobdiff - doc/man/man8/slapd.8
document new "A" format for ber_scanf(3)
[openldap] / doc / man / man8 / slapd.8
index 8b7a5bb77c267b4895cae141b024f258135d6c2e..df0a82a9eef545ce483ce7f081331e5b48f1d9a9 100644 (file)
@@ -1,5 +1,5 @@
 .\" $OpenLDAP$
-.\" Copyright 1998-2005 The OpenLDAP Foundation All Rights Reserved.
+.\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved.
 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
 .TH SLAPD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
 .SH NAME
@@ -64,7 +64,7 @@ Listen on IPv4 addresses only.
 .B \-6
 Listen on IPv6 addresses only.
 .TP
-.B \-T {a|c|d|i|p|t}
+.B \-T {a|c|d|i|p|t|acl|auth}
 Run in Tool mode. The additional argument selects whether to run as
 slapadd, slapcat, slapdn, slapindex, slappasswd, or slaptest
 (slapacl and slapauth need the entire "\fIacl\fP" and "\fIauth\fP"
@@ -86,6 +86,10 @@ will not fork or disassociate from the invoking terminal.  Some general
 operation and status messages are printed for any value of \fIdebug\-level\fP.
 \fIdebug\-level\fP is taken as a bit string, with each bit corresponding to a
 different kind of debugging information.  See <ldap.h> for details.
+Comma-separated arrays of friendly names can be specified to select
+debugging output of the corresponding debugging information.
+All the names recognized by the \fIloglevel\fP directive 
+described in \fBslapd.conf\fP(5) are supported.
 Remember that if you turn on packet logging, packets containing bind passwords
 will be output, so if you redirect the log to a logfile, that file should
 be read-protected.
@@ -96,6 +100,11 @@ This option tells
 at what level debugging statements should be logged to the
 .BR syslog (8)
 facility.
+The value "syslog\-level" can be set to any value or combination
+allowed by the "-d" switch.
+Slapd logs all messages selected by "syslog\-level" 
+at the syslog(3) severity level "DEBUG",
+on the unit specified with "-l".
 .TP
 .BI \-n " service\-name"
 Specifies the service name for logging and other purposes.  Defaults
@@ -118,13 +127,14 @@ However, this option is only permitted on systems that support
 local users with the 
 .BR syslog (8)
 facility.
+Logging to syslog(8) occurs at the "DEBUG" severity level.
 .TP
 .BI \-f " slapd\-config\-file"
 Specifies the slapd configuration file. The default is
 .BR ETCDIR/slapd.conf .
 .TP
 .BI \-F " slapd\-config\-directory"
-Specifies the slapd configuration file. The default is
+Specifies the slapd configuration directory. The default is
 .BR ETCDIR/slapd.d .
 If both
 .B -f