diff options
author | Günther Deschner <gd@samba.org> | 2006-03-17 10:43:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:35 -0500 |
commit | ed8bfb44d376d62b27650ced4114dfabc383428c (patch) | |
tree | 95a292bf8d13ddce4d793a3c4c66a28eeffff87b | |
parent | 9e7e429c98f20967211437889fa6f2d7883b7d93 (diff) | |
download | samba-ed8bfb44d376d62b27650ced4114dfabc383428c.tar.gz samba-ed8bfb44d376d62b27650ced4114dfabc383428c.tar.bz2 samba-ed8bfb44d376d62b27650ced4114dfabc383428c.zip |
r14508: Return PAM_SUCCESS in pam_sm_close_session when there is no KRB5CCNAME
environment.
Guenther
(This used to be commit 1f1402e45db8d80a7c19208fae934e1b0f3da134)
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index b09e974d07..fb4cc187e1 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -1086,7 +1086,7 @@ int pam_sm_close_session(pam_handle_t *pamh, int flags, ccname = pam_getenv(pamh, "KRB5CCNAME"); if (ccname == NULL) { _pam_log_debug(ctrl, LOG_DEBUG, "user has no KRB5CCNAME environment"); - return PAM_BUF_ERR; + return PAM_SUCCESS; } fstrcpy(request.data.logoff.user, user); |