![Netscape NETSCAPE DIRECTORY SERVER 6.02 Administrator'S Manual Download Page 205](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673205.webp)
Creating ACIs Manually
Chapter
6
Managing Access Control
205
Comparing the value of an attribute:
•
Grant compare permission on the attribute type.
Searching for entries:
•
Grant search permission on each attribute type used in the search filter.
•
Grant read permission on attribute types used in the entry.
The permissions you need to set up to allow users to search the directory are more
readily understood with an example. Consider the following
ldapsearch
operation:
% ldapsearch -h
host
-s
base
-b
"
uid=bkolics,dc=example,dc=com
"
objectclass=* mail
The following ACI is used to determine whether user
bkolics
can be granted
access:
aci: (targetattr = "mail")(version 3.0; acl "self access to mail";
allow (read, search) userdn = "ldap:///self";)
The search result list is empty, because this ACI does not grant access to the
objectclass attribute. If you want the search operation described above to be
successful, you must modify the ACI to read as follows:
aci: (targetattr = "mail || objectclass")(version 3.0; acl "self
access to mail"; allow (read, search) userdn = "ldap:///self";)
Permissions Syntax
In an ACI statement, the syntax for permissions is:
allow|deny (
rights
)
where
rights
is a list of 1 to 8 comma-separated keywords enclosed within
parentheses. Valid keywords are
read
,
write
,
add
,
delete
,
search
,
compare
,
selfwrite
,
proxy
, or
all
.
In the following example, read, search, and compare access is allowed, provided
the bind rule is evaluated to be true:
aci:
(target="ldap:///dc=example,dc=com") (version 3.0;acl
"example";
allow (read, search, compare)
bind_rule
;)
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.02
Page 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Page 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Page 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Page 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Page 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Page 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Page 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Page 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Page 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Page 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...