summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-04-07 09:27:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:09 -0500
commit82285f2e0efe2b2c741268f8bbe80510e5b00f28 (patch)
treea22c5924c75ca799eb2be2370212fc86b04fbffc /source3/utils
parent1db9257c953c93c3f26596a535e4f26b609e7955 (diff)
downloadsamba-82285f2e0efe2b2c741268f8bbe80510e5b00f28.tar.gz
samba-82285f2e0efe2b2c741268f8bbe80510e5b00f28.tar.bz2
samba-82285f2e0efe2b2c741268f8bbe80510e5b00f28.zip
r104: Fix ntlm_auth by adding the new strhex_to_data_blob() call.
Andrew Bartlett (This used to be commit 0693b9e79fabd58491f8aaec11dbbc71fab34f80)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/ntlm_auth.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 09306adc78..c926d07698 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -2166,18 +2166,14 @@ enum {
while((opt = poptGetNextOpt(pc)) != -1) {
switch (opt) {
case OPT_CHALLENGE:
-#if 0 /* Mr Bartlett FIX THE BUILD ! */
opt_challenge = strhex_to_data_blob(hex_challenge);
-#endif
if (opt_challenge.length != 8) {
x_fprintf(x_stderr, "hex decode of %s failed!\n", hex_challenge);
exit(1);
}
break;
case OPT_LM:
-#if 0 /* Mr Bartlett FIX THE BUILD ! */
opt_lm_response = strhex_to_data_blob(hex_lm_response);
-#endif
if (opt_lm_response.length != 24) {
x_fprintf(x_stderr, "hex decode of %s failed!\n", hex_lm_response);
exit(1);
@@ -2185,9 +2181,7 @@ enum {
break;
case OPT_NT:
-#if 0 /* Mr Bartlett FIX THE BUILD ! */
opt_nt_response = strhex_to_data_blob(hex_nt_response);
-#endif
if (opt_nt_response.length < 24) {
x_fprintf(x_stderr, "hex decode of %s failed!\n", hex_nt_response);
exit(1);