Specifying Start and Close Functions
Specifying Start and Close Functions
For each pre-operation and post-operation plug-in, you can specify the name of a
function to be called after the server starts and before the server is shut down.
Use the following parameters to specify these functions:
SLAPI_PLUGIN_START_FN
SLAPI_PLUGIN_CLOSE_FN
If you register multiple plug-ins with different start and close functions, the
functions are called in the order that the plug-ins are registered (in other words, in
the order that the
Processing an LDAP Bind Operation
When the Directory Server receives an LDAP bind request from a client, the
front-end determines the DN as which the client is attempting to bind and the
authentication method being used. The front-end also gets the credentials used
for authentication and, if SASL is used for authentication, the SASL mechanism
used.
Defining Functions for the Bind Operation
In the parameter block, the following parameters specify plug-in functions that
are called in the process of executing a bind operation:
•
The
function.
•
The
bind function.
You register your plug-in functions by calling
parameters in your initialization function. (For details, see "Registering Your
Plug-in Functions," on page 44.)
88
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Specifies the function called after the Directory Server
starts up.
Specifies the function called before the Directory Server
shuts down.
directives appear in the server configuration file).
plugin
SLAPI_PLUGIN_PRE_BIND_FN
SLAPI_PLUGIN_POST_BIND_FN
parameter specifies the pre-operation bind
parameter specifies the post-operation
slapi_pblock_set()
to set these
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers