summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-17 07:31:54 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-17 07:31:54 +0000
commit8f5f2eb454b89e0988ab795fb6e695a3d090c54d (patch)
treeb62fc305d18d4e2ac28cc084e4f9943a07f0de5b /source3/smbd
parente2cd994c9033f4c8ebc840efcbadd572528fb12d (diff)
downloadsamba-8f5f2eb454b89e0988ab795fb6e695a3d090c54d.tar.gz
samba-8f5f2eb454b89e0988ab795fb6e695a3d090c54d.tar.bz2
samba-8f5f2eb454b89e0988ab795fb6e695a3d090c54d.zip
Change which session key we negotiate. This uses the NT-based session key that
we previously expected, rather than the LM based key. A Win2k SPNEGO enabled join goes a *lot* further with this option on. Andrew Bartlett (This used to be commit b224938e4e843288630cdc7c3c3931b241bd0e1a)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 8fb5a50697..77f93812dd 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -312,7 +312,7 @@ static int reply_spnego_negotiate(connection_struct *conn,
return the flags we want. Obviously this is not correct */
chal_flags = NTLMSSP_NEGOTIATE_UNICODE |
- NTLMSSP_NEGOTIATE_LM_KEY |
+ NTLMSSP_NEGOTIATE_128 |
NTLMSSP_NEGOTIATE_NTLM |
NTLMSSP_CHAL_TARGET_INFO;