🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53988

Re: readers.conf help

#53988
From: Jeffrey M. Vinocur
Date: Thu, 23 Aug 2001 17:36
53 lines
2267 bytes
In article <vak8zga20xb.fsf@darkstar.cis.ohio-state.edu>,
Joshua Gould  <gould@cis.ohio-state.edu> wrote:
>
>I've read the man page many many times and I'm still confused about
>users: and default:

Default is used if the authenticator doesn't return a username.
With ckpasswd it's effectively pointless.


>Basically... I want everyone to authenticate with username/password.
>
>Certain hosts, lets say hosta.dot.com and hostb.dot com should be able
>to access newgroup chat.secret.local and gossip.secret.local but no
>one else should.

If you're sure that's what you want (you want to restrict by host
and not by username), I'm pretty sure you're stuck using key: to
give a correspondence between auth groups and access groups.  Try
this:  (remember, case matters -- "most" and "MOST" are
different)


auth "most" {
        hosts: "*"
        auth: "ckpasswd -s"
        key: "MOST"
}

auth "all" {
        hosts: "hosta.dot.com,hostb.dot.com"
        auth: "ckpasswd -s"
        key: "ALL"
}

access "all" {
        newsgroups: "*"
        access: "RPA"
        key: "ALL"
}

access "most" {
        newsgroups: "*,!chat.secret.local,!gossip.secret.local"
        access: "RPA"
        users: "MOST"
}
 


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <9m3evm$diq$1@marduk.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!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <vak8zga20xb.fsf@darkstar.cis.ohio-state.edu>

Show Full Headers
Complete Article Headers
Message-ID: <9m3evm$diq$1@marduk.litech.org>
Subject: Re: readers.conf help
Date: Thu, 23 Aug 2001 17:36:54 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <vak8zga20xb.fsf@darkstar.cis.ohio-state.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.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 52
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 998588214 13914 128.84.154.54 (23 Aug 2001 17:36:54 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 23 Aug 2001 17:36:54 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)