Diff for /libraries/libldap/sasl.c between versions 1.49 and 1.50

version 1.49, 2003/02/13 22:02:31 version 1.50, 2003/05/22 14:21:14
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.49 2003/02/13 22:02:31 hyc Exp $ */
 /*  /*
  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 77  ldap_sasl_bind( Line 77  ldap_sasl_bind(
         if( rc != LDAP_SUCCESS ) return rc;          if( rc != LDAP_SUCCESS ) return rc;
   
         if( mechanism == LDAP_SASL_SIMPLE ) {          if( mechanism == LDAP_SASL_SIMPLE ) {
                 if( dn == NULL && cred != NULL ) {                  if( dn == NULL && cred != NULL && cred->bv_len ) {
                         /* use default binddn */                          /* use default binddn */
                         dn = ld->ld_defbinddn;                          dn = ld->ld_defbinddn;
                 }                  }

Removed from v.1.49  
changed lines
  Added in v.1.50


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