s3: Properly deal with exited winbind children
authorVolker Lendecke <vl@samba.org>
Wed, 4 May 2011 10:11:04 +0000 (12:11 +0200)
committerVolker Lendecke <vlendec@samba.org>
Wed, 4 May 2011 11:32:16 +0000 (13:32 +0200)
commitd08414b6799747f224ba02300585c8b15ac6bc0e
treeb66d86289b3d19093f2a8d55f274643106279eef
parentb8eaec6b666b1f0d3711540c492edd79cd02b1fe
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
source3/winbindd/winbindd_dual.c