🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66762

Re: Problem using reject_with: in access block

#66762
From: Jeffrey M. Vinocur
Date: Wed, 01 Oct 2003 20:13
30 lines
2031 bytes
In article <blf3hf$bk7$1@antonio.escomposlinux.org>,
Antonio  <antonio@escomposlinux.org> wrote:
>
>auth "whatever" {
>	hosts: "*"
>	auth: "authenticator_1"
>	auth: "authenticator_2"
>	auth: "authenticator_3"
>}
>
>So we have three groups of users matching three different databases.

You *must* do it this way.  Remember how readers.conf works --
only *one* auth block is used (whichever one has the last
matching hosts: line), and then all of the res: and auth: lines
in that auth block are consulted.


>Could I give each "auth:" line a "default:" value and them write an
>access block for each? Like this:

Keep in mind that default: is never applied to the result of
authenticating, because an identity is returned by the
authenticator.  You need access groups that will differentiate
your users based on their identities.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <blfch9$noe$1@puck.litech.org>
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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!news.litech.org!not-for-mail
References: <blcet1$jkl$1@antonio.escomposlinux.org> <blealt$3rf$1@puck.litech.org> <blf3hf$bk7$1@antonio.escomposlinux.org>

Show Full Headers
Complete Article Headers
Message-ID: <blfch9$noe$1@puck.litech.org>
Subject: Re: Problem using reject_with: in access block
Date: Wed, 01 Oct 2003 20:13:29 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <blcet1$jkl$1@antonio.escomposlinux.org> <blealt$3rf$1@puck.litech.org> <blf3hf$bk7$1@antonio.escomposlinux.org>
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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 30
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1065039209 24334 66.218.0.75 (1 Oct 2003 20:13:29 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 1 Oct 2003 20:13:29 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)