The Samba-Bugzilla – Attachment 4633 Details for
Bug 6665
karmic smbclient fails to access NAS box
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-s3-libsmb-Attempt-to-fix-bug-6665.patch (text/plain), 1.22 KB, created by
Volker Lendecke
on 2009-09-03 02:25:48 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2009-09-03 02:25:48 UTC
Size:
1.22 KB
patch
obsolete
>From b4a4c082c1cf88724087200b5d8034ff17257a88 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 3 Sep 2009 09:18:10 +0200 >Subject: [PATCH] s3:libsmb: Attempt to fix bug 6665 > >Before the async libsmb rewrites, we sent tid==0 on negprot. With the rewrite, >we send 0xffff. This *should* not matter, but this is one difference in the >sniffs I see. >--- > source3/libsmb/cliconnect.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c >index 239dfc8..600f8d1 100644 >--- a/source3/libsmb/cliconnect.c >+++ b/source3/libsmb/cliconnect.c >@@ -1607,6 +1607,7 @@ struct tevent_req *cli_negprot_send(TALLOC_CTX *mem_ctx, > struct cli_negprot_state *state; > uint8_t *bytes = NULL; > int numprots; >+ uint16_t cnum; > > req = tevent_req_create(mem_ctx, &state, struct cli_negprot_state); > if (req == NULL) { >@@ -1637,8 +1638,13 @@ struct tevent_req *cli_negprot_send(TALLOC_CTX *mem_ctx, > } > } > >+ cnum = cli->cnum; >+ >+ cli->cnum = 0; > subreq = cli_smb_send(state, ev, cli, SMBnegprot, 0, 0, NULL, > talloc_get_size(bytes), bytes); >+ cli->cnum = cnum; >+ > if (tevent_req_nomem(subreq, req)) { > return tevent_req_post(req, ev); > } >-- >1.6.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
Actions:
View
Attachments on
bug 6665
:
4628
|
4629
| 4633 |
4637
|
4638
|
4656
|
4695
|
4696