Index: /branches/fc11-dev/server/common/patches/openssh-4.7p1-gssapi-name-in-env.patch
===================================================================
--- /branches/fc11-dev/server/common/patches/openssh-4.7p1-gssapi-name-in-env.patch	(revision 1228)
+++ /branches/fc11-dev/server/common/patches/openssh-4.7p1-gssapi-name-in-env.patch	(revision 1228)
@@ -0,0 +1,16 @@
+--- openssh-4.7p1/gss-serv.c
++++ openssh-4.7p1/gss-serv.c
+@@ -355,6 +355,13 @@
+ 		child_set_env(envp, envsizep, gssapi_client.store.envvar,
+ 		    gssapi_client.store.envval);
+ 	}
++	if (gssapi_client.exportedname.length != 0 &&
++	    gssapi_client.exportedname.value != NULL) {
++	        debug("Setting %s to %s", "SSH_GSSAPI_NAME",
++		    gssapi_client.exportedname.value);
++		child_set_env(envp, envsizep, "SSH_GSSAPI_NAME",
++		    gssapi_client.exportedname.value);
++	}
+ }
+ 
+ /* Privileged */
Index: /branches/fc11-dev/server/fedora/specs/openssh.spec.patch
===================================================================
--- /branches/fc11-dev/server/fedora/specs/openssh.spec.patch	(revision 1227)
+++ /branches/fc11-dev/server/fedora/specs/openssh.spec.patch	(revision 1228)
@@ -1,4 +1,4 @@
---- openssh.spec.orig	2009-03-13 06:35:08.000000000 -0400
-+++ openssh.spec	2009-06-03 03:45:34.000000000 -0400
+--- openssh.spec-pristine	2009-07-01 18:55:04.579034598 -0400
++++ openssh.spec	2009-07-01 18:49:33.068037580 -0400
 @@ -63,7 +63,7 @@
  Summary: An open source implementation of SSH protocol versions 1 and 2
@@ -10,13 +10,14 @@
  #Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
  #Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc
-@@ -74,6 +74,7 @@
+@@ -74,6 +74,8 @@
  Source1: openssh-nukeacss.sh
  Source2: sshd.pam
  Source3: sshd.init
 +Patch1000: openssh-5.0p1-multihomed.patch
++Patch1001: openssh-4.7p1-gssapi-name-in-env.patch
  Patch0: openssh-5.2p1-redhat.patch
  Patch2: openssh-5.1p1-skip-initial.patch
  Patch3: openssh-3.8.1p1-krb5-config.patch
-@@ -160,6 +161,7 @@
+@@ -160,6 +162,7 @@
  Requires(post): chkconfig >= 0.9, /sbin/service
  Requires(pre): /usr/sbin/useradd
@@ -26,9 +27,10 @@
  %package askpass
  Summary: A passphrase dialog for OpenSSH and X
-@@ -229,6 +231,8 @@
+@@ -229,6 +232,9 @@
  %patch62 -p1 -b .manpage
  %patch65 -p1 -b .fips
  
 +%patch1000 -p1 -b .multihomed
++%patch1001 -p1 -b .gssapi-env
 +
  autoreconf
