diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-22 07:20:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-22 07:20:24 +0000 |
commit | e277c08631316ccda875a09a67ebb220c495c5a9 (patch) | |
tree | ee9941fd02f0d9e551691de1719eb0a2205fb81b /source3/include | |
parent | 130f31f5713d43ea2f237cfe0fc142a171eeb82f (diff) | |
download | samba-e277c08631316ccda875a09a67ebb220c495c5a9.tar.gz samba-e277c08631316ccda875a09a67ebb220c495c5a9.tar.bz2 samba-e277c08631316ccda875a09a67ebb220c495c5a9.zip |
Commit of a modified version of Andrew Bartlett's patch that removes the
horrid utmp hostname parameter - now uses the client name instead.
Also tidies up some of the unencrypted password checking when PAM
is compiled in.
FIXME ! An pam_accountcheck() is being called even when smb encrypted
passwords are negotiated. Is this the correct thing to do when winbindd
is running ! This needs *SEVERE* testing....
Jeremy.
(This used to be commit 071c799f479dd25efdb9c41745fc8f2beea7b568)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a53dab7f71..bb5bc6ea32 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1922,7 +1922,7 @@ BOOL pdb_generate_sam_sid(void); /*The following definitions come from passdb/pampass.c */ -BOOL pam_session(BOOL flag, const char *in_user, char *tty); +BOOL pam_session(BOOL flag, const char *in_user, char *tty, char *rhost); BOOL pam_accountcheck(char * user); BOOL pam_passcheck(char * user, char * password); |