diff options
author | Luke Leighton <lkcl@samba.org> | 1999-07-21 00:31:16 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-07-21 00:31:16 +0000 |
commit | 46ce0d4619839f40f910eb4a0d2c3da01436bc88 (patch) | |
tree | 4df7563bd9be9915ad86629d9b35dcd8d7905673 | |
parent | d0372689d6e35c05703189e85b2be90eb392258b (diff) | |
download | samba-46ce0d4619839f40f910eb4a0d2c3da01436bc88.tar.gz samba-46ce0d4619839f40f910eb4a0d2c3da01436bc88.tar.bz2 samba-46ce0d4619839f40f910eb4a0d2c3da01436bc88.zip |
comments requested by jeremy as to why NT/95 NULL-password distinction hack
was modified.
(This used to be commit 50f7bd8a9c47d073bbde66ae26e9f71f030afc4c)
-rw-r--r-- | source3/smbd/reply.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index bb6e8654d3..8723779d30 100644 --- a/source3/smbd/reply.c +++ b/source3/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; |