Diff for /libraries/libldap/sasl.c between versions 1.41.2.6 and 1.45

version 1.41.2.6, 2003/02/09 17:02:18 version 1.45, 2002/11/28 15:15:27
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.48 2003/02/09 06:42:25 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.44 2002/07/11 18:33:26 julius Exp $ */
 /*  /*
  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */   */
   
Line 105  ldap_sasl_bind( Line 105  ldap_sasl_bind(
                         ld->ld_version, dn, LDAP_AUTH_SIMPLE,                          ld->ld_version, dn, LDAP_AUTH_SIMPLE,
                         cred );                          cred );
                                   
         } else if ( cred == NULL || cred->bv_val == NULL ) {          } else if ( cred == NULL ) {
                 /* 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,
Line 138  ldap_sasl_bind( Line 138  ldap_sasl_bind(
                 return ld->ld_errno;                  return ld->ld_errno;
         }          }
   
   #ifndef LDAP_NOCACHE
           if ( ld->ld_cache != NULL ) {
                   ldap_flush_cache( ld );
           }
   #endif /* !LDAP_NOCACHE */
   
         /* send the message */          /* send the message */
         *msgidp = ldap_send_initial_request( ld, LDAP_REQ_BIND, dn, ber );          *msgidp = ldap_send_initial_request( ld, LDAP_REQ_BIND, dn, ber );

Removed from v.1.41.2.6  
changed lines
  Added in v.1.45


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