Fix ITS#2200, must use SASL creds exactly as received

This commit is contained in:
Howard Chu 2002-11-28 16:16:05 +00:00
parent 4056a8c8a7
commit 3260b26717

View File

@ -1515,8 +1515,7 @@ int slap_sasl_bind(
if ( !conn->c_sasl_bind_in_progress ) {
sc = START( ctx,
conn->c_sasl_bind_mech.bv_val,
cred->bv_len ? cred->bv_val : "",
cred->bv_len,
cred->bv_val, cred->bv_len,
(SASL_CONST char **)&response.bv_val, &reslen, &errstr );
} else {