summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-12 13:06:32 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-12 13:06:32 +1000
commita8ab1e2570ac2a2e772295cd0cc46b7e60398043 (patch)
tree4f92bc1e8a29a8a40f67cfcd77f02908a388ca16
parent493166b0094b973f7ed6fa98ed66eb0ffebc1447 (diff)
downloadsamba-a8ab1e2570ac2a2e772295cd0cc46b7e60398043.tar.gz
samba-a8ab1e2570ac2a2e772295cd0cc46b7e60398043.tar.bz2
samba-a8ab1e2570ac2a2e772295cd0cc46b7e60398043.zip
s4-drs: also fill in tmp_highest_usn
Without this the client will not update its repsFrom highest_usn values
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 4cd71addf0..4dce07e24a 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -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;
}