Omit auditContext when sync control is present

This commit is contained in:
Howard Chu 2007-12-08 17:03:47 +00:00
parent bfd50b6ec5
commit 562b88a3cf

View file

@ -1826,6 +1826,9 @@ accesslog_operational( Operation *op, SlapReply *rs )
slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
log_info *li = on->on_bi.bi_private;
if ( op->o_sync != SLAP_CONTROL_NONE )
return SLAP_CB_CONTINUE;
if ( rs->sr_entry != NULL
&& dn_match( &op->o_bd->be_nsuffix[0], &rs->sr_entry->e_nname ) )
{