1 .TH SLAPACL 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2004-2006 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
5 slapacl \- Check access to a list of attributes.
12 .B [\-D authcDN | \-U authcID]
15 .B [\-X authzID | \-o authzDN=DN]
16 .B [attr[/access][:value]] [...]
21 is used to check the behavior of the slapd in verifying access to data
22 according to ACLs, as specified in
26 configuration file, reads in the
30 directives, and then parses the
32 list given on the command-line; if none is given, access to the
34 pseudo-attribute is tested.
42 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.
64 specify a DN to be used as identity through the test session
65 when selecting appropriate
67 clauses in access lists.
70 specify an ID to be mapped to a
78 for details); mutually exclusive with
82 specify an authorization ID to be mapped to a
90 for details); mutually exclusive with \fB\-o\fP \fIauthzDN=DN\fP.
92 .BI \-o " option[=value]"
97 Possible options/values are:
114 which access is requested to; the corresponding entry is fetched
115 from the database, and thus it must exist.
116 The DN is also used to determine what rules apply; thus, it must be
117 in the naming context of a configured database. See also
121 do not fetch the entry from the database.
122 In this case, if the entry does not exist, a fake entry with the DN
125 option is used, with no attributes.
126 As a consequence, those rules that depend on the contents
127 of the target object will not behave as with the real object.
128 The DN given with the
130 option is still used to select what rules apply; thus, it must be
131 in the naming context of a configured database.
139 SBINDIR/slapacl -f /ETCDIR/slapd.conf -v \\
140 -U bjorn -b "o=University of Michigan,c=US" \\
141 "o/read:University of Michigan"
145 tests whether the user
147 can access the attribute
150 .I o=University of Michigan,c=US
160 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
163 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
165 is derived from University of Michigan LDAP 3.3 Release.