From 46ce0d4619839f40f910eb4a0d2c3da01436bc88 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 21 Jul 1999 00:31:16 +0000 Subject: comments requested by jeremy as to why NT/95 NULL-password distinction hack was modified. (This used to be commit 50f7bd8a9c47d073bbde66ae26e9f71f030afc4c) --- source3/smbd/reply.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/smbd') 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; -- cgit