Make sure we correctly generate the lm session key.
commit54cff4535e8237c43977faa372ebac8baf88b034
authorGerald Carter <jerry@samba.org>
Wed, 17 Dec 2003 06:18:13 +0000 (17 06:18 +0000)
committerGerald Carter <jerry@samba.org>
Wed, 17 Dec 2003 06:18:13 +0000 (17 06:18 +0000)
tree0fce76be3287ea24e9912c42b9e248897a47d2fd
parentc763e9548c94cdb526d8e486d1450b70b9d3969e
Make sure we correctly generate the lm session key.
This fixes a problem joining a Samba domain from a
vanilla win2k client that doesn't set the
NTLMSSP_NEGOTIATE_NTLM2 flag.

Reported on samba ml as "decode_pw: incorrect password length"
when handling a samr_set_userinfo(23 or 24) RPC.
(This used to be commit ef4ab8d7c497e4229d0c1deeb20d05c95bd8feb9)
source3/libsmb/ntlmssp.c
source3/libsmb/smbencrypt.c