]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10360 delta MPR: internal search should use logDB's rootDN
authorHoward Chu <hyc@openldap.org>
Thu, 19 Jun 2025 16:03:16 +0000 (17:03 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 23 Jun 2025 22:07:55 +0000 (22:07 +0000)
servers/slapd/syncrepl.c

index 3a204ddd605c74f71084b6fb896527fd795fc0d1..1cb0eb44e4e54d720564979433e90781683c5a18 100644 (file)
@@ -2997,6 +2997,8 @@ syncrepl_op_modify( Operation *op, SlapReply *rs )
 
                op2.o_callback = &cb;
                op2.o_bd = select_backend( &op2.o_req_ndn, 1 );
+               op2.o_dn = op2.o_bd->be_rootdn;
+               op2.o_ndn = op2.o_bd->be_rootndn;
                op2.o_bd->be_search( &op2, &rs1 );
                newlist = rx.rx_mods;
        }