Assigning Class of Service
Chapter
5
Advanced Entry Management
183
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.02
Page 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Page 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Page 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Page 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Page 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Page 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Page 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Page 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Page 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Page 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...