target permission bind_rule
target (permission bind_rule)(permission bind_rule)...
| Permission | Description |
|---|---|
| Read | Indicates whether directory data may be read. |
| Write | Indicates whether directory data may be changed or created. This permission also allows directory data to be deleted but not the entry itself. To delete an entire entry, the user must have delete permissions. |
| Search |
Indicates whether the directory data can be searched. This differs from the read permission in that read allows directory data to be viewed if it is returned as part of a search operation.
For example, if searching for common names is allowed as well as read permission for a person's room number, then the room number can be returned as part of the common name search, but the room number itself cannot be used as the subject of a search. Use this combination to prevent people from searching the directory to see who sits in a particular room.
|
| Compare |
Indicates whether the data may be used in comparison operations. The compare permission implies the ability to search, but actual directory information is not returned as a result of the search. Instead, a simple Boolean value is returned which indicates whether the compared values match. This is used to match userPassword attribute values during directory authentication.
|
| Self-write | Used only for group management. This permission enables a user to add to or delete themselves from a group. |
| Add | Indicates whether child entries can be created. This permission enables a user to create child entries beneath the targeted entry. |
| Delete | Indicates whether an entry can be deleted. This permission enables a user to delete the targeted entry. |
| Proxy | Indicates that the user can use any other DN, except Directory Manager, to access the directory with the rights of this DN. |
uid attribute. Alternatively, write two access rules that allow write access in the following ways:
uid attribute. This rule should apply to everyone.
uid attribute. This rule should apply only to members of the Directory Administrators group.
domainComponent, country, organization, organizationalUnit, inetOrgPerson, or group.
organizationalUnit attribute that is set to Marketing.
publishHomeContactInfo.
homePhone and homePostalAddress attributes only for entries whose publishHomeContactInfo attribute is set to true (meaning enabled). Use an LDAP search filter to express the target for this rule.
publishHomeContactInfo attribute to either true or false. In this way, the directory user can decide whether this information is publicly available.
ldapsearch which returns the access control permissions set on each attribute within an entry, and allows an LDAP client to determine what operations the server's access control configuration allows a user to perform.
title and salary, but only HR Group members have the rights to modify or delete them.
homePostalAddress and cn, but may only have read access to title and salary.
ldapsearch executed using the -J switch returns the access controls on a particular entry as part of the normal search results. The following search the rights that user Ted Morris has to his personal entry:
/usr/lib64/mozldap/ldapsearch -p 389 -h localhost -D "uid=tmorris,ou=people,dc=example,dc=com" -w password -b "uid=tmorris,ou=people,dc=example,dc=com" -J "1.3.6.1.4.1.42.2.27.9.5.2:true:dn:uid=tmorris,ou=people,dc=example,dc=com" "(objectClass=*)"
version: 1
dn: uid=tmorris,ou=People,dc=example,dc=com
givenName: Ted
sn: Morris
ou: Accounting
ou: People
l: Santa Clara
manager: uid=dmiller,ou=People,dc=example,dc=com
roomNumber: 4117
mail: tmorris@example.com
facsimileTelephoneNumber: +1 408 555 5409
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
uid: tmorris
cn: Ted Morris
userPassword: {SSHA}bz0uCmHZM5b357zwrCUCJs1IOHtMD6yqPyhxBA==
entryLevelRights: vadn
attributeLevelRights: givenName:rsc, sn:rsc, ou:rsc, l:rscow, manager:rsc, roomNumber:rscwo, mail:rscwo, facsimileTelephoneNumber:rscwo, objectClass:rsc, uid:rsc, cn:rsc, userPassword:woentryLevelRights. He can read, search, compare, self-modify, or self-delete the location (l) attribute but only self-write and self-delete rights to his password, as shown in the attributeLevelRights result.
userPassword value is removed, then a future effective rights search on the above entry would not return any effective rights for userPassword, even though self-write and self-delete rights could be allowed. Similarly, if the street attribute were added with read, compare, and search rights, then street: rsc would appear in the attributeLevelRights results.
*) returns the rights for all possible attributes for an entry, including non-existent attributes.
/usr/lib64/mozldap/ldapsearch -J 1.3.6.1.4.1.42.2.27.9.5.2:true:dn:uid=scarter,ou=people,dc=example,dc=com "(objectclass=*)" "*"+) returns operational attributes for the entry, which are not normally returned in an ldapsearch asterisk (*). For example:
/usr/lib64/mozldap/ldapsearch -J 1.3.6.1.4.1.42.2.27.9.5.2:true:dn:uid=scarter,ou=people,dc=example,dc=com "(objectclass=*)" "+"*) and the plus sign (+) can be used together to return every attribute for the entry.
r, s, c, w, o) next to the attributes listed in the main window and the entry-level rights (v, a, d, n) underneath the entry's DN at the bottom of the window.
ldapsearch, see the Administrator's Guide.
person object class contains a large number of attributes. To allow a user to update only one or two of these attributes, write the ACI so that it allows write access for only those few attributes. However, to allow a user to update all but one or two attributes, create the ACI so that it allows write access for everything but a few named attributes.
ldapsearch operation using the same filter to make clear what the results of the changes mean to the directory.
commonName and givenName attributes, and another ACI that allows the same group write access for only the commonName attribute, then consider reworking the ACIs so that only one control grants the write access for the group.