Directory Tree Design Examples74 Netscape Directory Server Deployment Guide • August 2002You can use different types of CoS depending upon how you want the value ofyour dynamic attributes to be generated. There are three types of CoS:• Pointer CoS—A pointer CoS identifies the template entry using the templateDN only. There may be only one template DN for each pointer CoS. A pointerCoS applies to all entries within the scope of the template entry.• Indirect CoS—An indirect CoS identifies the template entry using the value ofone of the target entry’s attributes. The target entry’s attribute must contain theDN of an existing entry.• Classic CoS—A classic CoS identifies the template entry by both its DN and thevalue of one of the target entry’s attributes. Classic Cos can have multipletemplate entries, including a default CoS template to be applied to thoseentries that do not belong to any other CoS template.Roles and the Classic CoS can be used together to provide role-based attributes.These attributes appear on an entry because it possesses a particular role with anassociated class of service template. For example, you could use a role-basedattribute to set the server look through limit on an role-by-role basis.Directory Tree Design ExamplesThe following sections provide examples of directory trees designed to support aflat hierarchy as well as several examples of more complicated hierarchies.Directory Tree for an International EnterpriseTo support an international enterprise, root your directory tree in your Internetdomain name and then branch your tree for each country where your enterprisehas operations immediately below that root point. In “Suffix NamingConventions,” on page 59, you are advised to avoid rooting your directory tree in acountry designator. This is especially true if your enterprise is international inscope.Because LDAP places no restrictions on the order of the attributes in your DNs,you can use the c (countryName) attribute to represent each country branch asfollows: