🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69968

Re: Complete NNTP rookie - please help: How to setup a private news server

#69968
From: Jeffrey M. Vinocur
Date: Thu, 23 Sep 2004 15:48
33 lines
2277 bytes
In article <2re3r6F19n27lU1@uni-berlin.de>,
Andre Schnoor <andre.schnoor@web.de> wrote:
>
>auth "beta" {
>    auth: "ckpasswd -f <path-to-password-file>"
>}
>
>access "beta" {
>    users: "beta@*"
>    newsgroups: "*, !junk, !control, !control.*"
>}
>
>
>The password files include a user "beta" and his password. However, it seems
>the user "beta" is not matched by the access group setting. What's wrong?

Excellent observation.  (You can get detailed logging of how
readers.conf matching works by enabling news.debug, if you want
to investigate something like this yourself in the future.)

If the password file lists a user "beta" (without an @ sign), and
there is no "default-domain" line in the auth block, the user
will be assigned identity of "beta", and that does -not- match
"beta@*" because there's no @ sign.

Just change the access block to "users: beta" (without the "@*")
and you'll be fine.  If you don't have multiple password files,
there's really no need for the domain support.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ciur8s$fat$3@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!news.maxwell.syr.edu!news.litech.org!not-for-mail
References: <2r91qnF17rs46U1@uni-berlin.de> <2rdpn5F19irvkU1@uni-berlin.de> <HDi4d.250$zG1.205@newsread3.news.pas.earthlink.net> <2re3r6F19n27lU1@uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <ciur8s$fat$3@puck.litech.org>
Subject: Re: Complete NNTP rookie - please help: How to setup a private news server
Date: Thu, 23 Sep 2004 15:48:44 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <2r91qnF17rs46U1@uni-berlin.de> <2rdpn5F19irvkU1@uni-berlin.de> <HDi4d.250$zG1.205@newsread3.news.pas.earthlink.net> <2re3r6F19n27lU1@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.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!news.maxwell.syr.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 33
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1095954524 15709 66.218.0.75 (23 Sep 2004 15:48:44
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 23 Sep 2004 15:48:44 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)