ITS#4788 don't return auditContext attr on syncrepl searches

This commit is contained in:
Howard Chu 2006-12-23 22:10:34 +00:00
parent 7684514535
commit b6d860f556

View File

@ -1463,6 +1463,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 ) )
{