The branch, v3-2-test has been updated via 5db09d4dd27e10c926c3413bcd3088e72a4af487 (commit) from f89c3db4ae0bcf1680c2532833ee115005b8ed70 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit 5db09d4dd27e10c926c3413bcd3088e72a4af487 Author: Andreas Schneider <anschnei...@suse.de> Date: Mon Jan 19 16:26:07 2009 +0100 Avoid flooding of syslog with failing pam_putenv messages. Signed-off-by: Andreas Schneider <anschnei...@suse.de> Signed-off-by: Günther Deschner <g...@samba.org> ----------------------------------------------------------------------- Summary of changes: source/nsswitch/pam_winbind.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c index 15b33e3..ad063c3 100644 --- a/source/nsswitch/pam_winbind.c +++ b/source/nsswitch/pam_winbind.c @@ -2362,7 +2362,7 @@ out: * Delete the krb5 ccname variable from the PAM environment * if it was set by winbind. */ - if (ctx->ctrl & WINBIND_KRB5_AUTH) { + if ((ctx->ctrl & WINBIND_KRB5_AUTH) && pam_getenv(pamh, "KRB5CCNAME")) { pam_putenv(pamh, "KRB5CCNAME"); } -- Samba Shared Repository