The Samba-Bugzilla – Attachment 3302 Details for
Bug 5479
smbclient fails to put files on Vista
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 756 bytes, created by
Jeremy Allison
on 2008-05-21 13:47:52 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-05-21 13:47:52 UTC
Size:
756 bytes
patch
obsolete
>diff --git a/source/libsmb/clireadwrite.c b/source/libsmb/clireadwrite.c >index 12ba4b7..515471e 100644 >--- a/source/libsmb/clireadwrite.c >+++ b/source/libsmb/clireadwrite.c >@@ -704,7 +704,12 @@ ssize_t cli_write(struct cli_state *cli, > /* Only do massive writes if we can do them direct > * with no signing or encrypting - not on a pipe. */ > writesize = CLI_SAMBA_MAX_POSIX_LARGE_WRITEX_SIZE; >- } else if (cli->capabilities & CAP_LARGE_WRITEX) { >+ } else if ((cli->capabilities & CAP_LARGE_WRITEX) && >+ (strcmp(cli->dev, "LPT1:") != 0)) { >+ >+ /* Printer devices are restricted to max_xmit >+ * writesize in Vista and XPSP3. */ >+ > if (cli->is_samba) { > writesize = CLI_SAMBA_MAX_LARGE_WRITEX_SIZE; > } else if (!client_is_signing_on(cli)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5479
:
3301
| 3302