summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-05 00:54:16 +0000
committerJeremy Allison <jra@samba.org>2003-03-05 00:54:16 +0000
commit6f4aee34d9ba6c1e397192941e2c08cff2737455 (patch)
treeeeeee73bd0bd74cfb168e7cde862c7e03f159c6b /source3/libsmb
parentdab5d29153d1417e65cd53fa2199a3baf6f5b17c (diff)
downloadsamba-6f4aee34d9ba6c1e397192941e2c08cff2737455.tar.gz
samba-6f4aee34d9ba6c1e397192941e2c08cff2737455.tar.bz2
samba-6f4aee34d9ba6c1e397192941e2c08cff2737455.zip
Connectathon fix. W2K -> W2K over port 445 doing a tconX does the full
\\server\share syntax, not just a "share" tconX syntax. This broke interop with a vendor. Jeremy. (This used to be commit 3cc2ace7718ac1162494b81fa21d4cc9de021d1c)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 4962ffa3c9..49b0004ac2 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -780,13 +780,8 @@ BOOL cli_send_tconX(struct cli_state *cli,
}
}
- if (cli->port == 445) {
- slprintf(fullshare, sizeof(fullshare)-1,
- "%s", share);
- } else {
- slprintf(fullshare, sizeof(fullshare)-1,
- "\\\\%s\\%s", cli->desthost, share);
- }
+ slprintf(fullshare, sizeof(fullshare)-1,
+ "\\\\%s\\%s", cli->desthost, share);
set_message(cli->outbuf,4, 0, True);
SCVAL(cli->outbuf,smb_com,SMBtconX);