aboutsummaryrefslogtreecommitdiffstats
path: root/GSS_AUTH_KRB5_PRINC-env4openssh.diff
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-06 04:30:10 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:41 +0200
commit415d616004de7a6d999a38d93bbbc5a34b460751 (patch)
tree3d0709fda1f74495427ad16b5f3951b05cdf50d2 /GSS_AUTH_KRB5_PRINC-env4openssh.diff
downloadpkgbuilds-415d616004de7a6d999a38d93bbbc5a34b460751.tar.xz
openssh → openssh-princ-fp
Diffstat (limited to 'GSS_AUTH_KRB5_PRINC-env4openssh.diff')
-rw-r--r--GSS_AUTH_KRB5_PRINC-env4openssh.diff14
1 files changed, 14 insertions, 0 deletions
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;
+ }