summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-12 05:32:27 +0000
committerJeremy Allison <jra@samba.org>2001-04-12 05:32:27 +0000
commite5691d44a8e4551abe6290b8994f6fc8568e5759 (patch)
tree21b64c246e47de69c2e038a6e23c1528223f5fdb /source3/auth
parent71ef4e018348df03bba429ebf4b323e35b773e86 (diff)
downloadsamba-e5691d44a8e4551abe6290b8994f6fc8568e5759.tar.gz
samba-e5691d44a8e4551abe6290b8994f6fc8568e5759.tar.bz2
samba-e5691d44a8e4551abe6290b8994f6fc8568e5759.zip
Merged John's changes.
Jeremy. (This used to be commit add847778bf458238bf2a1b14ab71b8cdfd7aec0)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/pampass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 90a6f773ce..204deaf8c7 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -180,6 +180,7 @@ static BOOL proc_pam_start(pam_handle_t **pamh, char *user)
}
#endif
#ifdef PAM_TTY
+ DEBUG(4,("PAM: setting tty\n"));
pam_error = pam_set_item(*pamh, PAM_TTY, "samba");
if (!pam_error_handler(*pamh, pam_error, "set tty failed", 0)) {
proc_pam_end(*pamh);
@@ -272,6 +273,7 @@ static BOOL pam_account(pam_handle_t *pamh, char * user, char * password)
* exporting an AFS cell, be able to /write/ to this cell.
*/
+ DEBUG(4,("PAM: Account Management SetCredentials for User: %s\n", user));
pam_error = pam_setcred(pamh, (PAM_ESTABLISH_CRED|PAM_SILENT));
if(!pam_error_handler(pamh, pam_error, "Set Credential Failure", 2)) {
proc_pam_end(pamh);