summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-15 12:20:21 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-15 12:20:21 +0000
commiteb8a3778d0b2e76a9aa1d02eee36ab0ee589d13a (patch)
tree7b355ea56a599bcb2cca0a99234bb3fafcef3ced /source3
parent90b5a6279ee9998fa79f9420952ff954dc50c999 (diff)
downloadsamba-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')
-rw-r--r--source3/smbd/reply.c2
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) {