diff options
-rw-r--r-- | source3/auth/pampass.c | 4 | ||||
-rw-r--r-- | source3/include/proto.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index 8ee33cc2b0..dfeeb22588 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -802,8 +802,8 @@ NTSTATUS smb_pam_accountcheck(const char *user, const char *rhost) * PAM Password Validation Suite */ -NTSTATUS smb_pam_passcheck(const char * user, const char * password, - const char * rhost) +NTSTATUS smb_pam_passcheck(const char * user, const char * rhost, + const char * password) { pam_handle_t *pamh = NULL; NTSTATUS nt_status = NT_STATUS_LOGON_FAILURE; diff --git a/source3/include/proto.h b/source3/include/proto.h index 7d1655916b..e82b1ac486 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -222,8 +222,8 @@ NTSTATUS auth_wbc_init(void); bool smb_pam_claim_session(char *user, char *tty, char *rhost); bool smb_pam_close_session(char *user, char *tty, char *rhost); NTSTATUS smb_pam_accountcheck(const char *user, const char *rhost); -NTSTATUS smb_pam_passcheck(const char * user, const char * password, - const char * rhost); +NTSTATUS smb_pam_passcheck(const char * user, const char * rhost, + const char * password); bool smb_pam_passchange(const char *user, const char *rhost, const char *oldpassword, const char *newpassword); bool smb_pam_claim_session(char *user, char *tty, char *rhost); |