summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/ntlmssp.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-05-02 12:42:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:43 -0500
commitd8bb3d81a6396c4051be00de0808c60839b6945e (patch)
tree885502119e7fcc429fd968c1d207ae195969b3df /source4/libcli/auth/ntlmssp.h
parent63a41d7d4dbdf04b9718757886fdd087ad597d30 (diff)
downloadsamba-d8bb3d81a6396c4051be00de0808c60839b6945e.tar.gz
samba-d8bb3d81a6396c4051be00de0808c60839b6945e.tar.bz2
samba-d8bb3d81a6396c4051be00de0808c60839b6945e.zip
r451: More NTLMSSP work.
The work here is trying to get the LM_KEY option for NLTMSSP operating, however until that functions properly, it is now controlled by some new smb.conf options, defaulting off. Andrew Bartlett (This used to be commit c63eb35b45c6db6e4c5302d1832bb5cef49a14f6)
Diffstat (limited to 'source4/libcli/auth/ntlmssp.h')
-rw-r--r--source4/libcli/auth/ntlmssp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libcli/auth/ntlmssp.h b/source4/libcli/auth/ntlmssp.h
index d678e26e21..a5e0951fa8 100644
--- a/source4/libcli/auth/ntlmssp.h
+++ b/source4/libcli/auth/ntlmssp.h
@@ -61,7 +61,7 @@ enum NTLM_MESSAGE_TYPE
#define NTLMSSP_CHAL_TARGET_INFO 0x00800000
#define NTLMSSP_NEGOTIATE_128 0x20000000 /* 128-bit encryption */
#define NTLMSSP_NEGOTIATE_KEY_EXCH 0x40000000
-#define NTLMSSP_NEGOTIATE_080000000 0x80000000
+#define NTLMSSP_NEGOTIATE_56 0x80000000
#define NTLMSSP_NAME_TYPE_SERVER 0x01
#define NTLMSSP_NAME_TYPE_DOMAIN 0x02
@@ -80,6 +80,9 @@ typedef struct ntlmssp_state
BOOL unicode;
BOOL use_ntlmv2;
+ BOOL use_nt_response; /* Set to 'NO' to debug what happens when the NT response is omited */
+ BOOL allow_lm_key; /* The LM_KEY code is not functional at this point, and it's not
+ very secure anyway */
char *user;
char *domain;
char *workstation;