From 415d616004de7a6d999a38d93bbbc5a34b460751 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 6 Aug 2014 04:30:10 +0100 Subject: openssh → openssh-princ-fp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GSS_AUTH_KRB5_PRINC-env4openssh.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 GSS_AUTH_KRB5_PRINC-env4openssh.diff (limited to 'GSS_AUTH_KRB5_PRINC-env4openssh.diff') diff --git a/GSS_AUTH_KRB5_PRINC-env4openssh.diff b/GSS_AUTH_KRB5_PRINC-env4openssh.diff new file mode 100644 index 0000000..60b555f --- /dev/null +++ b/GSS_AUTH_KRB5_PRINC-env4openssh.diff @@ -0,0 +1,14 @@ +--- gss-serv-krb5.c.orig 2012-07-12 14:33:31.117551679 +0200 ++++ gss-serv-krb5.c 2012-07-12 14:34:30.319020970 +0200 +@@ -104,6 +104,11 @@ + } else + retval = 0; + ++#ifdef USE_PAM ++ if (options.use_pam) ++ do_pam_putenv("GSS_AUTH_KRB5_PRINC", (char *)client->displayname.value); ++#endif ++ + krb5_free_principal(krb_context, princ); + return retval; + } -- cgit v1.2.3-70-g09d2