]> andersk Git - openssh.git/blobdiff - auth-krb5.c
- (dtucker) [auth-krb5.c] Bug #922: Pass KRB5CCNAME to PAM. From deengert
[openssh.git] / auth-krb5.c
index a324ff15c03fb4a338a7b77219848f9f6771a815..2f742534aa9af249352a1942d501f785d1859417 100644 (file)
@@ -187,6 +187,11 @@ auth_krb5_password(Authctxt *authctxt, const char *password)
        snprintf(authctxt->krb5_ccname, len, "FILE:%s",
            authctxt->krb5_ticket_file);
 
+#ifdef USE_PAM
+       if (options.use_pam)
+               do_pam_putenv("KRB5CCNAME", authctxt->krb5_ccname);
+#endif
+
  out:
        restore_uid();
 
This page took 0.036284 seconds and 4 git commands to generate.