πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78895

Re: INN 2.4.3 Question on Authentication (AUTHINFO)

#78895
From: Jeffrey M. Vinocur
Date: Fri, 11 Apr 2008 01:17
42 lines
2329 bytes
In article <ftl26j$7bg$1@news.trigofacile.com>,
Julien Γ‰LIE  <iulius@nom-de-mon-site.com.invalid> wrote:
>
>With the example Tim gave:
>
>auth everyone {
>  hosts: "*"
>  auth: "ckpasswd"
>  default: <LOCAL>
>}
>
>the <LOCAL> identity is assigned when authentication is unsuccessful
>because there is a default: parameter.
>If not present, nnrpd goes on asking for authentication.

Have you confirmed that behavior?  I just tested with a block like this:

  auth "internalnet" {
      hosts: "localhost"
      res: "ident -t"
      auth: "ckpasswd"
      auth: "ckpasswd -f /usr/local/news/db/newsusers"
      #default: "<FAIL>"
      default-domain: "litech.org"
  }

and if I authenticate unsuccessfully there is absolutely no
opportunity to access news or authenticate again (if I uncomment
the default line, I get the same behavior):

    200 news.litech.org InterNetNews NNRP server INN 2.5.0 (20080204 prerelease) ready (posting ok).
    authinfo user sjdfla
    381 PASS required
    authinfo pass iesflajf
    502 Authentication error
    
    Connection closed by foreign host.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ftme74$h9u$2@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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!news.glorb.com!news.litech.org!not-for-mail
References: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com> <ftjhak$l5b$2@puck.litech.org> <ftl26j$7bg$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <ftme74$h9u$2@puck.litech.org>
Subject: Re: INN 2.4.3 Question on Authentication (AUTHINFO)
Date: Fri, 11 Apr 2008 01:17:24 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com> <ftjhak$l5b$2@puck.litech.org> <ftl26j$7bg$1@news.trigofacile.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!postnews.google.com!news2.google.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 42
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1207876644 17726 66.218.0.75 (11 Apr 2008 01:17:24
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Fri, 11 Apr 2008 01:17:24 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)