winbind: Retry LogonControl RPC in ping-dc after session expiration
commitc6ede38e1d1e2fdbe80bd0cbf14062574729172c
authorChristof Schmitt <cs@samba.org>
Mon, 22 Dec 2014 23:19:47 +0000 (22 15:19 -0800)
committerKarolin Seeger <kseeger@samba.org>
Sun, 11 Jan 2015 13:03:09 +0000 (11 14:03 +0100)
treed5cddc88c5c66c069f6500d02ccfb204da845db2
parent45238fe24d85d877b9dff98667cb0dee95e8c444
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