1 .TH SLAPAUTH 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2004-2006 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
5 slapauth \- Check a list of string-represented IDs for 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
42 specify an alternative
47 specify a config directory.
52 are specified, the config file will be read and converted to
53 config directory format and written to the specified directory.
54 If neither option is specified, an attempt to read the
55 default config directory will be made before trying to use the default
56 config file. If a valid config directory exists then the
57 default config file is ignored.
62 .BI \-o " option[=value]"
67 Possible generic options/values are:
70 syslog=<subsystems> (see `\-s' in slapd(8))
71 syslog-level=<level> (see `\-S' in slapd(8))
72 syslog-user=<user> (see `\-l' in slapd(8))
80 specify an ID to be used as
82 throughout the test session.
85 is given, the IDs in the ID list are treated as
89 specify an ID to be used as
91 throughout the test session.
94 is given, the IDs in the ID list are treated as
100 are given via command line switch, the ID list cannot be present.
109 SBINDIR/slapauth -f /ETCDIR/slapd.conf -v \\
110 -U bjorn -X u:bjensen
114 tests whether the user
116 can assume the identity of the user
118 provided the directives
123 authz-regexp "^uid=([^,]+).*,cn=auth$"
124 "ldap:///dc=example,dc=net??sub?uid=$1"
135 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
138 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
140 is derived from University of Michigan LDAP 3.3 Release.