winbind: Retry LogonControl RPC in ping-dc after session expiration
commitec07387d242b851b16821725edc858ed114e5461
authorChristof Schmitt <cs@samba.org>
Mon, 22 Dec 2014 23:19:47 +0000 (22 15:19 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Jan 2015 19:55:09 +0000 (13 20:55 +0100)
tree449eb5adfc03cbbce89d175f92d10ac762818d38
parent4701d74618c639acec895850c4720d53f29dece5
winbind: Retry LogonControl RPC in ping-dc after session expiration

When the underlying session expires, the LogonControl RPC call used in
ping-dc returns NT_STATUS_IO_DEVICE_ERROR. Retry once in this case,
instead of returning the error to the caller.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Dec 23 02:46:34 CET 2014 on sn-devel-104
(cherry picked from commit 2fdc55160309cec89aeb88243cb18d058c67e918)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11034
source3/winbindd/winbindd_dual_srv.c