🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66356

Re: Readers.conf and auth access...

#66356
From: Jeffrey M. Vinocur
Date: Wed, 30 Jul 2003 21:05
33 lines
1987 bytes
In article <bg9bca$m49bu$1@ID-175458.news.uni-berlin.de>,
Stefano <stefano@nextgen.it> wrote:
>
>auth "authusers" {
>        hosts: *
>        auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/innauth"
>        default: "<authusers>"
>}
>
>access "authusers" {
>        users: "<authusers>"
>        read: "*, !junk, !control*, !local*"
>        post: "*"
>}

Your configuration grants access to people who don't
authenticate, but not to people who do.  Someone who doesn't
send any username will be assigned the <authusers> identity, but
someone who does send a correct password will be assigned that
username as an identity and therefore not match the access block
at all.

Try setting default: to <FAIL>, and putting an access block at
the bottom that denies access to the <FAIL> user.  (You want your
normal access block to have users: "*,!<FAIL>".)

You can track these problems down by enabling news.debug in
syslog.conf.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <bg9bv3$mk0$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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <bg9bca$m49bu$1@ID-175458.news.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <bg9bv3$mk0$1@puck.litech.org>
Subject: Re: Readers.conf and auth access...
Date: Wed, 30 Jul 2003 21:05:39 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <bg9bca$m49bu$1@ID-175458.news.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 32
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1059599139 23168 66.218.0.75 (30 Jul 2003 21:05:39 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 30 Jul 2003 21:05:39 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)