1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: Fix smb_pam_passcheck

This commit is contained in:
Volker Lendecke 2010-08-28 13:04:09 +02:00
parent 831611e221
commit 636d107989
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);