]> git.sur5r.net Git - openldap/commitdiff
force the generation of a new CSN (ITS#6766)
authorPierangelo Masarati <ando@openldap.org>
Mon, 3 Jan 2011 00:04:53 +0000 (00:04 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 3 Jan 2011 00:04:53 +0000 (00:04 +0000)
servers/slapd/overlays/memberof.c

index 3f96b25c9fb2815c620f145b98a945b396a74739..12055c43554bd513265ab175429d98e381de2b73 100644 (file)
@@ -404,6 +404,7 @@ memberof_value_modify(
 
                oex.oe_key = (void *)&memberof;
                LDAP_SLIST_INSERT_HEAD(&op2.o_extra, &oex, oe_next);
+               BER_BVZERO( &op2.o_csn );
                op2.o_bd->bd_info = (BackendInfo *)on->on_info;
                (void)op->o_bd->be_modify( &op2, &rs2 );
                op2.o_bd->bd_info = bi;
@@ -446,6 +447,7 @@ memberof_value_modify(
 
                oex.oe_key = (void *)&memberof;
                LDAP_SLIST_INSERT_HEAD(&op2.o_extra, &oex, oe_next);
+               BER_BVZERO( &op2.o_csn );
                op2.o_bd->bd_info = (BackendInfo *)on->on_info;
                (void)op->o_bd->be_modify( &op2, &rs2 );
                op2.o_bd->bd_info = bi;