this fixes plaintext passwords with win2000
commit9edc1cd4cfd3c02cfb1b867f8450384c446e8b60
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Jul 2002 15:03:14 +0000 (30 15:03 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 30 Jul 2002 15:03:14 +0000 (30 15:03 +0000)
tree4b041804db2b9e9da316f1137e5c6260ba5458a3
parent28f4463c8b6608dce02311ea7271fc983aa76d56
this fixes plaintext passwords with win2000

there were 2 bugs:

1) we were sending a null challenge when we should have sent an empty
   challenge

2) the password can be in unicode if unicode is negotiated. This means
   our client code was wrong too :(
(This used to be commit 1a6dfddf6788b30fc81794b1bfe749693183b2c1)
source3/libsmb/cliconnect.c
source3/smbd/negprot.c
source3/smbd/sesssetup.c