The Samba-Bugzilla – Bug 11034
wbinfo --ping-dc fails when session expires
Last modified: 2015-01-14 20:14:56 UTC
When the underlying SMB session expires, establishing a netlogon
session for the ping-dc or issuing the RPC call can fail with
an error returned from the domain controller, and this error
is returned to the caller of wbinfo --ping-dc. Since the purpose
of this call is to check whether a DC is available and responding,
this error should not be returned to the caller of wbinfo.
Fix this by introducing a retry to reestablish the SMB session
during the ping-dc call, if the DC indicates that the session
Created attachment 10581 [details]
patches for 4.0
Created attachment 10583 [details]
patches for 4.1
Created attachment 10584 [details]
patches for 4.2
Re-assigning to Karolin for inclusion in 4.0.next, 4.1.next and 4.2.0.
(In reply to Jeremy Allison from comment #4)
Pushed to autobuild-v4-[0|1|2]-test.
(In reply to Karolin Seeger from comment #5)
Pushed to all branches.
Closing out bug report.