From 636d1079891c898d62fe2567a8ac7c3d10df1c08 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 28 Aug 2010 13:04:09 +0200 Subject: s3: Fix smb_pam_passcheck --- source3/auth/pampass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/auth') 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; -- cgit