Article View: news.software.nntp
Article #78896Re: INN 2.4.3 Question on Authentication (AUTHINFO)
From: Julien ÉLIE
Date: Fri, 11 Apr 2008 06:07
Date: Fri, 11 Apr 2008 06:07
52 lines
3145 bytes
3145 bytes
Hi Jeffrey,
>>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:
Oh, I realize we were not speaking about the same thing.
I was in fact testing Tim's behaviour:
"It sort of implied that if the auth failed, it would still match on
the block but set the user to default:, in my case <LOCAL>. "
And I interpreted the "auth failed" as though there were no attempts
to authenticate (that is to say auth: is not called and the auth block
sets the user to <LOCAL>). And similarly "auth unsuccessful" as though
the auth block did not use the result of auth:.
I missed the "if authentication is *attempted* and is unsuccessful" of
your part when you answered. Sorry.
> 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.
Yes, I totally agree with you. When there is an attempt to authenticate
and if it fails, the connection is closed.
--
Julien ÉLIE
« Le travail est l'opium du peuple et
je ne veux pas mourir drogué. » (Boris Vian)
Technical Details
Message-ID:
<ftmv7g$t0j$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!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mailReferences:
<qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com> <ftjhak$l5b$2@puck.litech.org> <ftl26j$7bg$1@news.trigofacile.com> <ftme74$h9u$2@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <ftmv7g$t0j$1@news.trigofacile.com> Subject: Re: INN 2.4.3 Question on Authentication (AUTHINFO) Date: Fri, 11 Apr 2008 08:07:43 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com> <ftjhak$l5b$2@puck.litech.org> <ftl26j$7bg$1@news.trigofacile.com> <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!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 52 NNTP-Posting-Host: goret.via.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1207894064 29715 138.195.145.8 (11 Apr 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Fri, 11 Apr 2008 06:07:44 +0000 (UTC) In-Reply-To: <ftme74$h9u$2@puck.litech.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000