From: Howard Chu Date: Wed, 27 May 2026 16:30:04 +0000 (+0100) Subject: ITS#10508 syncrepl: set no_opattrs on modrdn X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d81c22e2dcb584b59700fc2d2349ea996753731;p=thirdparty%2Fopenldap.git ITS#10508 syncrepl: set no_opattrs on modrdn --- 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) */