]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10508 syncrepl: set no_opattrs on modrdn 887/head
authorHoward Chu <hyc@openldap.org>
Wed, 27 May 2026 16:30:04 +0000 (17:30 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 2 Jun 2026 15:21:29 +0000 (15:21 +0000)
servers/slapd/syncrepl.c

index 4a9477368699091878022944af0f022940ee0e85..2b60a388e05f0413a3179a75649a6e420ec1bccd 100644 (file)
@@ -4785,7 +4785,9 @@ retry_add:;
                        op->o_bd = si->si_wbe;
 retry_modrdn:;
                        rs_reinit( &rs_modify, REP_RESULT );
+                       op->orm_no_opattrs = 1;
                        rc = op->o_bd->be_modrdn( op, &rs_modify );
+                       op->orm_no_opattrs = 0;
 
                        /* NOTE: noSuchObject should result because the new superior
                         * has not been added yet (ITS#6472) */