Getting The List Of Candidates - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Getting the List of Candidates

When the Directory Server receives an LDAP search request, the front-end gets
information about the search (such as the scope and base DN). The front-end
normalizes the base DN (by calling the
determines if the base DN identifies a DSA-specific entry (DSE). If so, the front-end
handles the search request directly and does not pass it to the backend search
function.
If the base DN is not a DSE, the front-end finds the back-end that services the suffix
specified in the base DN. The front-end then passes the search criteria to the search
function for that back-end.
The front-end makes this information available to pre-operation and
post-operation plug-in functions in the form of parameters in a parameter block.
Parameter ID
SLAPI_SEARCH_TARGET
SLAPI_SEARCH_SCOPE
SLAPI_SEARCH_DEREF
SLAPI_SEARCH_SIZELIMIT
SLAPI_SEARCH_TIMELIMIT
slapi_dn_normalize()
Data Type
Description
DN of the base entry in the search
char *
operation (the starting point of
the search).
The scope of the search. The
int
scope can be one of the following
values:
• LDAP_SCOPE_BASE
• LDAP_SCOPE_ONELEVEL
• LDAP_SCOPE_SUBTREE
Method for handling aliases in a
int
search. This method can be one of
the following values:
• LDAP_DEREF_NEVER
• LDAP_DEREF_SEARCHING
• LDAP_DEREF_FINDING
• LDAP_DEREF_ALWAYS
Maximum number of entries to
int
return in the search results.
Maximum amount of time (in
int
seconds) allowed for the search
operation.
Chapter 7
Defining Functions for LDAP Operations
Processing an LDAP Search Operation
function) and
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents