From: Ondřej Kuzník Date: Fri, 19 Jul 2024 14:45:53 +0000 (+0100) Subject: ITS#10242 Record rid in operation related logs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b5bfddb798147496b888614b7e9b0d811a9869;p=thirdparty%2Fopenldap.git ITS#10242 Record rid in operation related logs --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 68ae31e7de..4a5d0c70e1 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2116,6 +2116,7 @@ do_syncrepl( op = &opbuf.ob_op; /* o_connids must be unique for slap_graduate_commit_csn */ op->o_connid = SLAPD_SYNC_RID2SYNCCONN(si->si_rid); + strcpy( op->o_log_prefix, si->si_ridtxt ); op->o_managedsait = SLAP_CONTROL_NONCRITICAL; be = si->si_be;