This function takes the following parameters:
Parameter block.
The base of the search.
LDAP_SCOPE_SUBTREE, LDAP_SCOPE_ONELEVEL , or LDAP_SCOPE_BASE
The search filter.
Request attribute list.
This parameter is currently ignored.
Specifying 1 retrieves only the attribute types. Specifying 0 retrieves the attribute types and the attribute values.
LDAP control that you wish to attach.
Unique ID must be set to NULL.
Plug-in identifier obtained from SLAPI_PLUGIN_IDENTITY during plug-in initialization.
The only flag that is exposed in this release is SLAPI_OP_FLAG_NEVER_CHAIN . If this flag is set, then the search will not be conducted if the entry is a chained backend.