summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-21 00:31:16 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-21 00:31:16 +0000
commit50f7bd8a9c47d073bbde66ae26e9f71f030afc4c (patch)
treeb3ae5e6e3a974bdfc915e154434205396f57f409 /source/smbd
parent43d3d2336f0b3c3e332d5abc476223a45592f6c6 (diff)
downloadsamba-50f7bd8a9c47d073bbde66ae26e9f71f030afc4c.tar.gz
samba-50f7bd8a9c47d073bbde66ae26e9f71f030afc4c.tar.xz
samba-50f7bd8a9c47d073bbde66ae26e9f71f030afc4c.zip
comments requested by jeremy as to why NT/95 NULL-password distinction hack
was modified.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/reply.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index bb6e8654d36..8723779d30b 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -603,7 +603,12 @@ user %s attempted down-level SMB connection\n", user));
if passlen1>0 and passlen2>0 then maybe its a NT box and its
setting passlen2 to some random value which really stuffs
- things up. we need to fix that one. */
+ things up. we need to fix that one.
+
+ LKCLXXXX: the random value can be random 16 bit. old test
+ used to have ... && passlen <= 24) which of course fails
+ most of the time.
+ */
if (passlen1 > 0 && passlen2 > 0 && passlen2 != 1)
passlen2 = 0;