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.
10 .B [\-D authcDN | \-U authcID]
16 .B [\-X authzID | \-o authzDN=DN]
17 .B [attr[/access][:value]] [...]
22 is used to check the behavior of the slapd in verifying access to data
23 according to ACLs, as specified in
27 configuration file, reads in the
31 directives, and then parses the
33 list given on the command-line; if none is given, access to the
35 pseudo-attribute is tested.
42 which access is requested to; the corresponding entry is fetched
43 from the database, and thus it must exist.
44 The DN is also used to determine what rules apply; thus, it must be
45 in the naming context of a configured database. See also
49 enable debugging messages as defined by the specified
53 specify a DN to be used as identity through the test session
54 when selecting appropriate
56 clauses in access lists.
59 specify an alternative
64 specify a config directory.
69 are specified, the config file will be read and converted to
70 config directory format and written to the specified directory.
71 If neither option is specified, an attempt to read the
72 default config directory will be made before trying to use the default
73 config file. If a valid config directory exists then the
74 default config file is ignored.
76 .BI \-o " option[=value]"
81 Possible generic options/values are:
84 syslog=<subsystems> (see `\-s' in slapd(8))
85 syslog-level=<level> (see `\-S' in slapd(8))
86 syslog-user=<user> (see `\-l' in slapd(8))
90 Possible options/values specific to
108 See the related fields in
114 do not fetch the entry from the database.
115 In this case, if the entry does not exist, a fake entry with the DN
118 option is used, with no attributes.
119 As a consequence, those rules that depend on the contents
120 of the target object will not behave as with the real object.
121 The DN given with the
123 option is still used to select what rules apply; thus, it must be
124 in the naming context of a configured database.
129 specify an ID to be mapped to a
137 for details); mutually exclusive with
144 specify an authorization ID to be mapped to a
152 for details); mutually exclusive with \fB\-o\fP \fIauthzDN=DN\fP.
158 SBINDIR/slapacl -f /ETCDIR/slapd.conf -v \\
159 -U bjorn -b "o=University of Michigan,c=US" \\
160 "o/read:University of Michigan"
164 tests whether the user
166 can access the attribute
169 .I o=University of Michigan,c=US
179 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)