The branch, v3-2-test has been updated via e7b0d1c984a37600a234c1f4c95b06e9b5898f30 (commit) from c5609611ef2af5dee47a380003c6ce94f3781f0b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit e7b0d1c984a37600a234c1f4c95b06e9b5898f30 Author: Andreas Schneider <[EMAIL PROTECTED]> Date: Mon Oct 20 17:35:42 2008 +0200 Delete the krb5 ccname variable from the PAM environment if set. If winbind sets the KRB5CCNAME variable it should unset it when the cache gets destroyed. ----------------------------------------------------------------------- Summary of changes: source/nsswitch/pam_winbind.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c index 95b3d23..15b33e3 100644 --- a/source/nsswitch/pam_winbind.c +++ b/source/nsswitch/pam_winbind.c @@ -2358,6 +2358,13 @@ int pam_sm_close_session(pam_handle_t *pamh, int flags, } out: + /* + * Delete the krb5 ccname variable from the PAM environment + * if it was set by winbind. + */ + if (ctx->ctrl & WINBIND_KRB5_AUTH) { + pam_putenv(pamh, "KRB5CCNAME"); + } _PAM_LOG_FUNCTION_LEAVE("pam_sm_close_session", ctx, retval); -- Samba Shared Repository