[SCM] Samba Shared Repository - branch v3-6-test updated
Volker Lendecke
vlendec at samba.org
Thu Nov 18 06:28:16 MST 2010
The branch, v3-6-test has been updated
via 8b7ed6b s3: Make winbind recover from a signing error
from 2a2d118 s3: Remove a reference to "winbindd_cli_state" from append_auth_data
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit 8b7ed6b9fb14f92d3dbfdcf3bbee3b757dd38b98
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 18 13:28:47 2010 +0100
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.
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/async_smb.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 8e08d6f..b7b82a7 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -700,6 +700,8 @@ static void cli_smb_received(struct tevent_req *subreq)
DEBUG(10, ("cli_check_sign_mac failed\n"));
TALLOC_FREE(inbuf);
status = NT_STATUS_ACCESS_DENIED;
+ close(cli->fd);
+ cli->fd = -1;
goto fail;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list