winbind: Retry after SESSION_EXPIRED error in ping-dc
commit16f881c37260861957fe10f1a485f45bcb7e912e
authorChristof Schmitt <cs@samba.org>
Fri, 19 Dec 2014 19:24:53 +0000 (19 12:24 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 11 Jan 2015 13:03:10 +0000 (11 14:03 +0100)
treeb1b0bff0221643bdde9b9709beff2d0fe6117253
parentc6ede38e1d1e2fdbe80bd0cbf14062574729172c
winbind: Retry after SESSION_EXPIRED error in ping-dc

Trying to establish a netlogon connection when the service ticket
expires might fail with NT_STATUS_NETWORK_SESSION_EXPIRED. The
underlying client code already marks the session as invalid, so retry
the netlogon connect in this case.

Signed-off-by: Christof Schmit <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan  6 02:58:57 CET 2015 on sn-devel-104
(cherry picked from commit a2670f15dea27c10e3827216adf572f9c3894f85)

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