![Netscape NETSCAPE DIRECTORY SERVER 6.02 Administrator'S Manual Download Page 215](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673215.webp)
Bind Rules
Chapter
6
Managing Access Control
215
The following example grants a manager full access to his or her employees’
entries:
aci: (target="ldap:///dc=example,dc=com")(targetattr=*) (version
3.0;
acl "manager-write"; allow (all) userattr = "manager#USERDN";)
Example with GROUPDN Bind Type
The following is an example of the
userattr
keyword associated with a bind
based on a group DN:
userattr = "owner#GROUPDN"
The bind rule is evaluated to be true if the bind DN is a member of the group
specified in the
owner
attribute of the targeted entry. For example, you can use this
mechanism to allow a group to manage employees’ status information. You can
use an attribute other than
owner
, as long as the attribute you use contains the DN
of a group entry.
The group you point to can be a dynamic group, and the DN of the group can be
under any suffix in the database. However, the evaluation of this type of ACI by
the server is very resource intensive.
If you are using static groups that are under the same suffix as the targeted entry,
you can use the following expression:
userattr = "ldap:///dc=example,dc=com?owner#GROUPDN"
In this example, the group entry is under the
dc=example,dc=com
suffix. The
server can process this type of syntax more quickly than the previous example.
(By default,
owner
is not an allowed entry in a user’s entry. You would have to
extend your schema to allow this attribute in a
person
object.)
Example With ROLEDN Bind Type
The following is an example of the
userattr
keyword associated with a bind
based on a role DN:
userattr = "exampleEmployeeReportsTo#ROLEDN"
The bind rule is evaluated to be true if the bind DN belongs to the role specified in
the
exampleEmployeeReportsTo
attribute of the targeted entry. For example, if
you create a nested role for all managers in your company, you can use this
mechanism to grant managers at all levels access to information about employees
that are at a lower grade than themselves.
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 ...