From a8980ffe9eab05a72817c969e050c46ebc211cff Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 22 Jul 2005 08:27:51 +0000 Subject: [PATCH] Do not cache group evaluation if result is SLAP_CB_CONTINUE --- servers/slapd/slapi/slapi_overlay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5