HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
53.3 Information about the operation
The parameters listed below specify informationabout the current operation. These parameters
are available for all types of plug-ins.
DescriptionData typeParameter ID
Information about the operation currently in
progress.
Slapi_Operation *SLAPI_OPERATION
Time when the server began processing the
operation.
time_tSLAPI_OPINITIATED_TIME
Specifies whether the user requesting the operation
is the root DN.
1 means that the root DN is requesting the
operation.
0 means that the user requesting the operation is
not the root DN.
The root DN is the superuser of the directory. This
DN is specified by the nsslapd-rootdn attribute
in the cn=config entry in the server configuration
file.
intSLAPI_REQUESTOR_ISROOT
Deprecated.
intSLAPI_REQUESTOR_ISUPDATEDN
Specifies the DN of the user requesting the operation.
char *SLAPI_REQUESTOR_DN
Specifies the DN to which the operation applies; for
example, the DN of the entry being added or
removed.
char *SLAPI_TARGET_DN
Array of the controls specified in the request.
LDAPControl **SLAPI_REQCONTROLS
Allows control arguments to be passed before an
operation object is created.
LDAPControl **SLAPI_CONTROLS_ARG
53.4 Information about extended operations
The following table lists the parameters in the parameter block passed to extended operation
functions. If you are writing your own plug-in function for performing this work, you can get
these values by calling the function.
DescriptionData typeParameter ID
Object ID (OID) of the extended operation specified
in the request.
char *SLAPI_EXT_OP_REQ_OID
Value specified in the request.
struct berval*SLAPI_EXT_OP_REQ_VALUE
Object ID (OID) that you want sent back to the client.
char *SLAPI_EXT_OP_RET_OID
Return value that you want sent back to the client.
struct berval*SLAPI_EXT_OP_RET_VALUE
53.5 Information about the transaction
The parameters listed below specify information about the current transaction. These parameters
are available for all types of plug-ins.
DescriptionData typeParameter ID
Parent transaction.
void *SLAPI_PARENT_TXN
ID for current transaction.
void *SLAPI_TXN
53.3 Information about the operation 393