]> 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 43876d916d5f299ceaa5a3b53956bde14b0850eb..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
@@ -159,19 +169,22 @@ Support for the latter two schemes depends on selected configuration
 options.  Hosts may be specified by name or IPv4 and IPv6 address formats.
 Ports, if specified, must be numeric.  The default ldap:// port is 389
 and the default ldaps:// port is 636.
-The socket permissions for LDAP over IPC are indicated by
+
+The listener permissions are indicated by
 "x-mod=-rwxrwxrwx", "x-mod=0777" or "x-mod=777", where any 
-of the "rwx" can be "-" to suppress the related permission (note, 
-however, that sockets only honor the "w" permission), while any 
+of the "rwx" can be "-" to suppress the related permission, while any 
 of the "7" can be any legal octal digit, according to chmod(1).
-While LDAP over IPC requires write permissions on the socket to allow
-any operation, the other listeners can take advantage of the "x-mod"
-extension to apply rough limitations to users, e.g. allow read operations
+The listeners can take advantage of the "x-mod"
+extension to apply rough limitations to operations, e.g. allow read operations
 ("r", which applies to search and compare), write operations ("w", 
 which applies to add, delete, modify and modrdn), and execute operations
 ("x", which means bind is required).
-"User" permissions apply to bound users, while "other" apply
-to anonymous users.
+"User" permissions apply to authenticated users, while "other" apply
+to anonymous users; "group" permissions are ignored.
+For example, "ldap:///????x-mod=-rw-------" means that read and write is only allowed
+for authenticated connections, and bind is required for all operations.
+This feature is experimental, and requires to be manually enabled
+at configure time.
 .TP
 .BI \-r " directory"
 Specifies a directory to become the root directory.  slapd will