mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#4788 don't return auditContext attr on syncrepl searches
This commit is contained in:
parent
7684514535
commit
b6d860f556
@ -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 ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user