summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-11 12:23:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:57 -0500
commitca3e134c8b3920102f45db53d0e816d74c809244 (patch)
treef52c6fa0308b57277b44d1e798073db984cb88f3
parentf3303bc8f6c175759e064f08924bb730c14d319b (diff)
downloadsamba-ca3e134c8b3920102f45db53d0e816d74c809244.tar.gz
samba-ca3e134c8b3920102f45db53d0e816d74c809244.tar.bz2
samba-ca3e134c8b3920102f45db53d0e816d74c809244.zip
r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'... Andrew Bartlett (This used to be commit 99786cbaa942450c8970f5f14fbce931ab3e98ed)
-rw-r--r--source4/torture/rpc/netlogon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 352faa2c14..0e281c6736 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -1012,17 +1012,17 @@ static BOOL test_DatabaseSync2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
int i;
BOOL ret = True;
- if (lp_parm_bool(-1, "torture", "samba4", False)) {
- printf("skipping DatabaseSync2 test against Samba4\n");
- return True;
- }
-
if (!test_SetupCredentials2(p, mem_ctx, NETLOGON_NEG_AUTH2_FLAGS,
TEST_MACHINE_NAME, machine_password,
SEC_CHAN_BDC, &creds)) {
return False;
}
+ if (lp_parm_bool(-1, "torture", "samba4", False)) {
+ printf("skipping DatabaseSync2 test against Samba4\n");
+ return True;
+ }
+
r.in.logon_server = talloc_asprintf(mem_ctx, "\\\\%s", dcerpc_server_name(p));
r.in.computername = TEST_MACHINE_NAME;
r.in.preferredmaximumlength = (uint32_t)-1;