diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-15 12:20:21 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-15 12:20:21 +0000 |
commit | eb8a3778d0b2e76a9aa1d02eee36ab0ee589d13a (patch) | |
tree | 7b355ea56a599bcb2cca0a99234bb3fafcef3ced /source3/smbd | |
parent | 90b5a6279ee9998fa79f9420952ff954dc50c999 (diff) | |
download | samba-eb8a3778d0b2e76a9aa1d02eee36ab0ee589d13a.tar.gz samba-eb8a3778d0b2e76a9aa1d02eee36ab0ee589d13a.tar.bz2 samba-eb8a3778d0b2e76a9aa1d02eee36ab0ee589d13a.zip |
Oops... For reference, NTLMv2 passwords are > 24 chars in length, while
NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth.
(This used to be commit 51baa1614d1a338f50dbf8eaa5ea31ab58c11409)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 6a8fa104fb..04dcf1c0a8 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -592,7 +592,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int } } - if (passlen1 != 24 && passlen2 <= 24) + if (passlen1 != 24 && passlen2 < 24) doencrypt = False; if (passlen1 > MAX_PASS_LEN) { |