summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-16 13:01:56 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-16 14:42:11 +0200
commitf0e44c35afce5ceec5d247dbd4205301251e403c (patch)
tree2e0e3510aaed9e63bca5945d9f6a19111a2a54e7 /source4/torture/rpc
parentf3fae86549ee0ea6cef5cee27af7bb53e7963d7b (diff)
downloadsamba-f0e44c35afce5ceec5d247dbd4205301251e403c.tar.gz
samba-f0e44c35afce5ceec5d247dbd4205301251e403c.tar.bz2
samba-f0e44c35afce5ceec5d247dbd4205301251e403c.zip
drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]
metze (This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/dssync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 9c07e5f532..053f78e99b 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -711,7 +711,7 @@ static bool test_FetchData(struct torture_context *tctx, struct DsSyncTest *ctx)
test_analyse_objects(tctx, ctx, &gensec_skey, ctr1->first_object);
- if (ctr1->new_highwatermark.tmp_highest_usn > ctr1->new_highwatermark.highest_usn) {
+ if (ctr1->more_data) {
r.in.req.req5.highwatermark = ctr1->new_highwatermark;
continue;
}
@@ -739,7 +739,7 @@ static bool test_FetchData(struct torture_context *tctx, struct DsSyncTest *ctx)
test_analyse_objects(tctx, ctx, &gensec_skey, ctr6->first_object);
- if (ctr6->new_highwatermark.tmp_highest_usn > ctr6->new_highwatermark.highest_usn) {
+ if (ctr6->more_data) {
r.in.req.req8.highwatermark = ctr6->new_highwatermark;
continue;
}