diff options
author | Ralph Boehme <slow@samba.org> | 2018-03-12 11:29:22 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-05-07 09:57:25 +0200 |
commit | 3ef237744e26d954121024ebb708417e7e53e0a2 (patch) | |
tree | fac703434d5ea2b29c27c0c9086ac0530c5b21c9 /source3 | |
parent | 406a8f3184ec48017e9d7c4ced7eff5bd1845a19 (diff) | |
download | samba-3ef237744e26d954121024ebb708417e7e53e0a2.tar.gz |
winbindd: make reset_cm_connection_on_error() public
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13332
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(backported from commit 17749a5d9fa08da1c61de45728656a2c9b85782d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_dual_srv.c | 4 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index c9d3c41cbff..e67f72ffdd7 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -39,8 +39,8 @@ void _wbint_Ping(struct pipes_struct *p, struct wbint_Ping *r) *r->out.out_data = r->in.in_data; } -static bool reset_cm_connection_on_error(struct winbindd_domain *domain, - NTSTATUS status) +bool reset_cm_connection_on_error(struct winbindd_domain *domain, + NTSTATUS status) { if (NT_STATUS_EQUAL(status, NT_STATUS_IO_TIMEOUT) || NT_STATUS_EQUAL(status, NT_STATUS_IO_DEVICE_ERROR)) diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index f9841797166..1edca1fee58 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -970,4 +970,8 @@ NTSTATUS wb_irpc_register(void); /* The following definitions come from winbindd/winbindd_reconnect.c */ bool reconnect_need_retry(NTSTATUS status, struct winbindd_domain *domain); +/* The following comes from winbindd/winbindd_dual_srv.c */ +bool reset_cm_connection_on_error(struct winbindd_domain *domain, + NTSTATUS status); + #endif /* _WINBINDD_PROTO_H_ */ |