summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-08-13 02:01:01 +0000
committerAndrew Tridgell <tridge@samba.org>2003-08-13 02:01:01 +0000
commite063ea70ad05d9a8cc927ddbcf61aa3b4ea04ade (patch)
treed23c3c31aacfa7780bc7db5094974eb67801bbc7 /source4/client
parentcc3a6ea9920f30925a678c566b4af417da6d455b (diff)
downloadsamba-e063ea70ad05d9a8cc927ddbcf61aa3b4ea04ade.tar.gz
samba-e063ea70ad05d9a8cc927ddbcf61aa3b4ea04ade.tar.bz2
samba-e063ea70ad05d9a8cc927ddbcf61aa3b4ea04ade.zip
use the \\server\share form of tconx to work with servers that don't
cope with the simpler form (This used to be commit 295cc63fb8d99d403c863a7b30cb30382070a6f9)
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 5c72da1731..dc2883e6e2 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -2644,6 +2644,8 @@ static struct cli_state *do_connect(const char *server, const char *share)
sharename++;
}
+ asprintf(&sharename, "\\\\%s\\%s", server, sharename);
+
server_n = server;
zero_ip(&ip);