summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-02 04:59:18 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-02 04:59:18 +0000
commit399496d9d9f67a8bae70f98a851aa3b4f30686c2 (patch)
treea57e9de4d76b4bc68df2dea0159587406e9cbb4f /source4/torture
parent9632db5a19f69500f42211fd53cc38bc18991b83 (diff)
downloadsamba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.tar.gz
samba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.tar.bz2
samba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.zip
netr_DatabaseSync() now works fully for databases 0, 1 and 2
(This used to be commit c4c09e9413d3886e030e98739121bbae81f80ca5)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index d8bacac87c..f9d0ad4463 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -258,11 +258,11 @@ static BOOL test_DatabaseSync(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
r.in.logonserver = talloc_asprintf(mem_ctx, "\\\\%s", dcerpc_server_name(p));
r.in.computername = lp_netbios_name();
- r.in.sync_context = 0;
r.in.preferredmaximumlength = (uint32)-1;
ZERO_STRUCT(r.in.return_authenticator);
for (i=0;i<ARRAY_SIZE(database_ids);i++) {
+ r.in.sync_context = 0;
r.in.database_id = database_ids[i];
printf("Testing DatabaseSync of id %d\n", r.in.database_id);