summaryrefslogtreecommitdiff
path: root/source3/auth/pampass.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-28 13:04:09 +0200
committerVolker Lendecke <vl@samba.org>2010-08-28 11:05:22 +0200
commit636d1079891c898d62fe2567a8ac7c3d10df1c08 (patch)
tree0cddc5930f9c28a1610bfd9710456657a245434e /source3/auth/pampass.c
parent831611e221d82b8074727fb8e948d0cbe3eb6f0a (diff)
downloadsamba-636d1079891c898d62fe2567a8ac7c3d10df1c08.tar.gz
s3: Fix smb_pam_passcheck
Diffstat (limited to 'source3/auth/pampass.c')
-rw-r--r--source3/auth/pampass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 8ee33cc2b09..dfeeb22588e 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;