πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79414

Re: Use of AUTHINFO USER

#79414
From: Russ Allbery
Date: Sun, 07 Sep 2008 17:09
43 lines
2903 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> In RFC 4643, it is said for AUTHINFO:
>
>   The "USER" argument indicates that AUTHINFO USER/PASS is supported as
>   defined by Section 2.3 of this document.  The "USER" argument MUST NOT
>   be advertised, and the AUTHINFO USER/PASS commands SHOULD NOT be
>   provided, unless a strong encryption layer (e.g., Transport Layer
>   Security (TLS) [NNTP-TLS]) is in use or backward compatibility
>   dictates otherwise.
>
>   [...]
>
>   The server MAY list the AUTHINFO capability with no arguments, which
>   indicates that it complies with this specification and does not
>   permit any authentication commands in its current state.
>
> I do not understand the subtlety between MUST NOT and SHOULD NOT in the
> first paragraph.  That is to say I understand that if USER is not
> advertised, AUTHINFO USER could still be available.  However, if the
> AUTHINFO capability has no argument, it means that authentication is not
> permitted according to the second paragraph.  Therefore, AUTHINFO USER
> is not available.
>
> This MUST/SHOULD NOT would mean something when AUTHINFO SASL is
> advertised, but not AUTHINFO USER.  Is it the intention?  Otherwise, I
> understand that *no* AUTHINFO capability is to be advertised but
> AUTHINFO USER is available.  Is it the intention?

Yes, I believe that's the intention.

> Another question:  if SASL is not supported, what is the answer for
> AUTHINFO SASL mechanism?  501 or 503?  It is not specified in RFC 4643
> but I believe that it is 503 because the command name is implemented
> (according to RFC 3977).

Right, 503 is correct.

-- 
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: <87sksbvq6a.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-mail
References: <ga0hlj$acs$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <87sksbvq6a.fsf@windlord.stanford.edu>
Subject: Re: Use of AUTHINFO USER
Date: Sun, 07 Sep 2008 10:09:17 -0700
From: Russ Allbery <rra@stanford.edu>
References: <ga0hlj$acs$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: 43
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 1220807357 13780 171.64.19.147 (7 Sep 2008 17:09:17
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:uKXwiTzMH8edcd7g0/zBHaQQk1s=