🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69852

Re: Combination of "auth" and "access" in readers.conf

#69852
From: Jeffrey M. Vinocur
Date: Tue, 07 Sep 2004 16:33
35 lines
2716 bytes
In article <49836abb.0409070446.60b3539c@posting.google.com>,
Peter Rohleder <Peter.Rohleder@epost.de> wrote:
>
>is it possible to set up the auth- and access-areas in the
>readers.conf in a way that inn only asks for authencitation if the
>user chooses one specific newsgroup?
>
>Under the assumption that authencitation is necessary for a subset of
>users and under the assumption that there is no way of identifying the
>user with their IP-adresses it seems to me, that inn always has to ask
>for authencitation in order to put the user into a specific
>access-category.

In most cases, admins don't want "private" groups to show up in
the group list for all users.  Therefore, the user cannot even
attempt to enter the group (with most newsreaders) because it
does not appear in the list.  The only real solution to this
problem for the user to enable the "always send authentication
information even when the server does not require it" option
(most newsreaders have an option like this).  Then your
readers.conf can give one set of groups to the users who don't
authenticate, and a different set to the users who do.

Now, if you don't mind the "private" groups appearing in
everyone's group list, I believe it is possible to have
authentication prompted for when the user tries to access that
group.  However, there's no readers.conf support for this; you
have to script it manually through the Python hooks (see the
DYNAMIC ACCESS CONTROL section of doc/hook-python for details).
This is likely to be a substantial amount of work.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <chknti$7tc$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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <49836abb.0409070446.60b3539c@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <chknti$7tc$1@puck.litech.org>
Subject: Re: Combination of "auth" and "access" in readers.conf
Date: Tue, 07 Sep 2004 16:33:54 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <49836abb.0409070446.60b3539c@posting.google.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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 35
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1094574834 8108 66.218.0.75 (7 Sep 2004 16:33:54 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 7 Sep 2004 16:33:54 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)