From: Ondřej Kuzník Date: Wed, 8 Oct 2025 16:11:09 +0000 (+0100) Subject: ITS#10379 Use a fresh timestamp for internal mod X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1414325c4d7bfd4a5ade7db6c3c49a441e470201;p=thirdparty%2Fopenldap.git ITS#10379 Use a fresh timestamp for internal mod --- diff --git a/servers/slapd/overlays/otp.c b/servers/slapd/overlays/otp.c index aa57111aa4..e2ffab03e8 100644 --- a/servers/slapd/overlays/otp.c +++ b/servers/slapd/overlays/otp.c @@ -966,6 +966,9 @@ otp_check_and_update( Operation *op, BerValue *totpdn, BerValue *hotpdn, op2.o_req_ndn = ndn; op2.o_opid = -1; + slap_op_time( &op2.o_time, &op2.o_tincr ); + BER_BVZERO( &op2.o_csn ); + rc = op2.o_bd->be_modify( &op2, &rs2 ); if ( rs2.sr_err != LDAP_SUCCESS ) { rc = LDAP_OTHER;