mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Fix sasl_server_start invocation, must pass NULL cred when credlen is 0.
This commit is contained in:
parent
0f86bbde87
commit
24f1a11cde
1 changed files with 1 additions and 1 deletions
|
|
@ -1495,7 +1495,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 : NULL,
|
||||
cred->bv_len,
|
||||
(SASL_CONST char **)&response.bv_val, &reslen, &errstr );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue