winbindd: verify that client has closed the connection
authorUri Simchoni <urisimchoni@gmail.com>
Thu, 25 Jun 2015 07:12:37 +0000 (10:12 +0300)
committerJeremy Allison <jra@samba.org>
Wed, 15 Jul 2015 20:41:13 +0000 (22:41 +0200)
commit2a13740492f36b56a389bbe919850abcdc866030
tree900d5509e639512355c24158687d2e67afdb6676
parent0c6dc1ecf9ae615b19be412b4d80113296628420
winbindd: verify that client has closed the connection

A recent change was to remove a client if the client socket
has become readable. In this change, a check is added to
determine the source of the readbility (actual readability,
closed connection, or some other error), and a suitable
debug message is printed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11397

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd.c