Diff for /libraries/libldap/sasl.c between versions 1.1.4.5 and 1.1.4.6

version 1.1.4.5, 2000/08/16 19:29:00 version 1.1.4.6, 2000/09/15 16:12:56
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.1.4.4 2000/07/29 01:53:09 kurt Exp $ */  /* $OpenLDAP$ */
 /*  /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 103  ldap_sasl_bind( Line 103  ldap_sasl_bind(
                         ld->ld_version, dn, LDAP_AUTH_SIMPLE,                          ld->ld_version, dn, LDAP_AUTH_SIMPLE,
                         cred );                          cred );
                                   
         } else if ( cred == NULL ) {          } else if ( cred == NULL || !cred->bv_len ) {
                 /* SASL bind w/o creditials */                  /* SASL bind w/o creditials */
                 rc = ber_printf( ber, "{it{ist{sN}N}" /*}*/,                  rc = ber_printf( ber, "{it{ist{sN}N}" /*}*/,
                         ++ld->ld_msgid, LDAP_REQ_BIND,                          ++ld->ld_msgid, LDAP_REQ_BIND,

Removed from v.1.1.4.5  
changed lines
  Added in v.1.1.4.6


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org