1 .TH SLAPACL 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2004-2009 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapacl \- Check access to a list of attributes.
11 .B [\-D authcDN | \-U authcID]
17 .B [\-X authzID | \-o authzDN=DN]
18 .B [attr[/access][:value]] [...]
23 is used to check the behavior of the slapd in verifying access to data
24 according to ACLs, as specified in
28 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.
41 which access is requested to; the corresponding entry is fetched
42 from the database, and thus it must exist.
43 The DN is also used to determine what rules apply; thus, it must be
44 in the naming context of a configured database. See also
48 enable debugging messages as defined by the specified
55 specify a DN to be used as identity through the test session
56 when selecting appropriate
58 clauses in access lists.
61 specify an alternative
66 specify a config directory.
71 are specified, the config file will be read and converted to
72 config directory format and written to the specified directory.
73 If neither option is specified, an attempt to read the
74 default config directory will be made before trying to use the default
75 config file. If a valid config directory exists then the
76 default config file is ignored.
78 .BI \-o " option[=value]"
83 Possible generic options/values are:
86 syslog=<subsystems> (see `\-s' in slapd(8))
87 syslog-level=<level> (see `\-S' in slapd(8))
88 syslog-user=<user> (see `\-l' in slapd(8))
92 Possible options/values specific to
110 See the related fields in
116 do not fetch the entry from the database.
117 In this case, if the entry does not exist, a fake entry with the DN
120 option is used, with no attributes.
121 As a consequence, those rules that depend on the contents
122 of the target object will not behave as with the real object.
123 The DN given with the
125 option is still used to select what rules apply; thus, it must be
126 in the naming context of a configured database.
131 specify an ID to be mapped to a
139 for details); mutually exclusive with
146 specify an authorization ID to be mapped to a
154 for details); mutually exclusive with \fB\-o\fP \fIauthzDN=DN\fP.
160 SBINDIR/slapacl -f ETCDIR/slapd.conf -v \\
161 -U bjorn -b "o=University of Michigan,c=US" \\
162 "o/read:University of Michigan"
166 tests whether the user
168 can access the attribute
171 .I o=University of Michigan,c=US
181 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)