[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4276-ge61a0cc
Günther Deschner
gd at samba.org
Tue Oct 21 13:31:59 GMT 2008
The branch, v3-3-test has been updated
via e61a0cc2cd51c97df316377f74dd6c9430c5f7cc (commit)
from 6873be9cc7a6700a5b32c140738d40112d32c229 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit e61a0cc2cd51c97df316377f74dd6c9430c5f7cc
Author: Andreas Schneider <mail at cynapses.org>
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 beb0d47..5593114 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/nsswitch/pam_winbind.c
@@ -2428,6 +2428,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
More information about the samba-cvs
mailing list