summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-18 18:23:49 +0200
committerVolker Lendecke <vl@samba.org>2010-08-22 22:42:21 +0200
commit177e394f93278407557702d9f53bae65fd5fc434 (patch)
tree86e740e30d4bfb10adeae52a78b9bd0002ada984 /source3/include
parent265f0b7745b811d6ba1575eb277213f707215a3b (diff)
downloadsamba-177e394f93278407557702d9f53bae65fd5fc434.tar.gz
samba-177e394f93278407557702d9f53bae65fd5fc434.tar.bz2
samba-177e394f93278407557702d9f53bae65fd5fc434.zip
s3: Pass the rhost through smb_pam_accountcheck
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 50309a931c..43a510b4b2 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -221,10 +221,9 @@ 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);
+NTSTATUS smb_pam_accountcheck(const char *user, const char *rhost);
NTSTATUS smb_pam_passcheck(const char * user, const char * password);
bool smb_pam_passchange(const char * user, const char * oldpassword, const char * newpassword);
-NTSTATUS smb_pam_accountcheck(const char * user);
bool smb_pam_claim_session(char *user, char *tty, char *rhost);
bool smb_pam_close_session(char *in_user, char *tty, char *rhost);