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:
parent
831611e221
commit
636d107989
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user