mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix ITS#2200, must use SASL creds exactly as received
This commit is contained in:
parent
4056a8c8a7
commit
3260b26717
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user