source: trunk/server/common/patches/openssh-4.7p1-gssapi-name-in-env.patch @ 2621

Last change on this file since 2621 was 1259, checked in by mitchb, 15 years ago
Reintegrate branches/fc11-dev (r1121:1258) to trunk
File size: 496 bytes
RevLine 
[1228]1--- openssh-4.7p1/gss-serv.c
2+++ openssh-4.7p1/gss-serv.c
3@@ -355,6 +355,13 @@
4                child_set_env(envp, envsizep, gssapi_client.store.envvar,
5                    gssapi_client.store.envval);
6        }
7+       if (gssapi_client.exportedname.length != 0 &&
8+           gssapi_client.exportedname.value != NULL) {
9+               debug("Setting %s to %s", "SSH_GSSAPI_NAME",
10+                   gssapi_client.exportedname.value);
11+               child_set_env(envp, envsizep, "SSH_GSSAPI_NAME",
12+                   gssapi_client.exportedname.value);
13+       }
14 }
15 
16 /* Privileged */
Note: See TracBrowser for help on using the repository browser.