From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tapani Tiensuu Newsgroups: gmane.os.tru64.managers Subject: Xaccess syntax question Date: Wed, 28 Aug 2002 07:52:19 +0300 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.1.0.14.2.20020828075019.00bc4d48@vttmail.vtt.fi> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: main.gmane.org 1030510273 5555 127.0.0.1 (28 Aug 2002 04:51:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 Aug 2002 04:51:13 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17junM-0001RB-00 for ; Wed, 28 Aug 2002 06:51:08 +0200 Original-Received: (qmail 972 invoked by uid 5); 28 Aug 2002 04:52:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 963 invoked by uid 49493); 28 Aug 2002 04:52:28 -0000 Original-Received: from tapani.tiensuu@vtt.fi by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. Clear:. Processed in 0.398027 secs); 28 Aug 2002 04:52:28 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 28 Aug 2002 04:52:28 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1J002O9EVEPS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 28 Aug 2002 00:52:28 -0400 (EDT) Original-Received: from melanieb.vtt.fi ([130.188.1.12]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1J005HDEVBAB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 28 Aug 2002 00:52:24 -0400 (EDT) Original-Received: from mailgw.vtt.fi (localhost [127.0.0.1]) by melanieb.vtt.fi (8.9.3/8.9.3) with ESMTP id HAA25087 for ; Wed, 28 Aug 2002 07:52:20 +0300 (EEST) Original-Received: from ESPT4C0034.vtt.fi (ESPT4C0034.ad.vtt.fi [130.188.60.39]) by mailgw.vtt.fi (8.12.2/8.12.2) with ESMTP id g7S4qJI6023174 for ; Wed, 28 Aug 2002 07:52:19 +0300 (EEST) X-Sender: protti@vttmail.vtt.fi Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Xref: main.gmane.org gmane.os.tru64.managers:1506 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1506 Dear gurucreatures I would like to restrict (in)direct xdmcp connections. Hostnames allowed to xdmcp fall in two categories: *.something.vtt.fi same_for_group_of_hosts*.something_else.vtt.fi (ie. start with same string) How achieve this with Xaccess? I have tried several wildcard patterns and from the results I'm ready to argue that wildcards don't work as a part of the hostname: *.foo.vtt.fi works but fish*.foo.vtt.fi does not. From Xaccess... ###################################################################### # # ENTRY FORMAT # # An entry in this file is either a host name or a pattern. A # pattern may contain one or more meta characters (`*' matches any # sequence of 0 or more characters, and `?' matches any single # character) which are compared against the host name of the remote # device requesting service. # . . . Thx Tapani