summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_pam.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-05 17:00:21 +0200
committerVolker Lendecke <vl@samba.org>2009-09-05 17:00:21 +0200
commit1abf69231218446635cfc94041e7b0e61d73aeb1 (patch)
treeaef6291df4e8c34018912f01598dc4cddf228c3a /source3/winbindd/winbindd_pam.c
parent4b49a8debce4c8f8b807b09f1800539028075c6f (diff)
downloadsamba-1abf69231218446635cfc94041e7b0e61d73aeb1.tar.gz
samba-1abf69231218446635cfc94041e7b0e61d73aeb1.tar.bz2
samba-1abf69231218446635cfc94041e7b0e61d73aeb1.zip
s3:winbind: Make the pam_auth subfunctions static
Diffstat (limited to 'source3/winbindd/winbindd_pam.c')
-rw-r--r--source3/winbindd/winbindd_pam.c18
1 files changed, 9 insertions, 9 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;