s4-winbindd: Do not terminate a connection that is still pending (bug #9820)
authorAndrew Bartlett <abartlet@samba.org>
Thu, 27 Jun 2013 01:28:03 +0000 (11:28 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Jul 2013 19:36:18 +0000 (21:36 +0200)
commita1a7349888e8f3709a6e98b2ca94be6a4dd13258
treef3bfc543ee09738e1129911a44b3d0b988da547a
parentc257e3bdf5ff719652ac6e6683c889e2fe449ccd
s4-winbindd: Do not terminate a connection that is still pending (bug #9820)

Instead, wait until the call attempts to reply, and let it terminate then

(often this happens in the attempt to then write to the broken pipe).

Andrew Bartlett

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 2505d48e4fbcd8a805a88ad0b05fb1a16a588197)
source4/winbind/wb_samba3_protocol.c
source4/winbind/wb_server.c
source4/winbind/wb_server.h