🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13821

AUTHINFO and INN

#13821
From: Steve Howie
Date: Tue, 07 Jan 1997 00:00
41 lines
2423 bytes
I have a question for the INN development crew about the way INN 
implements AUTHINFO processing:

According to Stan Barbers NNTP extensions document (this may have been
changed recently, I dunno), if a server requests AUTHINFO USER
authentication it sends a 480 response code to the client. If it requires
AUTHINFO GENERIC processing, it sends a 380 response code to the client. 

INN supports both types of processing, but only sends out a 480 response 
code. Now if a client was to adhere to the recommendations in Stans 
document, it would never be able to make use of AUTHINFO GENERIC when 
authenticating itself to the server, since it only received requests for 
AUTHINFO SIMPLE authentication. What's the point of supporting AUTHINFO 
GENERIC if the client has to adhere to the NNTP extensions recommendations?

Would it not make more sense for a 480 response code to mean 
"Authenticate yourself", and leave it up to the client to use whatever 
method it supports? If for example, it supported AUTHINFO GENERIC it 
could try that first - if that failed, then fall back to AUTHINFO SIMPLE. 

If you look at it this way, Stans document is incorrect. On the other
hand, however, could the server not first try issuing a 380 response code,
then if this GENERIC authentication failed, try a 480 response code for
AUTHINFO USER authentication. If this failed, then authentication of the
client is rejected and the connection dropped (in 1.5 at least). 

Comments?

Scotty
=================================================================
Steve Howie                             Email:  showie@uoguelph.ca
NetNews and Listserv Admin.             Phone:  (519) 824-4120 x2556
Computing and Communications Svcs.      Fax:    (519) 763-6143
University of Guelph

If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP
=================================================================


Technical Details
Message-ID: <5aud40$gs4@ccshst05.cs.uoguelph.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5aud40$gs4@ccshst05.cs.uoguelph.ca>
Subject: AUTHINFO and INN
Date: Tue, 07 Jan 1997 00:00:00 +0000
From: Steve Howie <showie@uoguelph.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 208478813
Distribution: inet
Organization: University of Guelph
Newsgroups: news.software.nntp