From: Andrew Bartlett Date: Sat, 17 Aug 2002 07:31:54 +0000 (+0000) Subject: Change which session key we negotiate. This uses the NT-based session key that X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=8f5f2eb454b89e0988ab795fb6e695a3d090c54d;p=jra%2Fsamba%2F.git 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) --- diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 8fb5a50697b..77f93812dd5 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;