Patch for SASL EXTERNAL. Needs to be tested with other mechanisms.

This commit is contained in:
Kurt Zeilenga 2001-09-18 07:44:18 +00:00
parent e4d8a87ddc
commit 7a18352c06

View file

@ -636,9 +636,11 @@ int slap_sasl_bind(
}
if ( !conn->c_sasl_bind_in_progress ) {
const char *kludge = "";
sc = sasl_server_start( ctx,
conn->c_sasl_bind_mech,
cred->bv_val, cred->bv_len,
cred->bv_len ? cred->bv_val : kludge,
cred->bv_len,
(char **)&response.bv_val, &reslen, &errstr );
} else {