![Netscape NETSCAPE DIRECTORY SERVER 6.02 Скачать руководство пользователя страница 199](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673199.webp)
Creating ACIs Manually
Chapter
6
Managing Access Control
199
You can target multiple attributes by using the
targetattr
keyword with the
following syntax:
(targetattr = "
attribute1
||
attribute2 ...
||
attributen
")
Where attribute is the name of the attribute you want to target.
For example, to target the common name attribute you would use:
(targetattr = "cn")
To target an entry’s common name, surname, and uid attributes, you would use
the following:
(targetattr = "cn || sn || uid")
The attributes specified in the
targetattr
keyword apply to the entry that the ACI
is targeting, and to all the entries below it. That is, if you target the password
attribute on the entry
uid=bjensen,ou=Marketing,dc=example,dc=com
, only the
password attribute on the
bjensen
entry is affected by the ACI because it is a leaf
entry.
If, however, you target the tree’s branch point
ou=Marketing,dc=example,dc=com
, then all the entries beneath the branch point
that can contain a password attribute are affected by the ACI.
Targeting Both an Entry and Attributes
By default, the entry targeted by an ACI containing a
targetattr
keyword is the
entry on which the ACI is placed. That is, if you put the ACI
aci: (targetattr = "uid")(
access_control_rules
;)
on the
ou=Marketing
,
dc=example,dc=com
entry, then the ACI applies to the
entire Marketing subtree. However, you can also explicitly specify a target using
the
target
keyword as follows:
aci: (target="ldap:///ou=Marketing,
dc=example,dc=com")(targetattr="uid") (
access_control_rules
;)
The order in which you specify the
target
and the
targetattr
keywords is not
important.
Targeting Entries or Attributes Using LDAP Filters
You can use LDAP filters to target a group of entries that match certain criteria. To
do this, you must use the
targetfilter
keyword with an LDAP filter.
The syntax of the
targetfilter
keyword is:
(targetfilter = "
LDAP_filter
")
Содержание NETSCAPE DIRECTORY SERVER 6.02
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Страница 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 40: ...Starting the Server in Referral Mode 40 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 258: ...Compatibility with Earlier Releases 258 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 274: ...Setting Resource Limits Based on the Bind DN 274 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 330: ...Solving Common Replication Conflicts 330 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 374: ...Attribute Name Quick Reference Table 374 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 390: ...Configuring LDAP Clients to Use SSL 390 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 412: ...Monitoring Database Link Activity 412 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 502: ...Storing Information in Multiple Languages 502 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 522: ...Searching an Internationalized Directory 522 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...