Example Of A Pointer Cos - Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

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. The behavior for negative
Directory Server; do not enter negative values. Also, the
not supported by indirect CoS.
For example, a CoS template entry for generating a department number appears as
follows:
dn: cn=data,dc=example,dc=com
objectclass: top
objectclass: extensibleobject
objectclass: cosTemplate
departmentNumber: 71776
cosPriority: 0
This template entry contains the value for the
priority of zero, meaning this template takes precedence 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
dc=example,dc=com
To add a new pointer CoS definition entry to the
do an
as follows:
ldapmodify
ldapmodify -a -D "cn=directory manager" -w secret -h host -p 389
The
utility binds to the server and prepares it to add information to
ldapmodify
the configuration file.
Next, you add the pointer CoS definition to the
follows:
dn: cn=pointerCoS,dc=example,dc=com
objectclass: top
objectclass: cosSuperDefinition
objectclass: cosPointerDefinition
cosTemplateDn: cn=exampleUS,ou=data,dc=example,dc=com
cosAttribute: postalCode
Next, you create the template entry as follows:
attribute are considered the lowest
cosPriority
cosPriority
departmentNumber
departmentNumber
tree.
Assigning Class of Service
values is not defined in
cosPriority
attribute. It has a
value.
dc=example,dc=com
dc=example,dc=com
Chapter 5
Advanced Entry Management
attribute is
suffix, you
root suffix as
195

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents