s4-winbindd: Do not terminate a connection that is still pending (bug #9820)
commit3f86c28c42fc9e3750a7a8bb83b44f2c0fe78fc0
authorAndrew Bartlett <abartlet@samba.org>
Thu, 27 Jun 2013 01:28:03 +0000 (27 11:28 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Aug 2013 18:25:08 +0000 (5 20:25 +0200)
treec03163065f6314a57d299ac072ca09f42bef2554
parent8e4d407e6f67c354ac81a5300dbeca2ce7bd49b0
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