summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-07-29 23:39:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:11 -0500
commitc24a7249f074d2301079f7d354e4c1553391f4f3 (patch)
tree4fd9d38ed99c9eb20221390f0896f45361e38945 /source4/torture/rpc
parente4c43e07d05e9a735aa171d9cd35f1a5bc9294fc (diff)
downloadsamba-c24a7249f074d2301079f7d354e4c1553391f4f3.tar.gz
samba-c24a7249f074d2301079f7d354e4c1553391f4f3.tar.bz2
samba-c24a7249f074d2301079f7d354e4c1553391f4f3.zip
r8854: #if 0 out the right things this time. (Sorry about the build breakage)
Use "" for the no domain case. Andrew Bartlett (This used to be commit 4989ffe870408e9d9a9427b3cc79d756c94ed803)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samlogon.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c
index 116f5d0975..e219e9c140 100644
--- a/source4/torture/rpc/samlogon.c
+++ b/source4/torture/rpc/samlogon.c
@@ -722,7 +722,7 @@ static BOOL test_lmv2_ntlm_broken(struct samlogon_state *samlogon_state,
case NO_DOMAIN:
/* TODO - test with various domain cases, and without domain */
if (!SMBNTLMv2encrypt(samlogon_state->mem_ctx,
- samlogon_state->account_name, NULL,
+ samlogon_state->account_name, "",
samlogon_state->password, &samlogon_state->chall,
&names_blob,
&lmv2_response, &ntlmv2_response,
@@ -894,17 +894,17 @@ static BOOL test_ntlmv2_lmv2_broken_no_dom(struct samlogon_state *samlogon_state
return test_lmv2_ntlmv2_broken(samlogon_state, BREAK_LM, NO_DOMAIN, error_string);
}
-#if 0
static BOOL test_ntlmv2_ntlmv2_broken(struct samlogon_state *samlogon_state, char **error_string)
{
return test_lmv2_ntlmv2_broken(samlogon_state, BREAK_NT, UPPER_DOMAIN, error_string);
}
-#endif
+#if 0
static BOOL test_ntlmv2_ntlmv2_broken_no_dom(struct samlogon_state *samlogon_state, char **error_string)
{
return test_lmv2_ntlmv2_broken(samlogon_state, BREAK_NT, NO_DOMAIN, error_string);
}
+#endif
static BOOL test_ntlmv2_both_broken(struct samlogon_state *samlogon_state, char **error_string)
{
@@ -1146,9 +1146,7 @@ static const struct ntlm_tests {
{test_lmv2_no_dom, "LMv2 (no domain)", False},
{test_ntlmv2_lmv2_broken, "NTLMv2 and LMv2, LMv2 broken", False},
{test_ntlmv2_lmv2_broken_no_dom, "NTLMv2 and LMv2, LMv2 broken (no domain)", False},
-#if 0
{test_ntlmv2_ntlmv2_broken, "NTLMv2 and LMv2, NTLMv2 broken", False},
-#endif
#if 0
{test_ntlmv2_ntlmv2_broken_no_dom, "NTLMv2 and LMv2, NTLMv2 broken (no domain)", False},
#endif