converted smbclient to use clientgen.c rather than clientutil.c
authorAndrew Tridgell <tridge@samba.org>
Mon, 9 Nov 1998 03:45:49 +0000 (03:45 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 9 Nov 1998 03:45:49 +0000 (03:45 +0000)
commit8c62b28e0ef1e012ebb0713701916d82ffc7661e
tree61b04267c035e1ef2d53f275dd5bbb2fbbb7f7ba
parent548b417d404a2653ebb5918b0c169ccdfafe856f
converted smbclient to use clientgen.c rather than clientutil.c

I did this when I saw yet another bug report complaining about
smbclient intermittently missing files. Rather than applying more
patches to smbclient it was better to move to the more robust
clientgen.c code.

The conversion wasn't perfect, I probably lost some features of
smbclient while doing it, but at least smbclient should be consistent
now. It if fails it should _always_ fail rather than giving people the
false impression of a reliable utility.

the tar stuff seems to work, but hasn't had much testing as I never
use it myself. I'm sure someone will find bugs in my conversion of
smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It
now uses clientgen.c exclusively.

smbclient is still quite messy, but at least it doesn't build its own
SMB packets.

I haven't touched smbmount as I never use it. Mike, do you want to
convert smbmount to use clientgen.c?
(This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
source3/Makefile.in
source3/client/client.c
source3/client/clitar.c
source3/include/proto.h
source3/libsmb/clientgen.c
source3/smbd/dfree.c
source3/smbd/password.c
source3/smbwrapper/shared.c
source3/smbwrapper/smbw_dir.c
source3/utils/smbpasswd.c