![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 175](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675175.webp)
Using Roles
Chapter
5
Advanced Entry Management
175
Example: Nested Role Definition
You want to create a role that contains both the marketing staff and sales managers
contained by the roles you created in the previous examples. The nested role you
create using
ldapmodify
appears as follows:
dn: cn=MarketingSales,ou=people,dc=example,dc=com
objectclass: top
objectclass: LDAPsubentry
objectclass: nsRoleDefinition
objectclass: nsComplexRoleDefinition
objectclass: nsNestedRoleDefinition
cn: MarketingSales
nsRoleDN: cn=SalesManagerFilter,ou=people,dc=example,dc=com
nsRoleDN: cn=Marketing,ou=people,dc=example,dc=com
Notice the
nsNestedRoleDefinition
object class inherits from the
LDAPsubentry
,
nsRoleDefinition
, and
nsComplexRoleDefinition
object classes. The
nsRoleDN
attributes contain the DN of the marketing managed role and the sales managers
filtered role.
Both of the users in the previous examples, Bob and Pat, would be members of this
new nested role.
Using Roles Securely
Not every role is suitable for use in a security context. When creating a new role,
consider how easily the role can be assigned to and removed from an entry.
Sometimes it is appropriate for users to be able to easily add themselves to or
remove themselves from a role. For example, if you had an interest group role
called Mountain Biking, you would want interested users to add themselves or
remove themselves easily.
However, in some security contexts it is inappropriate to have such open roles. For
example, consider account inactivation roles. By default, account inactivation roles
contain ACIs defined for their suffix. When creating a role, the server administrator
decides whether a user can assign themselves to or remove themselves from the
role.
For example, user A possesses the managed role, MR. The MR role has been locked
using account inactivation through the command line. This means that user A
cannot bind to the server because the
nsAccountLock
attribute is computed as
“true” for that user. However, suppose the user was already bound and noticed
that he is now locked through the MR role. If there are no ACIs preventing him, the
user can remove the
nsRoleDN
attribute from his entry and unlock himself.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...