🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67364

Re: Authentication Question

#67364
From: Jeffrey M. Vinocur
Date: Thu, 11 Dec 2003 12:02
36 lines
2381 bytes
In article <br9e88$o9b$1@lore.csc.com>,
Steve  <steve@nospam-goofer.co.uk> wrote:
>jeff@litech.org (Jeffrey M. Vinocur) wrote:
>
>> [...]
>
> [...]

Everything you suggested sounds right on.


>> (A failed authentication attempt,
>> like an incorrect password, results in a closed connection with
>> no further readers.conf processing.)
>
>Based on this, is there ever a purpose for assigning a default after an 
>auth?  If no further processing is performed, the default can never be 
>acted upon.

Well, the default isn't for *after* an the auth -- it's for
connections that haven't auth'd yet.  Think of it like this:
first a matching auth block is chosen based on IP address, and
then an identity is assigned based on res:, auth:, and default:
lines (whichever of those are applicable).  So you definitely
need the default for the configuration you're thinking of to
work.

(Also, ckpasswd always returns an identity -- but I guess you
*could* write an authenticator that returned success but didn't
assign an identity, and I'm not sure if default: would be used in
that case.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <br9md5$oj2$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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.stueberl.de!proxad.net!fr.ip.ndsoftware.net!news.litech.org!not-for-mail
References: <br27ci$3te$1@bananasplit.info> <br4lld$3s9$1@lore.csc.com> <br8vc0$bd$2@puck.litech.org> <br9e88$o9b$1@lore.csc.com>

Show Full Headers
Complete Article Headers
Message-ID: <br9md5$oj2$1@puck.litech.org>
Subject: Re: Authentication Question
Date: Thu, 11 Dec 2003 12:02:45 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <br27ci$3te$1@bananasplit.info> <br4lld$3s9$1@lore.csc.com> <br8vc0$bd$2@puck.litech.org> <br9e88$o9b$1@lore.csc.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.stueberl.de!proxad.net!fr.ip.ndsoftware.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 36
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1071144165 25186 66.218.0.75 (11 Dec 2003 12:02:45
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 11 Dec 2003 12:02:45 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)