Processing An Ldap Search Operation - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Processing an LDAP Search Operation

The
unbind function.
The
unbind function.
You set these parameters to the names of your functions by calling
slapi_pblock_set()
Your plug-in functions should return 0 if successful. If the pre-operation function
returns a non-zero value, the post-operation unbind function is never called.
Processing an LDAP Search Operation
The server processes an LDAP search operation in two stages:
First, the server gets a list of candidate entries, using an index (if applicable).
For example, for a search filter that finds entries where "
checks the index for the "
start with "
If no applicable index exists, all entries are considered to be candidates.
To get the list of candidates, the server calls the backend search function. For
details, see "Getting the List of Candidates" on page 81.
Next, the server iterates through each candidate in the list and determines if
the candidate matches the search criteria.
If an entry matches the criteria, the server sends the entry to the client.
To check each candidate, the server calls the backend "next candidate"
function for each candidate in the list. For details, see "Iterating Through
Candidates" on page 82.
The rest of this section explains these stages in more detail.
80
Netscape Directory Server Plug-In Programmer's Guide • May 2002
SLAPI_PLUGIN_PRE_UNBIND_FN
SLAPI_PLUGIN_POST_UNBIND_FN
.
mail
", and generates a list of matching entries.
a
parameter specifies the pre-operation
parameter specifies the post-operation
" attribute (if the index exists), finds the keys that
", the server
mail=a*

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents