Subject: xsrc/10751: xsrc Wraphelp.c xdmauth missing
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 08/04/2000 07:10:12
>Number:         10751
>Category:       xsrc
>Synopsis:       xsrc Wraphelp.c xdmauth missing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 04 07:11:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Release:        -current jul 30 2000
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.5C NetBSD 1.5C (WSRCC) #0: Sun Jul 30 11:47:17 PDT 2000 root@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:

	the optional X11 crypto file xc/lib/Xdmcp/Wraphelp.c is
	missing from the distribution.  this effectively disables the
	xdmauth type of authentication.  Some precompiled binaries
	(like netscape/x86-linux) assume this type exists and will
	refuse to try x-cookie.  One is forced to basically disable
	authentication via "xhost hostname" and accept any X11
	connection from the named host.

>How-To-Repeat:

	inspection

>Fix:
	
	get xc/lib/Xdmcp/Wraphelp.c
	(ftp.x.org:/pub/R6/xdm-auth/README) and put it in the tree.
	
	apply this patch to site.def

Index: site.def
===================================================================
RCS file: /cvsroot/xsrc/xc/config/cf/site.def,v
retrieving revision 1.2
diff -u -r1.2 site.def
--- site.def	1999/04/27 02:35:36	1.2
+++ site.def	2000/08/04 13:57:04
@@ -83,7 +83,7 @@
 #endif
 
 /* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
-/* #define HasXdmAuth YES */
+#define HasXdmAuth YES
 
 /* #define PreIncDir DefaultGccIncludeDir */
 
	
>Release-Note:
>Audit-Trail:
>Unformatted: