Bugzilla – Attachment 643 Details for
Bug 688
PAM modules relying on module-private data (pam_dhkeys, pam_krb5, AFS) fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Enables storage of forwarded GSSAPI credentials
openssh-pam-privsep.patch (text/plain), 1.14 KB, created by
Christian Pfaffel
on 2004-05-28 19:40:51 AEST
(
hide
)
Description:
Enables storage of forwarded GSSAPI credentials
Filename:
MIME Type:
Creator:
Christian Pfaffel
Created:
2004-05-28 19:40:51 AEST
Size:
1.14 KB
patch
obsolete
>--- openssh-3.8.1p1/session.c.~1~ Fri Apr 16 14:47:55 2004 >+++ openssh-3.8.1p1/session.c Tue May 25 15:02:19 2004 >@@ -888,7 +888,6 @@ > fclose(f); > } > >-#ifdef HAVE_ETC_DEFAULT_LOGIN > /* > * Return named variable from specified environment, or NULL if not present. > */ >@@ -905,6 +904,8 @@ > return NULL; > } > >+#ifdef HAVE_ETC_DEFAULT_LOGIN >+ > /* > * Read /etc/default/login. > * We pick up the PATH (or SUPATH for root) and UMASK. >@@ -1103,8 +1104,14 @@ > * been set by PAM. > */ > if (options.use_pam) { >- char **p; >+ char **p, *cp; > >+ if((cp = child_get_env(env, "KRB5CCNAME")) != NULL){ >+ debug("Reexecuting do_pam_session()"); >+ do_pam_putenv("KRB5CCNAME", cp); >+ do_pam_session(); >+ } >+ > p = fetch_pam_child_environment(); > copy_environment(p, &env, &envsize); > free_pam_environment(p); >--- openssh-3.8.1p1/session.h.~1~ Thu Oct 2 08:12:37 2003 >+++ openssh-3.8.1p1/session.h Tue May 25 14:55:05 2004 >@@ -71,5 +71,6 @@ > void do_setusercontext(struct passwd *); > void child_set_env(char ***envp, u_int *envsizep, const char *name, > const char *value); >+static char *child_get_env(char **env, const char *name); > > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 688
:
434
|
642
| 643 |
1347