mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
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 commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user