]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#2200, revert patch in rev 1.128. SASL/Kerberos4 requires a patch
authorHoward Chu <hyc@openldap.org>
Wed, 27 Nov 2002 03:46:42 +0000 (03:46 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 27 Nov 2002 03:46:42 +0000 (03:46 +0000)
to Cyrus SASL lib/server.c, can't fix it here.

servers/slapd/sasl.c

index da408fc394f549229b40b00d9f087a8a2857109b..6b7dd8c0c1486da5c9b02f35a9e840f4f86b8692 100644 (file)
@@ -1515,7 +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 : NULL,
+                       cred->bv_len ? cred->bv_val : "",
                        cred->bv_len,
                        (SASL_CONST char **)&response.bv_val, &reslen, &errstr );