HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
65 Parameters for the database
The parameters listed in this section can be used to get and set information about the database
itself, database connections, and database operations.
“Information about the database”
“Information about operations”
“Information about back end state change”
65.1 Information about the database
The following parameters can be used as the second argument to the “slapi_pblock_get()” and
“slapi_pblock_set()” functions to get and set information about the database.
DescriptionData typeParameter ID
A pointer to the back end database that is handling
the operation.
Slapi_Back end *SLAPI_BACKEND
A value that indicates whether the back end database
is tracking modifiersName and modifyTimeStamp;
true if the value is not zero.
int *
SLAPI_BE_LASTMOD
A value that indicates whether the back end database
is accepting updates; not accepting updates if the value
is not zero.
int *SLAPI_BE_READONLY
The database type name; for example, ldbm database.
char *SLAPI_BE_TYPE
Indicates the requestor is root.
int *SLAPI_REQUESTOR_ISROOT
65.2 Information about operations
The following parameters can be used as the second argument to the “slapi_pblock_get()” and
“slapi_pblock_set()” functions to get and set information about operations.
DescriptionData typeParameter ID
The authorization type for the operation.
char *SLAPI_OPERATION_AUTHTYPE
The operation ID.
intSLAPI_OPERATION_ID
The operation type; the type is one of the
SLAPI_OPERATION_xxx values.
intSLAPI_OPERATION_TYPE
The time in seconds since 00:00:00 UTC, January 1,
1970, when the Directory Server started processing
the operation.
time_tSLAPI_OPINITIATED_TIME
The bind DN at the time processing of the operation
began.
char *SLAPI_REQUESTOR_DN
Flag that indicates this is a legacy replicated operation.
intSLAPI_IS_LEGACY_REPLICATED_OPERATION
Flag that indicates this is an MMR replicated
operation.
intSLAPI_IS_MMR_REPLICATED_OPERATION
Flag that indicates this is a replicated operation.
intSLAPI_IS_REPLICATED_OPERATION
65.1 Information about the database 421