🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78868

INN 2.4.3 Question on Authentication (AUTHINFO)

#78868
From: Tim Fardell
Date: Wed, 09 Apr 2008 20:30
41 lines
2141 bytes
Hello again all! 

I'm trying to configure INN in such a way that everyone can read all
groups as soon as they connect, but can only post after successfully
authenticating (via ckpasswd). 

It sounds so simple, but I'm getting totally bogged down in the syntax
of readers.conf. I can't even figure out whether I need two auth
groups or just one! 

So, when a user connects and does not authenticate, they are allowed
to read everything, but post nothing. 
If they then authenticate, only then are they allowed to post. 

So far, I have come up with this: 

auth everyone {
  hosts: "*"
  auth: "ckpasswd"
  default: <LOCAL>
}

access not-authenticated {
  users: "<LOCAL>*"
  read: "*"
  post: "!*"
}

access authenticated {
  users "*, !<LOCAL>*"
  newsgroups: "*"
}

Will that work, or am I completely up the spout? 
Do I need separate auth groups, one for authenticated and the other
for non-authenticated users? 

Thanks in advance! 

-- 
Please remove all-your-clothes before replying. 
Technical Details
Message-ID: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!feed.xsnews.nl!border-2.ams.xsnews.nl!212.23.6.69.MISMATCH!zen.net.uk!demorgan.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com>
Subject: INN 2.4.3 Question on Authentication (AUTHINFO)
Date: Wed, 09 Apr 2008 21:30:27 +0100
From: Tim Fardell <tim.fardell.all-your-clothes@virgin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!feed.xsnews.nl!border-2.ams.xsnews.nl!212.23.6.69.MISMATCH!zen.net.uk!demorgan.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 41
Organization: Zen Internet
NNTP-Posting-Host: b5e7727d.news.zen.co.uk
X-Trace: DXC=G7; Z;
 Rn4j>f]TR9CI`A?^jYjZGX^207Pk`<MJMoM3PFm0IbeFZo[4HdU]U^0dkcTjn2h4_\n4EaKj8Na[XIlEXEe
X-Complaints-To: abuse@zen.co.uk