🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #3022

Re: Per-user NNTP authentication: news software authors take note!

#3022
From: Chris Lewis
Date: Thu, 10 Nov 1994 18:26
58 lines
4134 bytes
[I should have known better to post to a moderated group without placing
a followup to an unmoderated place to discuss whatever's necessary.  Anyone
else following up on this topic, *please* set your Followup-To: to
news.software.nntp.]

[[He may have included the Followup-To, I'm writing a new mailer for my
personal use and I missed some headers.  --mod]]

In article <39r8g5$9bk@ftp.uu.net>, John Gardiner Myers <jgm+@CMU.EDU> wrote:
>It's unfortunate the specification wasn't made known earlier.  It's
>gratuitous incompatibility with similar work in other protocols
>perhaps could have been avoided.

It does nothing of the sort.  It's exclusively an extension to the
"AUTHINFO <option>" NNTP command that allows the reader and server to
agree on _which_ authentication method they'll use.  AUTHINFO GENERIC is
not an authentication protocol.  If you want to do IMAP4 or Kerberos or
SecureID or whatever authentication, it's not only an implementation
detail, it's merely a configuration option.  It is this "AUTHINFO
GENERIC" mechanism that makes it possible for you to use any
authentication protocol you wish _without_ having to change the NNTP
standard again, and without having to lock everybody into _one_
authentication protocol which may be inappropriate for the organization.

>I don't understand how "AUTHINFO GENERIC ypauth" differs from the old
>"authinfo user/pass".  The exact same information is passed over the
>wire, it seems the protocol here is exposing what is really a server
>implementation detail.

You misunderstand.  "ypauth" is merely a sample authentication
protocol, and isn't part of the extension to NNTP.   The proposal is
simply the "AUTHINFO GENERIC <authenticator> [<args>]" command, it's
return codes, and the implicit assumption that there may be an in-band
or out-of-band authentication conversation between the AUTHINFO GENERIC
being issued and the return code being seen.  The extension to NNTP
does not attempt to define how the <authenticator>s work or even how
they communicate.  The document is not an RFC and is not intended
to be.  If and when it gets formally published in an RFC, the RFC
will only discuss the GENERIC command and the return codes.

"AUTHINFO GENERIC" is not in itself an authentication method, it's
merely a way of requesting that authentication be used, and what
authentication method should be chosen.  For example, someone may chose
to implement a "AUTHINFO GENERIC IMAP4" mechanism which proceeds to
authenticate in the way that your standard does.  There are other
people who are working on Kerberos and I believe GSSAPI authenticators
with GENERIC.  We will probably be doing a SecureID authenticator.

I should probably reorganize the document somewhat to make sure it's
abundantly clear what the "NNTP RFC" part is, and what parts aren't.
I thought I had done that already.  Oh well.
-- 
Chris Lewis: _Una confibula non sat est_
Phone: Canada 613 832-0541  Ferret list: ferret-request@ferret.ocunix.on.ca
Latest psroff: FTP://ftp.uunet.ca/distrib/chris_lewis/psroff3.0pl17/*
Latest hp2pbm: FTP://ftp.uunet.ca/distrib/chris_lewis/hp2pbm/*

Technical Details
Message-ID: <39tok9$749@ftp.UU.NET>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.future.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!engr.orst.edu!reuter.cse.ogi.edu!uwm.edu!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!uunet!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <39tok9$749@ftp.UU.NET>
Subject: Re: Per-user NNTP authentication: news software authors take note!
Date: Thu, 10 Nov 1994 18:26:17 +0000
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.future.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!engr.orst.edu!reuter.cse.ogi.edu!uwm.edu!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!uunet!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.future,news.software.readers,news.admin.technical
Followup-To: news.software.nntp
Organization: eh?
Lines: 57
Sender: zorch@ftp.UU.NET
Approved: zorch@uunet.UU.NET
Distribution: world
NNTP-Posting-Host: ftp.uu.net