(Input) Specifies the result of an LDAP operation as returned by ldap_result() or one of the synchronous LDAP API
operation calls.
servercredp
(Output) Specifies a pointer to a result parameter. For SASL bind results,
this result parameter will be filled in with the credentials returned by the
server for mutual authentication (if returned). The credentials, if returned,
are returned in a struct berval. NULL may be supplied to ignore this
field.
freeit
(Input) Specifies a boolean value that determines if the LDAP result chain
(as specified by ref) is to be freed. Any non-zero value will result
in the LDAP result chain being freed after the requested information is
extracted. Alternatively, the ldap_msgfree() API
can be used to free the LDAP result chain at a later time.
Return Value
LDAP_SUCCESS
if the result was successfully located and parsed.
another LDAP error code
if not successfully parsed.
Error Conditions
The ldap_parse_sasl_bind_result() function will return an
LDAP error code if not successful. See LDAP
Client API Error Conditions for possible LDAP error code values.
Error Messages
The following message may be sent from this function.
Message ID
Error Message Text
CPF3CF2 E
Error(s) occurred during running of
ldap_parse_sasl_bind_result API.