s3: Properly deal with exited winbind children
commit2f6e5436a707f4eed15130dff664327352c776fa
authorVolker Lendecke <vl@samba.org>
Wed, 4 May 2011 10:11:04 +0000 (4 12:11 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 4 May 2011 11:50:43 +0000 (4 13:50 +0200)
tree3740b2207b5a4f0832d6ce743eb631e6ee721b15
parent64e7b7bf09940ab67a0beb5d770849f8bf9336e3
s3: Properly deal with exited winbind children

When a winbind child exits, we need to immediately close the socket. If not,
the next request to that child will be sent to a socket without a listener,
leading to a failed request. This failed request will then trigger a proper
re-init.

This patch avoids the one failed request.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed May  4 13:32:16 CEST 2011 on sn-devel-104
(cherry picked from commit d08414b6799747f224ba02300585c8b15ac6bc0e)
source3/winbindd/winbindd_dual.c