s4:drsuapi: make sure we report the meta data from the cycle start (bug #9508)
commit807f319c13c17faad82454cf0adfee3bccb7425c
authorStefan Metzmacher <metze@samba.org>
Tue, 18 Dec 2012 13:59:20 +0000 (18 14:59 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 11 Jan 2013 09:41:24 +0000 (11 10:41 +0100)
tree72b1c371528c274ad58488078394ac74389fb695
parentde07dfc9aa45a1b30fe158fb3f1e033106f15f4c
s4:drsuapi: make sure we report the meta data from the cycle start (bug #9508)

We should build the final highwatermark and uptodatevector of
a replication cycle at the start of the cycle. Before we
search for the currently missing objects.

Otherwise we risk that some objects get lost.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 88833b089a90e8f685d15b508f2e4615afb3a16f)
source4/rpc_server/drsuapi/getncchanges.c