diff options
author | Herb Lewis <herb@samba.org> | 1998-11-12 22:17:51 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-11-12 22:17:51 +0000 |
commit | d30b6ab54847164aa3add34f3b50132af58f9453 (patch) | |
tree | 3b1186b6aed88b9e947ad4e9d5f7b3484482e007 /source3/client/client.c | |
parent | 959f32c6d79cfcbfafb7ecde24addff0b0f0d5dd (diff) | |
download | samba-d30b6ab54847164aa3add34f3b50132af58f9453.tar.gz samba-d30b6ab54847164aa3add34f3b50132af58f9453.tar.bz2 samba-d30b6ab54847164aa3add34f3b50132af58f9453.zip |
.cvsignore: Removed old entries.
client/client.c:
include/client.h: Added some debug messages that the old client used to
generate. These are needed to make scripts such as
'findsmb' work - there may be other changes to keep
backwards output compatibility. Do we need a -old-client-compat
argument ?
libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being
cleared - corrupted malloc chains.
web/swat.c: John's changes to get rid of "ghost" table entries.
(This used to be commit 3c45a3503ea57d17e98eb3e57514161a5c82e45e)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r-- | source3/client/client.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index e23875fc1b..185919bf5f 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1685,6 +1685,18 @@ struct cli_state *do_connect(char *server, char *share) return NULL; } + /* + * These next two lines are needed to emulate + * old client behaviour for people who have + * scripts based on client output. + * QUESTION ? Do we want to have a 'client compatibility + * mode to turn these on/off ? JRA. + */ + + if (*c->server_domain || *c->server_os || *c->server_name) + DEBUG(1,("Domain=[%s] OS=[%s] Server=[%s]\n", + c->server_domain,c->server_os,c->server_name)); + DEBUG(4,(" session setup ok\n")); if (!cli_send_tconX(c, share, "?????", @@ -1710,7 +1722,7 @@ static BOOL process(char *base_directory) if (!cli) { return(False); } - + if (*base_directory) do_cd(base_directory); if (cmdstr) { |