diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 18 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 9 |
2 files changed, 9 insertions, 18 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index 56657928a4..b7a9888f0c 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -854,9 +854,9 @@ void winbindd_pam_auth(struct winbindd_cli_state *state) request_error(state); } -NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, - struct winbindd_cli_state *state, - struct netr_SamInfo3 **info3) +static NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, + struct winbindd_cli_state *state, + struct netr_SamInfo3 **info3) { NTSTATUS result = NT_STATUS_LOGON_FAILURE; uint16 max_allowed_bad_attempts; @@ -1110,9 +1110,9 @@ failed: return NT_STATUS_LOGON_FAILURE; } -NTSTATUS winbindd_dual_pam_auth_kerberos(struct winbindd_domain *domain, - struct winbindd_cli_state *state, - struct netr_SamInfo3 **info3) +static NTSTATUS winbindd_dual_pam_auth_kerberos(struct winbindd_domain *domain, + struct winbindd_cli_state *state, + struct netr_SamInfo3 **info3) { struct winbindd_domain *contact_domain; fstring name_domain, name_user; @@ -1181,9 +1181,9 @@ typedef NTSTATUS (*netlogon_fn_t)(struct rpc_pipe_client *cli, DATA_BLOB nt_response, struct netr_SamInfo3 **info3); -NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain, - struct winbindd_cli_state *state, - struct netr_SamInfo3 **info3) +static NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain, + struct winbindd_cli_state *state, + struct netr_SamInfo3 **info3) { struct rpc_pipe_client *netlogon_pipe; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index fba6bd2d46..086fa52563 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -478,15 +478,6 @@ void ndr_print_winbindd_domain(struct ndr_print *ndr, struct winbindd_domain *find_auth_domain(struct winbindd_cli_state *state, const char *domain_name); void winbindd_pam_auth(struct winbindd_cli_state *state); -NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, - struct winbindd_cli_state *state, - struct netr_SamInfo3 **info3); -NTSTATUS winbindd_dual_pam_auth_kerberos(struct winbindd_domain *domain, - struct winbindd_cli_state *state, - struct netr_SamInfo3 **info3); -NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain, - struct winbindd_cli_state *state, - struct netr_SamInfo3 **info3); enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain, struct winbindd_cli_state *state) ; void winbindd_pam_auth_crap(struct winbindd_cli_state *state); |