From: Howard Chu Date: Sun, 24 Apr 2011 03:56:11 +0000 (-0700) Subject: ITS#6915 fix op timestamps X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~1397 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81687b321ca878e27824e017a111455e47c6231b;p=thirdparty%2Fopenldap.git ITS#6915 fix op timestamps This has always been broken since memberof was first written --- diff --git a/servers/slapd/overlays/memberof.c b/servers/slapd/overlays/memberof.c index 12055c4355..bb2b75134f 100644 --- a/servers/slapd/overlays/memberof.c +++ b/servers/slapd/overlays/memberof.c @@ -406,6 +406,7 @@ memberof_value_modify( LDAP_SLIST_INSERT_HEAD(&op2.o_extra, &oex, oe_next); BER_BVZERO( &op2.o_csn ); op2.o_bd->bd_info = (BackendInfo *)on->on_info; + slap_op_time( &op2.o_time, &op2.o_tincr ); (void)op->o_bd->be_modify( &op2, &rs2 ); op2.o_bd->bd_info = bi; LDAP_SLIST_REMOVE(&op2.o_extra, &oex, OpExtra, oe_next); @@ -449,6 +450,7 @@ memberof_value_modify( LDAP_SLIST_INSERT_HEAD(&op2.o_extra, &oex, oe_next); BER_BVZERO( &op2.o_csn ); op2.o_bd->bd_info = (BackendInfo *)on->on_info; + slap_op_time( &op2.o_time, &op2.o_tincr ); (void)op->o_bd->be_modify( &op2, &rs2 ); op2.o_bd->bd_info = bi; LDAP_SLIST_REMOVE(&op2.o_extra, &oex, OpExtra, oe_next);