fixed bug where we looked at the first byte of a password to determine
authorAndrew Tridgell <tridge@samba.org>
Fri, 6 Jul 2001 04:08:24 +0000 (04:08 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 6 Jul 2001 04:08:24 +0000 (04:08 +0000)
commit7a58c800ed8e86a26b2db44a417ebaadb0dd48b7
treeb3f1a194b8bb921357a985470d1eaedaeaaf449e
parent22512215508c709bd7c68fe40511d3cd68f06c45
fixed bug where we looked at the first byte of a password to determine
if the password is blank. That ain't valid with encrypted passwords!

Jeremy, this changes the semantics of session setup. We no longer
automatically set guest=True when the client happens to choose their
username == the guest username. Instead we rely on the map_to_guest
code. I'm pretty sure this is now the right thing, but please look at
it carefully before putting it in 2.2

This is the bug that was causing the build farm to sometimes
fail. Basically we failed every 256 attempts - ie. when the first byte
of the encrypted password happened to be 0
(This used to be commit 4b35a3494c53fe38532fc12cf1c57e1a3715ad0f)
source3/smbd/reply.c