Author: abartlet
Date: 2005-07-29 23:39:11 +0000 (Fri, 29 Jul 2005)
New Revision: 8854

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8854

Log:
#if 0 out the right things this time.  (Sorry about the build breakage)

Use "" for the no domain case.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/rpc/samlogon.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samlogon.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samlogon.c    2005-07-29 23:33:11 UTC 
(rev 8853)
+++ branches/SAMBA_4_0/source/torture/rpc/samlogon.c    2005-07-29 23:39:11 UTC 
(rev 8854)
@@ -722,7 +722,7 @@
        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 @@
        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 @@
        {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

Reply via email to