X11 xauth familylocal testing

Kevin Steves stevesk at pobox.com
Thu Nov 29 07:20:40 EST 2001


On Wed, 28 Nov 2001, Osmo Paananen wrote:
:Kevin sent two patches in that mail, one of which applies to
:portable version and another which doesn't (according to his
:own words).
:
:What is the portable patch supposed to do?  I somehow missed that.

sorry, i should have been more clear.  currently there are 2 authorization
entries added for X11 forwarding with xauth.  1 for familyinternet and 1
for familylocal.  i do not believe the familylocal entry is needed.  i
would like to get people to test this on platforms i don't have (solaris,
aix, windows, etc.)  i have tested this on openbsd, hp-ux 11 and linux
(redhat 7.2).

specifically, can i hear reports where this patch *breaks* x11 fowarding
on the server?

we just set screen to NULL, so the /unix entries are not added.

Index: session.c
===================================================================
RCS file: /var/cvs/openssh/session.c,v
retrieving revision 1.156
diff -u -r1.156 session.c
--- session.c	2001/11/13 12:46:19	1.156
+++ session.c	2001/11/27 21:11:05
@@ -1415,7 +1415,8 @@
 				    _PATH_SSH_SYSTEM_RC);
 		} else if (do_xauth && options.xauth_location != NULL) {
 			/* Add authority data to .Xauthority if appropriate. */
-			char *screen = strchr(s->display, ':');
+			/*char *screen = strchr(s->display, ':');*/
+			char *screen = NULL;

 			if (debug_flag) {
 				fprintf(stderr,




More information about the openssh-unix-dev mailing list