Bind Rules
The bind rule is evaluated to be true if the bind DN matches the filter specified in
the myfilter attribute of the targeted entry. The myfilter attribute can be replaced by
any attribute that contains an LDAP filter.
Example With Any Attribute Value
The following is an example of the
based on any attribute value:
userattr = "favoriteDrink#Beer"
The bind rule is evaluated to be true if the bind DN and the target DN include the
favoriteDrink
Using the userattr Keyword With Inheritance
When you use the
target entry, the ACI applies only to the target specified and not to the entries
below it. In some circumstances, you might want to extend the application of the
ACI several levels below the targeted entry. This is possible by using the parent
keyword, and specifying the number of levels below the target that should inherit
the ACI.
When you use the
syntax is as follows:
userattr = "parent[inheritance_level].attrName#bindType"
or, if you are using an attribute type that requires a value other than a user DN,
group DN, role DN, or an LDAP filter:
userattr = "parent[inheritance_level].attrName#attrValue"
where
•
inheritance_level
the target will inherit the ACI. You can include five levels
the targeted entry; zero (0) indicates the targeted entry.
•
attribute
•
bindType can be one of
For example,
userattr = "parent[0,1].manager#USERDN"
This bind rule is evaluated to be true if the bindDN matches the manager attribute
of the targeted entry. The permissions granted when the bind rule is evaluated to
be true apply to the target entry and to all entries immediately below it.
214
Netscape Directory Server Administrator's Guide • January 2002
attribute with a value of
userattr
userattr
:
is a comma separated list that indicates how many levels below
is the attribute targeted by the
USERDN,GROUPDN,LDAPURL
keyword associated with a bind
userattr
.
Beer
keyword to associate the entry used to bind with the
keyword in association with the
userattr
keyword, the
parent
[0,1,2,3,4]
or
keyword.
groupattr
.
below
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers