Overview of the UID Uniqueness Plug-in
Directory Server provides an instance of the Attribute Uniqueness Plug-in, the UID
Uniqueness Plug-in. By default, the plug-in ensures that values given to the
attribute are unique in the suffix you configured when installing the directory (the
suffix corresponding to the
You can change the configuration to specify additional suffixes or subtrees or by
specifying to perform the check only under entries that contain a specified object
class. The syntax and configuration of the UID Uniqueness Plug-in is the same as
for any other attribute. For more information on the configuration changes you can
make, see "Configuring Attribute Uniqueness Plug-ins," on page 535 .
By default, the Uid Uniqueness plug-in is disabled because it affects the operation
of multi-master replication. For information on using the attribute uniqueness
plug-in in a replicated environment, refer to "Replication and the Attribute
Uniqueness Plug-in," on page 541.
Attribute Uniqueness Plug-in Syntax
Configuration information for the Attribute Uniqueness Plug-in is specified in an
entry under
nsslapd-pluginarg
below.
Use the following syntax to perform the uniqueness check under a suffix or
subtree:
dn: cn=descriptive_plugin_name,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: descriptive_plugin_name
nsslapd-pluginPath:
/opt/redhat-ds/servers/lib/attr-unique-plugin.extension
nsslapd-pluginInitfunc: NSUniqueAttr_Init
nsslapd-pluginType: preoperation
nsslapd-pluginEnabled: state
nsslapd-pluginarg0:
nsslapd-pluginarg1:
[ nsslapd-pluginarg2:
nsslapd-plugin-depends-on-type: database
userRoot
cn=plugins,cn=config
attributes. The differences are highlighted in the sections
attribute_name
dn1
dn2 ]
Overview of the UID Uniqueness Plug-in
database).
entry. There are two possible syntaxes for
Chapter 17
Using the Attribute Uniqueness Plug-in
uid
531
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers