From 1a71331ebca1f6b7d90d696468e44f1ce4ec08f8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 11 Jan 2005 06:15:11 +0000 Subject: r4675: Prevent global warming, and save tridge's sainity by short-cutting the testsuite for all the different flag types. (We really only need to know if we are getting the session key crypto stuff right, and one call can tell us that). Andrew Bartlett (This used to be commit 8807498f6d3ff248c4d42bf18db45cfe25bd3b2f) --- source4/torture/rpc/samlogon.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 3e12054e03..afb30b1987 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -1035,6 +1035,7 @@ static const struct ntlm_tests { const char *name; BOOL expect_fail; } test_table[] = { + {test_lmv2_ntlmv2, "NTLMv2 and LMv2", False}, {test_lm, "LM", False}, {test_lm_ntlm, "LM and NTLM", False}, {test_lm_ntlm_both_broken, "LM and NTLM, both broken", False}, @@ -1042,7 +1043,6 @@ static const struct ntlm_tests { {test_ntlm_in_lm, "NTLM in LM", False}, {test_ntlm_in_both, "NTLM in both", False}, {test_ntlmv2, "NTLMv2", False}, - {test_lmv2_ntlmv2, "NTLMv2 and LMv2", False}, {test_lmv2, "LMv2", False}, {test_ntlmv2_lmv2_broken, "NTLMv2 and LMv2, LMv2 broken", False}, {test_ntlmv2_ntlmv2_broken, "NTLMv2 and LMv2, NTLMv2 broken", False}, @@ -1065,7 +1065,8 @@ static const struct ntlm_tests { try a netlogon SamLogon */ static BOOL test_SamLogon(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, - struct creds_CredentialState *creds) + struct creds_CredentialState *creds, + int n_subtests) { int i, v, l, f; BOOL ret = True; @@ -1106,6 +1107,9 @@ static BOOL test_SamLogon(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, for (f=0;f n_subtests)) { + continue; + } for (v=0;v