diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-28 13:04:09 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-28 11:05:22 +0200 |
commit | 636d1079891c898d62fe2567a8ac7c3d10df1c08 (patch) | |
tree | 0cddc5930f9c28a1610bfd9710456657a245434e | |
parent | 831611e221d82b8074727fb8e948d0cbe3eb6f0a (diff) | |
download | samba-636d1079891c898d62fe2567a8ac7c3d10df1c08.tar.gz samba-636d1079891c898d62fe2567a8ac7c3d10df1c08.tar.bz2 samba-636d1079891c898d62fe2567a8ac7c3d10df1c08.zip |
s3: Fix smb_pam_passcheck
-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); |