Chapter 18. Using the Attribute Uniqueness Plug-in
440
in the directory that includes a
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 18.2, “Attribute Uniqueness Plug-in Syntax”
.
NOTE
Red Hat strongly encourages you to copy and paste an existing Attribute 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
attribute.
18.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.
18.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-ins
folder.
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. (See
Section 18.3, “Creating an Instance of the Attribute Uniqueness Plug-in”
.)
Summary of Contents for DIRECTORY SERVER 8.0
Page 18: ...xviii ...
Page 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Page 30: ...12 ...
Page 112: ...94 ...
Page 128: ...110 ...
Page 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Page 224: ...206 ...
Page 324: ...306 ...
Page 334: ...316 ...
Page 358: ...340 ...
Page 410: ...392 ...
Page 420: ...402 ...
Page 444: ...426 ...
Page 454: ...436 ...
Page 464: ...446 ...
Page 484: ...466 ...
Page 512: ...494 ...
Page 522: ...504 ...