![Netscape NETSCAPE DIRECTORY SERVER 6.02 Administrator'S Manual Download Page 250](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673250.webp)
Advanced Access Control: Using Macro ACIs
250
Netscape Directory Server Administrator’s Guide • May 2002
Macros are placeholders that are used to represent a DN, or a portion of a DN, in
an ACI. You can use a macro to represent a DN in the target portion of the ACI, or
in the bind rule portion, or both. In practice, when Directory Server gets an
incoming LDAP operation, the ACI macros are matched against the resource
targeted by the LDAP operation. If there is a match, the macro is replaced by the
value of the DN of the targeted resource. Directory Server then evaluates the ACI
normally.
Macro ACI Example
The benefits of macro ACIs and how they work are best explained using an
example. Figure 6-4 on page 251 shows a directory tree in which using macro ACIs
is an effective way of reducing the overall number of ACIs.
In this illustration, note the repeating pattern of subdomains with the same tree
structure (ou=groups, ou=people). This pattern is also repeated across the tree,
because the
example.com
directory tree stores the following suffixes
dc=hostedCompany2, dc=example,dc=com
, and
dc=hostedCompany3,dc=example,dc=com
.
The ACIs that apply in the directory tree also have a repeating pattern. For
example, the following ACI is located on the
dc=hostedCompany1,dc=example,dc=com
node:
aci: (targetattr="*")(targetfilter=(objectClass=nsManagedDomain))
(version 3.0; acl "Domain access"; allow (read,search) groupdn=
"ldap:///cn=DomainAdmins,ou=Groups,dc=hostedCompany1,dc=example,dc=
com";)
This ACI grants read and search rights to the DomainAdmins group to any entry in
the
dc=hostedCompany1,dc=example,dc=com
tree.
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 ...