Article View: news.software.nntp
Article #79413Re: Response code for AUTHINFO GENERIC
From: Russ Allbery
Date: Sun, 07 Sep 2008 17:06
Date: Sun, 07 Sep 2008 17:06
25 lines
2131 bytes
2131 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> In RFC 2980, it is said for AUTHINFO GENERIC:
>
> The authenticators converse using their protocol until complete. If
> the authentication succeeds, the server authenticator will terminate
> with a 281, and the client can continue by reissuing the command that
> prompted the 380. If the authentication fails, the server will
> respond with a 502.
>
> Hmm... 380 never existed (a typo for 480 I believe).
>
> But my question is for 502: are news servers which support the AUTHINFO
> capability as described in RFC 4643 supposed to send 502 or 481 when
> authentication fails for the now deprecated AUTHINFO GENERIC?
It's really the wrong meaning for 502, but as with the other legacy
commands, my tendency is to keep using the existing response codes for as
long as the old command is still around.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87wshnvqb7.fsf@windlord.stanford.edu>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!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mailReferences:
<ga0a0g$tl2$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87wshnvqb7.fsf@windlord.stanford.edu> Subject: Re: Response code for AUTHINFO GENERIC Date: Sun, 07 Sep 2008 10:06:20 -0700 From: Russ Allbery <rra@stanford.edu> References: <ga0a0g$tl2$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!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.stanford.edu 1220807180 13780 171.64.19.147 (7 Sep 2008 17:06:20 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:c4HRqIX6Qhz+snVeK033M3bL6MI=