From 8d81c22e2dcb584b59700fc2d2349ea996753731 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 27 May 2026 17:30:04 +0100 Subject: [PATCH] ITS#10508 syncrepl: set no_opattrs on modrdn --- servers/slapd/syncrepl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 4a94773686..2b60a388e0 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -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) */