From 3260b2671707af320784af9fbfba347adbcef220 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 28 Nov 2002 16:16:05 +0000 Subject: [PATCH] Fix ITS#2200, must use SASL creds exactly as received --- servers/slapd/sasl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 { -- 2.39.5