Using The Markerobjectclass And Requiredobjectclass Keywords - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Configuring Attribute Uniqueness Plug-Ins

Using the markerObjectClass and requiredObjectClass Keywords

Instead of specifying a suffix or subtree in the configuration of an attribute
uniqueness plug-in, you can specify to perform the check under the entry
belonging to the DN of the updated entry that has the object class specified in the
markerObjectClass
To specify to perform the uniqueness check under the entry in the DN of the
updated entry that contains the organizational unit (
an LDIF file such as the one shown in the following example:
dn: cn=mail uniqueness,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: mail uniqueness
nsslapd-pluginPath: /usr/netscape/servers/lib/uid-plugin.so
nsslapd-pluginInitfunc: NSUniqueAttr_Init
nsslapd-pluginType: preoperation
nsslapd-pluginEnabled: on
nsslapd-pluginarg0:
nsslapd-pluginarg1:
nsslapd-plugin-depends-on-type: database
nsslapd-pluginId: NSUniqueAttr
nsslapd-pluginVersion: 6.02
nsslapd-pluginVendor: Netscape Communications Corporation
nsslapd-pluginDescription: Enforce unique attribute values
If you do not want the server to check every entry under the organizational unit
entry, you can limit the scope by specifying to perform the check only if the
updated entry contains a specified object class.
For example, if you check the uniqueness of the
necessary to perform the check only when you add or modify entries that contain
the
person
You can restrict the scope of the check by using the
keyword, as shown in the following example:
dn: cn=mail uniqueness,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: mail uniqueness
nsslapd-pluginPath: /usr/netscape/servers/lib/uid-plugin.so
nsslapd-pluginInitfunc: NSUniqueAttr_Init
nsslapd-pluginType: preoperation
nsslapd-pluginEnabled: on
nsslapd-pluginarg0:
478
Netscape Directory Server Administrator's Guide • May 2002
keyword.
attribute=mail
markerObjectClass=ou
or
object class.
inetorgperson
attribute=mail
) object class, you can create
ou
attribute, it is probably
mail
requiredObjectClass

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents