The Samba-Bugzilla – Attachment 6921 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 for 3.6
8338-3.6.patch (text/plain), 1.31 KB, created by
Volker Lendecke
on 2011-09-21 01:43:29 UTC
(
hide
)
Description:
Patch for 3.6
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-09-21 01:43:29 UTC
Size:
1.31 KB
patch
obsolete
>From 51dadbc6f55d1548ec1f8968a1db4477d8b57406 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 20 Sep 2011 22:45:52 +0200 >Subject: [PATCH] v3-6-test: Further fix for bug 8338 > >OS/X can not deal with a 10-vwv read on normal files. > >Autobuild-User: Volker Lendecke <vlendec@samba.org> >Autobuild-Date: Wed Sep 21 00:51:08 CEST 2011 on sn-devel-104 >--- > 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 b0f988c..19968a1 100644 >--- a/source3/libsmb/clireadwrite.c >+++ b/source3/libsmb/clireadwrite.c >@@ -133,10 +133,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->capabilities & 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