![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 187](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675187.webp)
Assigning Class of Service
Chapter
5
Advanced Entry Management
187
Creating the CoS Template Entry From the Command Line
The CoS template entry also inherits from the
LDAPsubentry
object class. Each
template entry is an instance of the
cosTemplate
object class.
The CoS template entry also contains the attribute generated by the CoS (as
specified in the
cosAttribute
attribute of the CoS definition entry) and the value
for that attribute.
For example, a CoS template entry that provides a value for the
postalCode
attribute follows:
dn:cn=exampleUS,cn=data,dc=example,dc=com
objectclass: top
objectclass: LDAPsubentry
objectclass: extensibleobject
objectclass: cosTemplate
postalCode: 44438
It is possible to create CoS templates that compete with each other to provide an
attribute value. For example, you might have a multi-valued
cosSpecifier
in
your CoS definition entry. In such a case, you can specify a template priority on
each template entry to determine which template provides the attribute value. Set
the template priority using the
cosPriority
attribute. This attribute represents the
global priority of a particular template. A priority of zero is the highest priority.
Classic CoS
objectclass: top
bbjectclass: LDAPsubentry
objectclass: cosSuperDefinition
objectclass: cosClassicDefinition
cosTemplateDn:
DN_string
cosSpecifier:
attribute_name
cosAttribute:
list_of_attributes qualifier
NOTE
Making the CoS template entry an instance of the
LDAPsubentry
object classes allows ordinary searches to be performed unhindered
by the configuration entries. However, if the template entry already
exists and is used for something else (for example, if it is a user
entry), you do not need to make it an instance of the
LDAPsubentry
object class.
Table 5-4
CoS Definitions (Continued)
CoS Type
CoS definition
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...