From: Quanah Gibson-Mount Date: Mon, 10 Dec 2007 19:03:30 +0000 (+0000) Subject: Omit auditContext when sync control is present X-Git-Tag: OPENLDAP_REL_ENG_2_4_7~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=07bb97db03b97ee341136b2f9f227b41779126b3;p=openldap Omit auditContext when sync control is present --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 90205ca45c..2a04e84c39 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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 ) ) {