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 | 3c45a3503ea57d17e98eb3e57514161a5c82e45e (patch) | |
tree | c764199450ff041d6f16fc973217bce4ed06a97c /source/client/client.c | |
parent | 6fbf01471d8dc76f8909d851c531fec3d79521d3 (diff) | |
download | samba-3c45a3503ea57d17e98eb3e57514161a5c82e45e.tar.gz samba-3c45a3503ea57d17e98eb3e57514161a5c82e45e.tar.xz samba-3c45a3503ea57d17e98eb3e57514161a5c82e45e.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.
Diffstat (limited to 'source/client/client.c')
-rw-r--r-- | source/client/client.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c index e23875fc1b5..185919bf5f9 100644 --- a/source/client/client.c +++ b/source/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) { |