winbind: Fix --ping-dc error handling
authorVolker Lendecke <vl@samba.org>
Mon, 26 Feb 2018 14:32:05 +0000 (15:32 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 1 Mar 2018 13:48:19 +0000 (14:48 +0100)
commitc38062604b7884fa97e63ad28ed2f2a86880d022
treec698190920a785968cbd599f45112d7f7462dd05
parent49adb5ac8fed5ec972bf3907169d2efd378970ca
winbind: Fix --ping-dc error handling

If the child dies at the wrong moment, we get an error in the "req" itself.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13309

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Mar  1 14:48:19 CET 2018 on sn-devel-144
source3/winbindd/winbindd_ping_dc.c