Parameters for the Search Function
Parameter ID
SLAPI_SEARCH_SCOPE
SLAPI_SEARCH_DEREF
SLAPI_SEARCH_SIZELIMIT
SLAPI_SEARCH_TIMELIMIT
SLAPI_SEARCH_FILTER
SLAPI_SEARCH_STRFILTER
SLAPI_SEARCH_ATTRS
SLAPI_SEARCH_ATTRSONLY
Parameters for Executing the Search
The following parameters are set by the front-end and back-end database as part of
the process of executing the search.
Parameter ID
SLAPI_SEARCH_RESULT_SET
574
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Data Type
Description
The scope of the search. The scope can be one of the
int
following values:
• LDAP_SCOPE_BASE
• LDAP_SCOPE_ONELEVEL
• LDAP_SCOPE_SUBTREE
Method for handling aliases in a search. This
int
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 return in the search
int
results.
Maximum amount of time (in seconds) allowed for
int
the search operation.
Slapi_Filter struct (an opaque data structure)
Slapi_Filter *
representing the filter to be used in the search.
String representation of the filter to be used in the
char *
search.
Array of attribute types to be returned in the search
char **
results.
Specifies whether the search results return attribute
int
types only or attribute types and values. (0 means
return both attributes and values; 1 means return
attribute types only).
Data Type
void *
Description
Set of search results.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers