Types Pre-Operation And Post-Operation Functions; Types Of Pre-Operation Functions - Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual

Table of Contents

Advertisement

Types Pre-Operation and Post-Operation
Functions
As is the case with other server plug-in functions, pre-operation functions and
post-operation functions are specified in a parameter block that you can set on
server startup. Each function corresponds to an ID in the parameter block. In your
initialization function, you can call the
the name of your function that corresponds to the pre-operation or post-operation
function. For more information on the parameter block, see "Getting Data from the
Parameter Block" on page 29.

Types of Pre-Operation Functions

Table 6-1 lists the Directory Server pre-operation functions and the purpose of each
function.
Table 6-1
Functions Called Before the Directory Server Executes an Operation
ID in Parameter Block
SLAPI_PLUGIN_PRE_BIND_FN
SLAPI_PLUGIN_PRE_UNBIND_FN
SLAPI_PLUGIN_PRE_SEARCH_FN
SLAPI_PLUGIN_PRE_COMPARE_FN
SLAPI_PLUGIN_PRE_ADD_FN
slapi_pblock_set()
Description
Specifies the function called before the Directory Server
executes an LDAP bind operation. For information on writing
this type of function, see "Processing an LDAP Bind
Operation" on page 78.
Specifies the function called before the Directory Server
executes an LDAP unbind operation. For information on
writing this type of function, see "Processing an LDAP
Unbind Operation" on page 79.
Specifies the function called before the Directory Server
executes an LDAP search operation. For information on
writing this type of function, see "Processing an LDAP Search
Operation" on page 80.
Specifies the function called before the Directory Server
executes an LDAP compare operation. For information on
writing this type of function, see "Processing an LDAP
Compare Operation" on page 84.
Specifies the function called before the Directory Server
executes an LDAP add operation. For information on writing
this type of function, see "Processing an LDAP Add
Operation" on page 84.
Chapter 6

Types Pre-Operation and Post-Operation Functions

function to specify
Writing Pre/Post-Operation Plug-Ins
73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents