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)
committerStefan Metzmacher <metze@samba.org>
Wed, 10 Jul 2013 04:57:06 +0000 (06:57 +0200)
commit2505d48e4fbcd8a805a88ad0b05fb1a16a588197
treef396d19aceddb99a195d9f23142e6afbe36af57e
parentdf929d6feb857668ad9da277213e9fae1480ff63
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>
source4/winbind/wb_samba3_protocol.c
source4/winbind/wb_server.c
source4/winbind/wb_server.h