🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Julien ÉLIE Sun, 07 Sep 2008 12:32
Use of AUTHINFO USER
#79412
Author: Julien ÉLIE
Date: Sun, 07 Sep 2008 12:32
43 lines
2866 bytes
Hi,

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?



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).

-- 
Julien ÉLIE

« Les horizontales se rencontrent dans tous les milieux,
  les parallèles jamais. » (Alphonse Allais) 
Re: Use of AUTHINFO USER
#79414
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads