]> git.sur5r.net Git - openldap/commitdiff
SASL fixes
authorKurt Zeilenga <kurt@openldap.org>
Thu, 28 Nov 2002 23:18:37 +0000 (23:18 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 28 Nov 2002 23:18:37 +0000 (23:18 +0000)
libraries/libldap/sasl.c

index e5c64921d5ad82c57ea6ce2b52107d1ea8dd7d30..19cc3f6e942ffb23f39496ad9a799bf0766332bf 100644 (file)
@@ -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,