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

version 1.41.2.6, 2003/02/09 17:02:18 version 1.41.2.7, 2003/05/22 22:22:41
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.48 2003/02/09 06:42:25 kurt Exp $ */  /* $OpenLDAP$ */
 /*  /*
  * 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 76  ldap_sasl_bind( Line 76  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.41.2.6  
changed lines
  Added in v.1.41.2.7


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