r176: Improve our fallback code for password changes - this would be better
commit565305f7bb30c08120c3def5367adfd6f5dd84df
authorAndrew Bartlett <abartlet@samba.org>
Mon, 12 Apr 2004 11:18:32 +0000 (12 11:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:12 +0000 (10 10:51 -0500)
treedeefa5205b322695defeaf5cbd6ac82f0805c835
parente5bbb086b2aeb826121d7fef88fcfaa49d876ea4
r176: Improve our fallback code for password changes - this would be better
with more correct NTLMSSP support in client and server, but it will do
for now.

Also implement LANMAN password only in the classical session setup code, but
#ifdef'ed out.  In Samba4, I'll make this run-time so we can torture it.

Lanman passwords over 14 dos characters long could be considered
'invalid' (they are truncated) - so SMBencrypt now returns 'False' if
it generates such a password.

Andrew Bartlett
source/libsmb/cliconnect.c
source/libsmb/passchange.c
source/libsmb/smbencrypt.c