From:	ADVAX::"mcnc!VM1.NoDak.EDU!synful%DRYCAS.CLUB.CC.CMU.EDU" "Marc Shannon" 11-MAR-1991 11:10:34.29
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	RE: Problems with controlling NNTP access

Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Mon, 11 Mar 91 11:09:31 EST
Received:  from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.15) with UUCP
	id AA13488 for ; Mon, 11 Mar 91 10:28:43 -0500
Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/6-11-90)
	id AA11583; Mon, 11 Mar 91 09:24:34 -0500
	for ARISIA.DNET.ge.com!EVERHART
Message-Id: <9103111424.AA11583@mcnc.mcnc.org>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 4114; Mon, 11 Mar 91 08:25:26 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 9857; Mon, 11 Mar 91 08:25:25 CST
Date:         Sun, 10 Mar 91 21:29:29 GMT
Reply-To: Marc Shannon <mcnc!VM1.NoDak.EDU!synful%DRYCAS.CLUB.CC.CMU.EDU>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: Marc Shannon <mcnc!VM1.NoDak.EDU!synful%DRYCAS.CLUB.CC.CMU.EDU>
Subject:      RE: Problems with controlling NNTP access
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
In article <9103080515.AA15266@jatz.aarnet.edu.au>, G.Huston@AARNET.EDU.AU write
s:
> The question is who does the server think yopu are? On the client system
> telnet
> to the server's port 119 and issue the command "xconn"
 
Actually, Scott Allendorf was the only person who was able to tell me my
problem.  Apparently, in NNTP_SERVER.C there is a call (which I'll extract from
his message should anyone else not have seen it posted originally):
 
        if (!wild_match(host_name,host)) {
          *canread = (*readperm == 'r' || *readperm == 'v');
 
which is the opposite of what it should be.  Once the '!' was removed, the NNTP
access checks worked as documented.
 
--Marc
 
--
+-----------------------------------------------------------------------------+
| Marc Shannon                                 Internet Address (Bitnet name) |
| VAX Systems Programmer               SYNFUL@DRYCAS.CLUB.CC.CMU.EDU (DRYCAS) |
| Carnegie-Mellon University                  R602MS5U@VB.CC.CMU.EDU (CMCCVB) |
| (412) 268-6290              "I mean, really, what could possibly go wrong?" |
+-----------------------------------------------------------------------------+
