mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
Fix ITS#2200, must send non-NULL cred even if it's zero-length.
This commit is contained in:
parent
ce581462bd
commit
4056a8c8a7
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ ldap_sasl_bind(
|
|||
ld->ld_version, dn, LDAP_AUTH_SIMPLE,
|
||||
cred );
|
||||
|
||||
} else if ( cred == NULL || !cred->bv_len ) {
|
||||
} else if ( cred == NULL ) {
|
||||
/* SASL bind w/o creditials */
|
||||
rc = ber_printf( ber, "{it{ist{sN}N}" /*}*/,
|
||||
++ld->ld_msgid, LDAP_REQ_BIND,
|
||||
|
|
|
|||
Loading…
Reference in a new issue