Assigning Class of Service
184
Netscape Directory Server Administrator’s Guide • May 2002
Templates that contain no
cosPriority
attribute are considered the lowest
priority. In the case where two or more templates are considered to supply an
attribute value and they have the same (or no) priority, a value is chosen
arbitrarily.
For example, a CoS template entry for generating a department number appears as
follows:
dn: cn=data,dc=example,dc=com
objectclass: top
objectclass: LDAPsubentry
objectclass: extensibleobject
objectclass: cosTemplate
departmentNumber: 71776
cosPriority: 0
This template entry contains the value for the
departmentNumber
attribute. It has a
priority of zero, meaning this template takes precedene over any other conflicting
templates that define a different
departmentNumber
value.
The following sections provide examples of template entries along with examples
of each type of CoS definition entry.
Example of a Pointer CoS
You want to create a pointer CoS that shares a common postal code with all entries
in the
dc=example,dc=com
tree.
To add a new pointer CoS definition entry to the
dc=example,dc=com
suffix, you
do an
ldapmodify
as follows:
ldapmodify -a -D "cn=directory manager" -w secret -h host -p 389
The
ldapmodify
utility binds to the server and prepares it to add information to
the configuration file.
Next, you add the pointer CoS definition to the
dc=example,dc=com
root suffix as
follows:
dn: cn=pointerCoS,dc=example,dc=com
objectclass: top
objectclass: LDAPsubentry
objectclass: cosSuperDefinition
objectclass: cosPointerDefinition
cosTemplateDn: cn=exampleUS,cn=data,dc=example,dc=com
cosAttribute: postalCode
Содержание NETSCAPE DIRECTORY SERVER 6.02
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Страница 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 40: ...Starting the Server in Referral Mode 40 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 258: ...Compatibility with Earlier Releases 258 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 274: ...Setting Resource Limits Based on the Bind DN 274 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 330: ...Solving Common Replication Conflicts 330 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 374: ...Attribute Name Quick Reference Table 374 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 390: ...Configuring LDAP Clients to Use SSL 390 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 412: ...Monitoring Database Link Activity 412 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 502: ...Storing Information in Multiple Languages 502 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 522: ...Searching an Internationalized Directory 522 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...