Re: [Helix Beta] Re: gdm indirect XDMCP - anyone got working OK?



diff -urN gdm-2.0beta4/daemon/xdmcp.c gdm-2.0beta4xdmcp/daemon/xdmcp.c
--- gdm-2.0beta4/daemon/xdmcp.c	Wed Sep 29 18:56:35 1999
+++ gdm-2.0beta4xdmcp/daemon/xdmcp.c	Thu Dec 28 06:01:59 2000
@@ -365,26 +365,8 @@
     }
     
     /* Check with tcp_wrappers if client is allowed to access */
-    if (gdm_xdmcp_host_allow (clnt_sa)) {
-
-	/* If this is an INDIRECT_QUERY, try to look up the display in
- 	 * the pending list. If found send a FORWARD_QUERY to the
- 	 * chosen manager. Otherwise alloc a new indirect display. */
-
-	if (GdmIndirect && type==INDIRECT_QUERY) {
-	    GdmIndirectDisplay *id = gdm_choose_indirect_lookup (clnt_sa);
-
-	    if (id) 
-		if (id->acctime + GdmMaxIndirectWait < time (NULL)) /* Expired? */
-		    gdm_xdmcp_send_forward_query (id, &clnt_authlist);
-		else
-		    gdm_xdmcp_send_unwilling (clnt_sa, type);
-	    else
-		gdm_choose_indirect_alloc (clnt_sa);
-	}
-
+    if (gdm_xdmcp_host_allow (clnt_sa)) 
 	gdm_xdmcp_send_willing (clnt_sa);
-    }
     else
 	gdm_xdmcp_send_unwilling (clnt_sa, type);
 



-- 
Martin K. Petersen      Cereal Bowl Engineer, Linuxcare, Inc.
http://mkp.net/         SGI XFS, Linux/PA-RISC, GNOME


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]