1 .TH SLAPAUTH 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2004-2009 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapauth \- Check a list of string-represented IDs for LDAP authc/authz
23 is used to check the behavior of the slapd in mapping identities
24 for authentication and authorization purposes, as specified in
28 configuration file, reads in the
32 directives, and then parses the
34 list given on the command-line.
39 enable debugging messages as defined by the specified
46 specify an alternative
51 specify a config directory.
56 are specified, the config file will be read and converted to
57 config directory format and written to the specified directory.
58 If neither option is specified, an attempt to read the
59 default config directory will be made before trying to use the default
60 config file. If a valid config directory exists then the
61 default config file is ignored.
66 .BI \-o " option[=value]"
71 Possible generic options/values are:
74 syslog=<subsystems> (see `\-s' in slapd(8))
75 syslog-level=<level> (see `\-S' in slapd(8))
76 syslog-user=<user> (see `\-l' in slapd(8))
84 specify an ID to be used as
86 throughout the test session.
89 is given, the IDs in the ID list are treated as
93 specify an ID to be used as
95 throughout the test session.
98 is given, the IDs in the ID list are treated as
104 are given via command line switch, the ID list cannot be present.
113 SBINDIR/slapauth -f /ETCDIR/slapd.conf -v \\
114 -U bjorn -X u:bjensen
118 tests whether the user
120 can assume the identity of the user
122 provided the directives
127 authz-regexp "^uid=([^,]+).*,cn=auth$"
128 "ldap:///dc=example,dc=net??sub?uid=$1"
139 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)