Restricting Access to Key Roles
You can use role definitions in the directory to identify functions that are critical to
your business, the administration of your network and directory, or another
purpose.
For example, you might create a
system administrators that are available at a particular time of day and day of the
week at corporate sites worldwide. Or you might want to create a
that includes all members of staff on a particular site that have done first aid
training. For information on creating role definitions, refer to "Using Roles," on
page 166.
When a role gives any sort of privileged user rights over critical corporate or
business functions, you should consider restricting access to that role. For example,
at
, employees can add any role to their own entry, except the
example.com
role. This is illustrated in the ACI "Roles" example.
superAdmin
ACI "Roles"
In LDIF, to grant
example.com
entry, except the
superAdmin
aci: (targetattr = "nsRoleDn")
(targattrfilters="add=nsRoleDN:(nsRoleDN !=
"cn=superAdmin,dc=example,dc=com")") (version 3.0; acl "Roles";
allow (write) userdn= "ldap:///self" and dns="*.example.com";)
This example assumes that the ACI is added to the
ou=example-people,dc=example,dc=com
From the Console, you can set this permission by doing the following:
In the Directory tab, right click the
1.
tree, and choose Set Access Permissions from the pop-up menu to display the
Access Control Manager.
Click New to display the Access Control Editor.
2.
In the Users/Groups tab, in the ACI name field, type "Roles". In the list of users
3.
granted access permission, do the following:
Select and remove All Users, then click Add.
a.
The Add Users and Groups dialog box is displayed.
Set the Search area in the Add Users and Groups dialog box to to Special
b.
Rights, and select Self from the Search results list.
role by identifying a subset of your
superAdmin
employees the right to add any role to their own
role, you would write the following statement:
entry.
example.com
Chapter 6
Access Control Usage Examples
First Aid
node in the left navigation
Managing Access Control
role
243
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers