Diff for /servers/slapd/saslauthz.c between versions 1.144.2.17 and 1.144.2.18

version 1.144.2.17, 2006/11/24 10:31:51 version 1.144.2.18, 2006/11/24 12:02:11
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/saslauthz.c,v 1.144.2.16 2006/11/12 01:58:18 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/saslauthz.c,v 1.144.2.17 2006/11/24 10:31:51 ando Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2006 The OpenLDAP Foundation.   * Copyright 1998-2006 The OpenLDAP Foundation.
Line 1872  slap_sasl_check_authz( Operation *op, Line 1872  slap_sasl_check_authz( Operation *op,
         AttributeDescription *ad,          AttributeDescription *ad,
         struct berval *authc )          struct berval *authc )
 {  {
         int rc;          int             rc,
         BerVarray vals = NULL;                          do_not_cache = op->o_do_not_cache;
           BerVarray       vals = NULL;
   
         Debug( LDAP_DEBUG_TRACE,          Debug( LDAP_DEBUG_TRACE,
            "==>slap_sasl_check_authz: does %s match %s rule in %s?\n",             "==>slap_sasl_check_authz: does %s match %s rule in %s?\n",
            assertDN->bv_val, ad->ad_cname.bv_val, searchDN->bv_val);             assertDN->bv_val, ad->ad_cname.bv_val, searchDN->bv_val);
   
           /* ITS#4760: don't cache group access */
           op->o_do_not_cache = 1;
         rc = backend_attribute( op, NULL, searchDN, ad, &vals, ACL_AUTH );          rc = backend_attribute( op, NULL, searchDN, ad, &vals, ACL_AUTH );
           op->o_do_not_cache = do_not_cache;
         if( rc != LDAP_SUCCESS ) goto COMPLETE;          if( rc != LDAP_SUCCESS ) goto COMPLETE;
   
         /* Check if the *assertDN matches any *vals */          /* Check if the *assertDN matches any *vals */

Removed from v.1.144.2.17  
changed lines
  Added in v.1.144.2.18


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