diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-26 18:00:32 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-12-26 18:00:47 +0100 |
commit | ff0f8bd9e6abe53805be3019ecb6bf3ed384ea4b (patch) | |
tree | 97f883649c2dacc46df7a1ca9b1945dd24316e19 /source3 | |
parent | 0a6a13dd07908b1c26ef8a57e3e724cb59a41a5a (diff) | |
download | samba-ff0f8bd9e6abe53805be3019ecb6bf3ed384ea4b.tar.gz samba-ff0f8bd9e6abe53805be3019ecb6bf3ed384ea4b.tar.bz2 samba-ff0f8bd9e6abe53805be3019ecb6bf3ed384ea4b.zip |
s3:winbind Make the normal client exit message a bit more understandable
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index e31103a941..f6f4a8fee7 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; } |