HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
DescriptionDefined Constant
Version 2 of the plug-in interface, which is supported by the
Directory Server 4.x release but not by previous releases.
SLAPI_PLUGIN_VERSION_02
Version 3 of the plug-in interface, which is supported by current
releases of Directory Server but not by previous releases.
SLAPI_PLUGIN_VERSION_03
53.9 Information about command-line arguments
The parameters listed below are used to determine the command-line arguments with which a
plug-in was invoked.
DescriptionData typeParameter ID
Determines the number of command-line arguments
with which the Directory Server was invoked.
intSLAPI_ARGC
Pointer to an array of character strings that contain
the command-line arguments, one per string, with
which the Directory Server was invoked.
char **SLAPI_ARGV
53.10 Information about attributes
The parameters listed below provide the following information about attributes:
Attribute names”
Attribute flags”
Attribute comparisons”
53.10.1 Attribute names
The parameters listed below are used to check for commonly-used attribute names. These are
not pblock parameters but macros that define strings; for example, SLAPI_ATTR_OBJECTCLASS
is objectclass.
DescriptionData typeParameter ID
The nscpEntryDN attribute value.intSLAPI_ATTR_NSCP_ENTRYDN
The objectclass attribute value.intSLAPI_ATTR_OBJECTCLASS
The nsuniqueid (unique ID) attribute value.intSLAPI_ATTR_UNIQUEID
The nsParentUniqueID attribute value.intSLAPI_ATTR_VALUE_PARENT_UNIQUEID
The nsTombstone attribute value.intSLAPI_ATTR_VALUE_TOMBSTONE
53.10.2 Attribute flags
The parameters listed below are used by the slapi_attr_get_flags() function to get the
flags associated with the specified attribute. These flags can identify an attribute as a single-
valued attribute, an operational attribute, or as a read-only attribute.
DescriptionParameter ID
Flag that indicates the optional collective marker has been set.
This is not supported.
SLAPI_ATTR_FLAG_COLLECTIVE
Flag that indicates this attribute cannot be modified by a user over
LDAP.
SLAPI_ATTR_FLAG_NOUSERMOD
Flag that indicates this attribute is obsolete.
SLAPI_ATTR_FLAG_OBSOLETE
396 Parameters accessible to all plug-ins