🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70742

Re: a patch, some comments, and a question ...

#70742
From: Russ Allbery
Date: Thu, 17 Feb 2005 21:41
42 lines
2838 bytes
Sylvain Robitaille <syl@alcor.concordia.ca> writes:
> Jeffrey M. Vinocur wrote:

>> How about this:
>> 
>>    ##  Concordia University hosts have no password, can read anything.
>>    auth "concordia" {
>>        hosts: *.concordia.ca 
>>        res: ident -t
>>        default: <concordia>
>>        default-domain: concordia.ca
>>    }
>>    
>>    access "concordia" {
>>        users: *@concordia.ca
>>        newsgroups: "*,!clari.web.*"
>>        access: RPNA
>>    }

> But I want the machine name as well, in order to be able to contact the
> correct sysadmin --- mind you that's already in NNTP-Posting-Host anyway
> ...

Does your ident daemon return identities like user@machine.concordia.ca?
Most of them don't; most of them just return the user part.  If the
latter, this isn't something that the ident authenticator currently
supports, but it would be trivial to add a command-line flag that appends
the hostname to the returned identity.

> Would I be correct in understanding that I would need a separate access
> stanza in the above configuration, to permit access from hosts with no
> ident daemon, with "users: <concordia>"?

No, those users will be assigned an identity of <concordia>@concordia.ca
(the combination of default and default-domain) and then will be picked up
by *@concordia.ca.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87y8dmj23q.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <slrnd17nop.2nve.syl@alcor.concordia.ca> <slrnd19nbp.av2a.syl@alcor.concordia.ca> <cv2q0r$klt$1@puck.litech.org> <slrnd1a1o6.fn5p.syl@alcor.concordia.ca> <cv31ce$prj$1@puck.litech.org> <slrnd1a2vk.fn5p.syl@alcor.concordia.ca>

Show Full Headers
Complete Article Headers
Message-ID: <87y8dmj23q.fsf@windlord.stanford.edu>
Subject: Re: a patch, some comments, and a question ...
Date: Thu, 17 Feb 2005 13:41:45 -0800
From: Russ Allbery <rra@stanford.edu>
References: <slrnd17nop.2nve.syl@alcor.concordia.ca> <slrnd19nbp.av2a.syl@alcor.concordia.ca> <cv2q0r$klt$1@puck.litech.org> <slrnd1a1o6.fn5p.syl@alcor.concordia.ca> <cv31ce$prj$1@puck.litech.org> <slrnd1a2vk.fn5p.syl@alcor.concordia.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 42
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1108676505 18710 171.64.19.147 (17 Feb 2005
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Corporate Culture, linux)
Cancel-Lock: sha1:NNW/wWKXI/XX+km81KvmEpk04LA=