The branch, master has been updated
       via  ff0f8bd... s3:winbind Make the normal client exit message a bit 
more understandable
      from  0a6a13d... s3: Fix a typo found by Matthias Dieter Wallnöfer 
<m...@samba.org> -- thanks :-)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ff0f8bd9e6abe53805be3019ecb6bf3ed384ea4b
Author: Volker Lendecke <v...@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

Reply via email to