![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 487](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675487.webp)
Configuring Attribute Uniqueness Plug-Ins
Chapter
17
Using the Attribute Uniqueness Plug-In
487
Turning the Plug-in On or Off
To turn the plug-in on from the command line, you must create an LDIF file that
contains the following LDIF update statements:
dn: cn=
descriptive_plugin_name
,cn=plugins,cn=config
changetype: modify
replace: nsslapd-pluginenabled
nsslapd-pluginenabled: on
Use the
ldapmodify
command to import the LDIF file into the directory. For
detailed information on the
ldapmodify
command, refer to Netscape Directory
Server Configuration, Command, and File Reference.
To disable the plug-in, change the LDIF update statements to replace the
nsslapd-pluginenabled: on
statement, by the
nsslapd-pluginenabled: off
statement.
Whenever you enable or disable the plug-in, you must restart the server. For
information on restarting the server, refer to “Starting and Stopping the Directory
Server,” on page 35.
Specifying a Suffix or Subtree
You specify the suffix or subtrees under which you want the plug-in to ensure
attribute uniqueness by using the
nsslapd-pluginarg
attribute in the entry
defining the plug-in.
You can specify the subtree or subtrees by creating and LDIF file that contains
update statements similar to those shown in the following example:
dn: cn=mail uniqueness,cn=plugins,cn=config
changetype: add
nsslapd-pluginarg2: ou=Engineering,dc=example,dc=com
nsslapd-pluginarg3: ou=Sales,dc=example,dc=com
This example LDIF file will check uniqueness of the
attribute under the
subtrees
dc=example,dc=com
,
ou=Engineering,dc=example,dc=com
, and
ou=Sales,dc=example,dc=com
.
Use the
ldapmodify
command to import the LDIF file into the directory. For
detailed information on the
ldapmodify
command, refer to Netscape Directory
Server Configuration, Command, and File Reference.
Whenever you make this type of configuration change, you must restart the server.
For information on restarting the server, refer to “Starting and Stopping the
Directory Server,” on page 35.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...