winbind: Retry LogonControl RPC in ping-dc after session expiration
commitdb7901981d3518bb8db7578bcb03f3787b3b080b
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:04:10 +0000 (11 14:04 +0100)
treef8041a1510e8a5ed4082b7fc6577ef7d0a4cedef
parenteb3ed9164ece272653b5cdc9a5ea3188cdb91dd5
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