]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4-drs: also fill in tmp_highest_usn
authorAndrew Tridgell <tridge@samba.org>
Sat, 12 Sep 2009 03:06:32 +0000 (13:06 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 12 Sep 2009 03:06:32 +0000 (13:06 +1000)
Without this the client will not update its repsFrom highest_usn values

source4/rpc_server/drsuapi/getncchanges.c

index 4cd71addf0433fd27a39871a05f6ba328b69b05f..4dce07e24a6c9a622fa6e533bdf85d4f688ee5e6 100644 (file)
@@ -363,6 +363,7 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
 
                uSN = ldb_msg_find_attr_as_int(site_res->msgs[i], "uSNChanged", -1);
                if (uSN > r->out.ctr->ctr6.new_highwatermark.highest_usn) {
+                       r->out.ctr->ctr6.new_highwatermark.tmp_highest_usn = uSN;
                        r->out.ctr->ctr6.new_highwatermark.highest_usn = uSN;
                }