summaryrefslogtreecommitdiff
path: root/auth-krb5.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-05-25 11:01:01 +0000
committerColin Watson <cjwatson@debian.org>2005-05-25 11:01:01 +0000
commite88de75a1a236779a10e8ccbcc51d25308be8840 (patch)
tree7495477a2a7d0cac17a9fcded020b6ea816182ef /auth-krb5.c
parent30a0f9443782cd9d7308acd09430bf586186aa55 (diff)
parent5d05471f6657646d1d6500c7c43134462c407ee6 (diff)
Merge 4.0p1 to the trunk.
Diffstat (limited to 'auth-krb5.c')
-rw-r--r--auth-krb5.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth-krb5.c b/auth-krb5.c
index a324ff15c..2f742534a 100644
--- a/auth-krb5.c
+++ b/auth-krb5.c
@@ -187,6 +187,11 @@ auth_krb5_password(Authctxt *authctxt, const char *password)
187 snprintf(authctxt->krb5_ccname, len, "FILE:%s", 187 snprintf(authctxt->krb5_ccname, len, "FILE:%s",
188 authctxt->krb5_ticket_file); 188 authctxt->krb5_ticket_file);
189 189
190#ifdef USE_PAM
191 if (options.use_pam)
192 do_pam_putenv("KRB5CCNAME", authctxt->krb5_ccname);
193#endif
194
190 out: 195 out:
191 restore_uid(); 196 restore_uid();
192 197