From: Howard Chu Date: Thu, 28 Nov 2002 16:16:05 +0000 (+0000) Subject: Fix ITS#2200, must use SASL creds exactly as received X-Git-Tag: NO_SLAP_OP_BLOCKS~752 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3260b2671707af320784af9fbfba347adbcef220;p=openldap Fix ITS#2200, must use SASL creds exactly as received --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index dec3c1f972..876d7d99b5 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -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 {