🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74522

Re: Puzzled by readers.conf

#74522
From: Russ Allbery
Date: Wed, 15 Nov 2006 19:03
28 lines
1917 bytes
Martin Streicher <martin.streicher@gmail.com> writes:

> These two auth entries appear at the top of my readers.conf:

> auth "denyall" {
>   hosts: "*"
>   default: "<no-user>"
> }

> auth "cluster" {
>   hosts: "*.devel.foobar.com"
>   auth: simple
> }

> I was hoping that the latter would override the former during the auth
> process, at least that was the way I read the documentation.

> However, if I use this, "cluster" never is used to compare against the
> incoming host name.

Because cluster has an auth handler set, that block will not be used until
the user attempts to authenticate.  Could that be the issue?

-- 
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: <878xicr0qv.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <1163609130.533321.166300@k70g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <878xicr0qv.fsf@windlord.stanford.edu>
Subject: Re: Puzzled by readers.conf
Date: Wed, 15 Nov 2006 11:03:20 -0800
From: Russ Allbery <rra@stanford.edu>
References: <1163609130.533321.166300@k70g2000cwa.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1163617400 7308 171.64.19.147 (15 Nov 2006 19:03:20
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
Cancel-Lock: sha1:7V+37H41HnahInMgK1z43BzoabY=