1 .TH SLAPAUTH 8C "2008/07/16" "OpenLDAP 2.4.11"
2 .\" Copyright 2004-2008 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
5 slapauth \- Check a list of string-represented IDs for LDAP authc/authz
22 is used to check the behavior of the slapd in mapping identities
23 for authentication and authorization purposes, as specified in
27 configuration file, reads in the
31 directives, and then parses the
33 list given on the command-line.
38 enable debugging messages as defined by the specified
45 specify an alternative
50 specify a config directory.
55 are specified, the config file will be read and converted to
56 config directory format and written to the specified directory.
57 If neither option is specified, an attempt to read the
58 default config directory will be made before trying to use the default
59 config file. If a valid config directory exists then the
60 default config file is ignored.
65 .BI \-o " option[=value]"
70 Possible generic options/values are:
73 syslog=<subsystems> (see `\-s' in slapd(8))
74 syslog-level=<level> (see `\-S' in slapd(8))
75 syslog-user=<user> (see `\-l' in slapd(8))
83 specify an ID to be used as
85 throughout the test session.
88 is given, the IDs in the ID list are treated as
92 specify an ID to be used as
94 throughout the test session.
97 is given, the IDs in the ID list are treated as
103 are given via command line switch, the ID list cannot be present.
112 /usr/sbin/slapauth -f //etc/openldap/slapd.conf -v \\
113 -U bjorn -X u:bjensen
117 tests whether the user
119 can assume the identity of the user
121 provided the directives
126 authz-regexp "^uid=([^,]+).*,cn=auth$"
127 "ldap:///dc=example,dc=net??sub?uid=$1"
138 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
140 .\" Shared Project Acknowledgement Text
141 .B "OpenLDAP Software"
142 is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
143 .B "OpenLDAP Software"
144 is derived from University of Michigan LDAP 3.3 Release.