Managing CoS Using the Console

The postalCode attribute for Ted Morris is defined by a CoS.

The postalCode attribute for Barbara Jensen is set in her entry.

The postalCode attribute is not indexed.

If an ldapsearch command uses the filter (postalCode=*), then both Barbara Jensen's and Ted Morris's entries are returned.

CoS allows for an override, an identifier given to the cosAttribute attribute in the CoS entry, which means that local values for an attribute can override the CoS value. If an override is set on the CoS, then an ldapsearch operation will return a value for an entry even if the attribute is indexed, as long as there is a local value for the entry. Other entries which possess the CoS but do not have a local value will still not be returned in the ldapsearch operation.

Because of the potential issues with running LDAP search request on CoS-defined attributes, take care when deciding which attributes to generate using a CoS.

2.2. Managing CoS Using the Console

This section describes creating and editing CoS through the Directory Server Console. It includes the following sections:

Section 2.2.1, “Creating a New CoS”

Section 2.2.2, “Creating the CoS Template Entry”

Section 2.2.3, “Editing an Existing CoS”

Section 2.2.4, “Deleting a CoS”

2.2.1. Creating a New CoS

1.

In the Directory Server Console, select the Directory tab.

2.Browse the tree in the left navigation pane, and select the parent entry for the new class of service.

3.Go to the Object menu, and select New > Class of Service. Alternatively, right-click the entry and select New > Class of Service. The Create New Class of Service dialog opens.

4.Select General in the left pane. In the right pane, enter the name of the new class of service in the Class Name field. Enter a description of the class in the Description field.

149

Page 169
Image 169
HP UX Red Hat Direry Server Software manual Managing CoS Using the Console, Creating a New CoS