Configuring Attribute Uniqueness Plug-ins

Uniqueness Plug-in entry and only modify the attributes listed below.

For example, to create an instance the Attribute Uniqueness Plug-in for the mail attribute, do the following:

1.In the dse.ldif file, locate the entry for the Attribute Uniqueness Plug-in,cn=attribute uniqueness,cn=plugins,cn=config.

2.Copy the entire entry. The entry ends in an empty line; copy the empty line, too.

3.Paste the copied Attribute Uniqueness Plug-in entry at the end of the file.

4.Modify the Attribute Uniqueness Plug-in entry attributes for the new attribute information:

dn: cn=mail uniqueness,cn=plugins,cn=config

...

nsslapd-pluginEnabled: on

nsslapd-pluginarg0: mail

nsslapd-pluginarg1: dc=example,dc=com

...

5.Restart the Directory Server.

service dirsrv restart instance_name

In this example, the uniqueness check will be performed on every entry in the dc=example,dc=com entry that includes the mail attribute.

4. Configuring Attribute Uniqueness Plug-ins

This section explains how to use Directory Server Console to view the plug-ins configured for the directory and how to modify the configuration of the Attribute Uniqueness Plug-ins.

4.1. Viewing Plug-in Configuration Information

Display the configuration entry for Attribute Uniqueness Plug-ins as follows:

1.In the Directory Server Console, click the Directory tab.

2.In the left navigation tree, expand the config folder, then the Plug-insfolder.

The list of plug-ins is displayed in the right navigation window, which shows the UID Attribute Uniqueness Plug-in and any other Attribute Uniqueness Plug-ins that have been created.

507

Page 527
Image 527
HP UX Red Hat Direry Server Software Configuring Attribute Uniqueness Plug-ins, Viewing Plug-in Configuration Information