HP UX Red Hat Direry Server Software Creating an Instance of the Attribute Uniqueness Plug-in

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 526
Image 526

Chapter 18. Using the Attribute Uniqueness Plug-in

Variable

Definition

 

 

dn

The DN of the suffix or subtree in which to

 

ensure attribute uniqueness. To specify

 

several suffixes or subtrees, increment the

 

suffix of the nsslapd-pluginargattribute by

 

one for each additional suffix or subtree.

 

 

attribute=attribute_name

The name of the attribute for which to ensure

 

unique values. Only one attribute can be

 

named.

 

 

markerObjectClass=objectclass1

Attribute uniqueness will be checked under

 

the entry belonging to the DN of the updated

 

entry that has the object class specified in the

 

markerObjectClass keyword. Do not include

 

a space before or after the equals sign.

 

 

requiredObjectClass=objectclass2

Optional. When using the

 

markerObjectClass keyword to specify the

 

scope of the uniqueness check instead of a

 

DN, it is also possible to specify to perform

 

the check only if the updated entry contains

 

the objectclass specified in the

 

requiredObjectClass keyword. Do not

 

include a space before or after the equals

 

sign.

 

 

Table 18.1. Attribute Uniqueness Plug-in Variables

3.Creating an Instance of the Attribute Uniqueness Plug-in

To ensure that a particular attribute in the directory always has unique values, create an instance of the Attribute Uniqueness Plug-in for the attribute to check. For example, to ensure that every entry in the directory that includes a mail attribute has a unique value for that attribute, create a mail uniqueness plug-in.

To create an instance of the Attribute Uniqueness Plug-in, modify the Directory Server configuration to add an entry for the new plug-in under the cn=plugins,cn=config entry. The format of the new entry must conform to the syntax described in Section 2, “Attribute Uniqueness Plug-in Syntax”.

NOTE

Red Hat strongly encourages you to copy and paste an existing Attribute

506

Page 526
Image 526
HP UX Red Hat Direry Server Software manual Creating an Instance of the Attribute Uniqueness Plug-in