Assigning Class of Service178 Netscape Directory Server Administrator’s Guide • August 2002There are 3 types of CoS, defined using three types of CoS definition entries:• Pointer CoS—A pointer CoS identifies the template entry using the templateDN only.• Indirect CoS—An indirect CoS identifies the template entry using the value ofone of the target entry’s attributes. For example, an indirect CoS might specifythe manager attribute of a target entry. The value of the manager attribute isthen used to identify the template entry.The target entry’s attribute must be single-valued and contain a DN.• Classic CoS—A classic CoS identifies the template entry using a combination ofthe template entry’s base DN and the value of one of the target entry’sattributes.For more information about the object classes and attributes associated with eachtype of CoS, refer to “Managing CoS From the Command Line,” on page 184.If the CoS logic detects that an entry contains an attribute for which the CoS isgenerating values, by default the CoS supplies the client application with theattribute value in the entry itself. However, you can use the CoS definition entry tocontrol this behavior.About the CoS Template EntryThe CoS template entry contains the value or values of the attributes generated bythe CoS logic. The CoS template entry contains a general object class ofcosTemplate. The CoS template entries for a given CoS are stored in the directorytree along with the CoS definition.The relative distinguished name (RDN) of the template entry is determined by oneof the following:• The DN of the template entry alone.This type of template is associated with a pointer CoS.• The value of one of the target entry’s attributes.The attribute used to provide the relative DN to the template entry is specifiedin the CoS definition entry using the cosIndirectSpecifier attribute. Thistype of template is associated with an indirect CoS.• By a combination of the DN of the subtree where the CoS performs a one levelsearch for templates and the value of one of the target entry’s attributes.This type of template is associated with a classic CoS.