55.3. Parameters for the Search Results

The entry and referrals options listed below are set/read by both the frontend and backend database while stepping through the search results.
Parameters that Return Data Types

The parameters listed below return data types.

Parameter ID Data Type Description
SLAPI_RESULT_CODE int * Result code that was encountered during the search; this corresponds to the resultCode field within an LDAPResult message.
SLAPI_RESULT_MATCHED char * The portion of the target DN that was matched; this corresponds to the matchedDN field within an LDAPResult message.
SLAPI_RESULT_TEXT char * The textual error message; this corresponds to the errorMessage field within an LDAPResult message.
SLAPI_PB_RESULT_TEXT char * A textual error message passed from internal subsystems to a plug-in. Currently used by the slapi_entry_schema_check() function to provide extra explantory information when it returns a non-zero value, when the schema check fails.