Targets
A target expression specifies the set of entries and attributes to which an access control rule applies.
A target expression has three components:
- Keyword
-
The keyword specifies the type of target element.
- Expression
-
The expression specifies the items that are targeted by the access control rule.
- Operator
-
The operator is either equal,
=
, or not-equal,!=
.
You cannot use the |
For specific examples of each target keyword, see Working with targets.
(keyword[=||!=]expression)
You can use the following keywords in the target portion of ACIs:
Target Keyword | Description | Wildcards |
---|---|---|
|
Specifies the OIDs for any extended operations to which the access control rule should apply. |
No |
|
Determines whether an access control rule applies to an operation based on whether that operation matches a given request criteria definition. If present in an access control rule, the operator must be either "=" or "!=". The value must be enclosed in quotation marks and it must be the name or full DN of the configuration object that defines the desired request criteria. For example, let’s say that you want to allow members of the dsconfig create-request-criteria \ --criteria-name "Requests Targeting Sales Employees" \ --type simple \ --set "any-included-target-entry-group-dn:cn=Sales Employees,ou=Groups,dc=example,dc=com" With that request criteria defined, you can use a modification like the following to create the corresponding access control rule: dn: dc=example,dc=com changetype: modify add: aci aci: (targetattr="*")(requestcriteria="Requests Targeting Sales Employees")(version 3.0; acl "Allow sales administrators to manage sales employees"; allow (read,search,compare,write) groupdn="ldap:///cn=Sales Administrators,ou=Groups,dc=example,dc=com";) |
|
|
Specifies the set of entries, identified using LDAP URLs, to which the access control rule applies. |
Yes |
|
Identifies specific attribute values based on filters that can be added to or removed from entries to which the access control rule applies. |
Yes |
|
Specifies the set of attributes to which the access control rule should apply. |
Yes |
|
Specifies the OIDs for any request controls to which the access control rule should apply. |
No |
|
Specifies one or more search filters that can be used to indicate the set of entries to which the access control should apply. |
Yes |
|
Specifies the scope of entries, relative to the defined target entries or the entry containing the ACI if there is no target, to which the access control rule should apply. |
No |