๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67358

Re: Authentication Question

#67358
From: Jeffrey M. Vinocur
Date: Thu, 11 Dec 2003 05:29
66 lines
3517 bytes
In article <br4lld$3s9$1@lore.csc.com>,
Steve  <steve@nospam-goofer.co.uk> wrote:
>jeff@litech.org (Jeffrey M. Vinocur) wrote in
>news:br4g34$nsj$3@puck.litech.org: 
>
>> In article <br27ci$3te$1@bananasplit.info>,
>> Steve  <steve@nospam-goofer.co.uk> wrote:
>>>
>>>Now I need to configure my readers.conf file and I'm having trouble 
>>>finding an example that fits my requirement.  The excerpt below is
>>>from my current configuration, but doesnย’t work as I hoped it would.
>> 
>> You've got to be more specific about what you're hoping for the
>> above complaint to be very useful...
>
>My sincere apologies if it read as a complaint, I didn't mean it to read 
>as such.  

Oh, I didn't mean it that way (I actually tried to find a better
word than "complaint" but couldn't) -- but it's not a very useful
problem report to say "this doesn't work the way I want it to"
without describing what it is you're expecting it to do.


>Below is the readers.conf configuration I have been trying to use, but I 
>guess it's incorrect.  With this all users have read access as defined in 
>the "global" sections, but nobody is getting posting access.
>
>Any suggestions as to what I'm doing wrong?

Yup.  Common confusion.  (I ought to dig up the most clear
explanation I've ever written of this and get Russ to put it in
the FAQ, but oh well.)


>auth "global" {
>        default: "<user>@global"
>}
>
>auth "trusted" {
>        default: "<user-auth>@global"
>        auth: "ckpasswd -f /usr/local/news/passwd/innpasswd"
>}

So here's one problem.  The second auth group is always going to
match (since there's no hosts: restriction), so an
unauthenticated connection is going to be assigned identity
<user-auth>@global.


>access "trusted" {
>        users: "<user-auth>@global"
>        newsgroups: "*,!local,!control*,!junk*"
>}

And here's the other.  When a user successfully authenticates
with a ckpasswd database, the identity assigned is that of the
username provided during the authentication itself, not the
default in that auth group.  (A failed authentication attempt,
like an incorrect password, results in a closed connection with
no further readers.conf processing.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <br8vc0$bd$2@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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer1.atl.newshosting.com!newspeer.monmouth.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.litech.org!not-for-mail
References: <br27ci$3te$1@bananasplit.info> <br4g34$nsj$3@puck.litech.org> <br4lld$3s9$1@lore.csc.com>

Show Full Headers
Complete Article Headers
Message-ID: <br8vc0$bd$2@puck.litech.org>
Subject: Re: Authentication Question
Date: Thu, 11 Dec 2003 05:29:36 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <br27ci$3te$1@bananasplit.info> <br4g34$nsj$3@puck.litech.org> <br4lld$3s9$1@lore.csc.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer1.atl.newshosting.com!newspeer.monmouth.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 66
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1071120576 365 66.218.0.75 (11 Dec 2003 05:29:36 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 11 Dec 2003 05:29:36 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)