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

Fix ITS#2200, must send non-NULL cred even if it's zero-length.

parent ce581462
Branches
Tags
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment