mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
comments requested by jeremy as to why NT/95 NULL-password distinction hack
was modified. (This used to be commit 50f7bd8a9c47d073bbde66ae26e9f71f030afc4c)
This commit is contained in:
parent
d0372689d6
commit
46ce0d4619
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user