Skip to content
Snippets Groups Projects
Commit 3260b267 authored by Howard Chu's avatar Howard Chu
Browse files

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

parent 4056a8c8
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment