[SCM] Samba Shared Repository - branch v3-5-test updated
Volker Lendecke
vlendec at samba.org
Sat Dec 26 10:01:42 MST 2009
The branch, v3-5-test has been updated
via 00b62c6... s3:winbind Make the normal client exit message a bit more understandable
from f8e3fee... s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw at samba.org> -- thanks :-)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit 00b62c64f33a5fc2cd5170b31324fb0d2e1cdf7b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Dec 26 18:00:32 2009 +0100
s3:winbind Make the normal client exit message a bit more understandable
-----------------------------------------------------------------------
Summary of changes:
source3/winbindd/winbindd.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index e31103a..f6f4a8f 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -798,10 +798,15 @@ static void winbind_client_request_read(struct tevent_req *req)
ret = wb_req_read_recv(req, state, &state->request, &err);
TALLOC_FREE(req);
if (ret == -1) {
+ if (err == EPIPE) {
+ DEBUG(6, ("closing socket %d, client exited\n",
+ state->sock));
+ } else {
+ DEBUG(2, ("Could not read client request from fd %d: "
+ "%s\n", state->sock, strerror(err)));
+ }
close(state->sock);
state->sock = -1;
- DEBUG(2, ("Could not read client request: %s\n",
- strerror(err)));
remove_client(state);
return;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list