🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52511

(INN 2.3.1) Pseudo-authentication for experienced users

#52511
From: Eric
Date: Fri, 25 May 2001 21:15
74 lines
3026 bytes
I'm running a local news server whith some active newsgroups and some
newsgroups I used to run a time ago.

I want to use 'pseudo-authentication' to hide the old groups for new users of
my server and reveal the archive-groups to the experienced users who
know how to send a username/password.

1-Who doesn't send a username/password should only see the groups that
are relevant now.

2-People that send a username/password like guest/guest get to see the
old newsgroups as well. (I created a password file with a lot of easy
to guess usernames and identical passwords, and according to
news.notice it works.)

3-And then I would like to give all users from localhost and my local
network access to absolutely everything.

The problem is: whatever I do, when i 'uncomment' the lines in
reader.conf that have to do with authentication, everybody gets
access to everything, regardles of wheather they send u/p
or not.

I've tried all sorts of settings, to no avail. This is my last try:

----------
auth "iedereen" {
        hosts: "*"
        default: "<iedereen>"
}

access "iedereen" {
        users: "<iedereen>"
        newsgroups: "-list of groups that everyone should or
should'nt see/post to-"
}

auth "localhost" {
    hosts: "news.flevoland.to, localhost, 127.0.0.1, underdog.hobinet"
    default: "<localhost>"
}

access "localhost" {
    users: "<localhost>"
    newsgroups: "*"
}

auth "archief" {
       auth: "ckpasswd -d /usr/local/news/db/newsusers"
       default: "<iedereen>"
}

access "archief" {
       users: "*"
       read: "-list of groups the happy few are allowed to see/post
to"
}

----------
When i comment out the last two blocks, at least 1 and 3 work.
Otherwise, everyone gets to see everything, so is treated like
<localhost>.

What am I doing wrong?

(At this moment I have commented out the last two blocks, to prevent
confusion amongs the readers.)

-- 
Eric
	http://news.flevoland.to
	Ongemodereerd je zegje doen over Flevolandse
	onderwerpen. (NNTP: news://news.flevoland.to/algemeen )
Technical Details
Message-ID: <3b0ecb9f$0$19598$e4fe514c@newszilla.xs4all.nl>
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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <3b0ecb9f$0$19598$e4fe514c@newszilla.xs4all.nl>
Subject: (INN 2.3.1) Pseudo-authentication for experienced users
Date: Fri, 25 May 2001 23:15:40 +0200
From: "Eric" <eric@dehont.dyn.dhs.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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail
Newsgroups: news.software.nntp
Organization: Stad-van-de-Vrijheid / news://news.flevoland.to
User-Agent: Pan/0.9.6 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 73
NNTP-Posting-Host: 213.46.31.158
X-Trace: 990825376 newszilla.xs4all.nl 19598 edehont/213.46.31.158