The Samba-Bugzilla – Attachment 6072 Details for
Bug 7800
winbind does not recover from smb signing errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.4
7800-3.4.patch (text/plain), 1.11 KB, created by
Volker Lendecke
on 2010-11-18 07:16:59 UTC
(
hide
)
Description:
Patch for 3.4
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2010-11-18 07:16:59 UTC
Size:
1.11 KB
patch
obsolete
>From e7eb12ea5db5285c0e23887ec7e2dea28e62455a Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 17 Nov 2010 08:56:28 -0700 >Subject: [PATCH] s3: Make winbind recover from a signing error > >When winbind sees a signing error on the smb connection to a DC (for whatever >reason, our bug, network glitch, etc) it should recover properly. The "old" >code in clientgen.c just closed the socket in this case. This is the right >thing to do, this connection is spoiled anyway. The new, async code did not do >this so far, which led to the code in winbindd_cm.c not detect that we need to >reconnect. >--- > source3/libsmb/async_smb.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c >index e683e37..0336ff2 100644 >--- a/source3/libsmb/async_smb.c >+++ b/source3/libsmb/async_smb.c >@@ -848,6 +848,8 @@ static NTSTATUS validate_smb_crypto(struct cli_state *cli, char *pdu) > > if (!cli_check_sign_mac(cli, pdu)) { > DEBUG(10, ("cli_check_sign_mac failed\n")); >+ close(cli->fd); >+ cli->fd = -1; > return NT_STATUS_ACCESS_DENIED; > } > >-- >1.6.5.7 >
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:
metze
:
review+
Actions:
View
Attachments on
bug 7800
:
6071
| 6072