From: Luke Howard Date: Fri, 22 Jul 2005 08:27:51 +0000 (+0000) Subject: Do not cache group evaluation if result is SLAP_CB_CONTINUE X-Git-Tag: OPENLDAP_AC_BP~252 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8980ffe9eab05a72817c969e050c46ebc211cff;p=openldap Do not cache group evaluation if result is SLAP_CB_CONTINUE --- diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 51b7bdc0d5..1df2b0f427 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -950,7 +950,8 @@ slapi_over_acl_group( rc = LDAP_NO_SUCH_OBJECT; /* return SLAP_CB_CONTINUE for correctness? */ } - if ( op->o_tag != LDAP_REQ_BIND && !op->o_do_not_cache ) { + if ( op->o_tag != LDAP_REQ_BIND && !op->o_do_not_cache && + rc != SLAP_CB_CONTINUE ) { g = op->o_tmpalloc( sizeof( GroupAssertion ) + gr_ndn->bv_len, op->o_tmpmemctx ); g->ga_be = op->o_bd;