mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Omit auditContext when sync control is present
This commit is contained in:
parent
bfd50b6ec5
commit
562b88a3cf
1 changed files with 3 additions and 0 deletions
|
|
@ -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 ) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue