Do not cache group evaluation if result is SLAP_CB_CONTINUE

This commit is contained in:
Luke Howard 2005-07-22 08:27:51 +00:00
parent 3e47ba5aef
commit a8980ffe9e

View file

@ -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;