summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-09 03:45:49 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-09 03:45:49 +0000
commit8c62b28e0ef1e012ebb0713701916d82ffc7661e (patch)
tree61b04267c035e1ef2d53f275dd5bbb2fbbb7f7ba /source3/utils
parent548b417d404a2653ebb5918b0c169ccdfafe856f (diff)
downloadsamba-8c62b28e0ef1e012ebb0713701916d82ffc7661e.tar.gz
samba-8c62b28e0ef1e012ebb0713701916d82ffc7661e.tar.bz2
samba-8c62b28e0ef1e012ebb0713701916d82ffc7661e.zip
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)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index b27bbbbd3b..e1904f9c96 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -476,7 +476,7 @@ int main(int argc, char **argv)
if(remote_machine == NULL)
remote_machine = "127.0.0.1";
- }
+ }
if (*user_name == '\0') {
fprintf(stderr, "%s: Unable to get a user name for password change.\n", prog_name);