git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58a8c1
)
Avoid flooding of syslog with failing pam_putenv messages.
author
Andreas Schneider
<anschneider@suse.de>
Mon, 19 Jan 2009 15:26:07 +0000
(16:26 +0100)
committer
Günther Deschner
<gd@samba.org>
Mon, 19 Jan 2009 15:49:35 +0000
(16:49 +0100)
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Günther Deschner <gd@samba.org>
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index d049bdb1e7d538bce21ac1628be6282c0502f337..62d72c291b2adabba012c93425c68f78c19dda1e 100644
(file)
--- a/
nsswitch/pam_winbind.c
+++ b/
nsswitch/pam_winbind.c
@@
-2428,7
+2428,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");
}