ITS#10379 slapo-lastbind: Use a fresh timestamp for lastbind mod

This commit is contained in:
Ondřej Kuzník 2025-08-27 16:02:00 +01:00 committed by Quanah Gibson-Mount
parent ce9ee22c7a
commit 52a8419bae

View file

@ -184,6 +184,13 @@ done:
op2.o_dn = op->o_bd->be_rootdn;
op2.o_ndn = op->o_bd->be_rootndn;
/*
* Other bind response logic (e.g. ppolicy) could have triggered a write
* with this operation - use a fresh timestamp.
*/
slap_op_time( &op2.o_time, &op2.o_tincr );
BER_BVZERO( &op2.o_csn );
/*
* Code for forwarding of updates adapted from ppolicy.c of slapo-ppolicy
*