Example Of A Pointer Cos - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Assigning Class of Service
Templates that contain no
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
priority of zero, meaning this template takes precedene over any other conflicting
templates that define a different
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
To add a new pointer CoS definition entry to the
do an
ldapmodify -a -D "cn=directory manager" -w secret -h host -p 389
The
ldapmodify
the configuration file.
Next, you add the pointer CoS definition to the
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
184
Netscape Directory Server Administrator's Guide • May 2002
cosPriority
dc=example,dc=com
as follows:
ldapmodify
utility binds to the server and prepares it to add information to
attribute are considered the lowest
departmentNumber
departmentNumber
tree.
dc=example,dc=com
attribute. It has a
value.
dc=example,dc=com
root suffix as
suffix, you

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents