The Samba-Bugzilla – Attachment 6920 Details for
Bug 8338
MAC Lion - smbclient "Open AndX Request->STATUS_NOT_SUPPORTED
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
8338.patch (text/plain), 1.20 KB, created by
Volker Lendecke
on 2011-09-20 21:17:00 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-09-20 21:17:00 UTC
Size:
1.20 KB
patch
obsolete
>From b2a2e4392c0e26647c02bd7630f45ff05cb50149 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 20 Sep 2011 22:45:52 +0200 >Subject: [PATCH] s3: Further fix for bug 8338 > >OS/X can not deal with a 10-vwv read on normal files. >--- > source3/libsmb/clireadwrite.c | 11 +++++++++-- > 1 files changed, 9 insertions(+), 2 deletions(-) > >diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c >index 1ee2196..e8c9017 100644 >--- a/source3/libsmb/clireadwrite.c >+++ b/source3/libsmb/clireadwrite.c >@@ -155,10 +155,17 @@ struct tevent_req *cli_read_andx_create(TALLOC_CTX *mem_ctx, > SSVAL(state->vwv + 8, 0, 0); > SSVAL(state->vwv + 9, 0, 0); > >- if ((uint64_t)offset >> 32) { >+ if (cli_state_capabilities(cli) & CAP_LARGE_FILES) { > SIVAL(state->vwv + 10, 0, > (((uint64_t)offset)>>32) & 0xffffffff); >- wct += 2; >+ wct = 12; >+ } else { >+ if ((((uint64_t)offset) & 0xffffffff00000000LL) != 0) { >+ DEBUG(10, ("cli_read_andx_send got large offset where " >+ "the server does not support it\n")); >+ tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); >+ return tevent_req_post(req, ev); >+ } > } > > subreq = cli_smb_req_create(state, ev, cli, SMBreadX, 0, wct, >-- >1.7.0.4 >
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
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 8338
:
6732
|
6734
|
6735
|
6882
| 6920 |
6921
|
6923
|
7387