mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3:winbindd: use check dcerpc_binding_handle_is_connected() instead of a specific status
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
24ea9175f4
commit
793af3f2ae
@ -774,7 +774,7 @@ reconnect:
|
||||
logon_server, NETLOGON_CONTROL_QUERY,
|
||||
2, &info, &werr);
|
||||
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_IO_DEVICE_ERROR) && !retry) {
|
||||
if (!dcerpc_binding_handle_is_connected(b) && !retry) {
|
||||
DEBUG(10, ("Session might have expired. "
|
||||
"Reconnect and retry once.\n"));
|
||||
invalidate_cm_connection(domain);
|
||||
|
Loading…
x
Reference in New Issue
Block a user