]> 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>
Wed, 17 Sep 2025 17:26:53 +0000 (17:26 +0000)
servers/slapd/syncrepl.c

index 4679fb1a3dc970e80c0e19ea3fdb6ddf75f5513b..f8a57686f86b7647b6007de31a762d20dc1499e4 100644 (file)
@@ -2978,6 +2978,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;
        }