🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #25698

Re: How do I configure trn to use a pasworded NNTP server?

#25698
From: Michael Schuster
Date: Sat, 07 Sep 1996 00:00
54 lines
2509 bytes
In article <50t30q$jkg@shell1.cybercom.net>,
Ron Newman <rnewman@shell1.cybercom.net> wrote:
>I would like to become a member of Zippo, which is a service
>that sells NNTP service for an annual fee.  However, I can't
>figure out how to configure my news reader (trn) to give a
>password to an NNTP server.   Can anyone tell me how to do this?

After months of searching and unanswered email to trn's author, I have
concluded that trn has no provision for doing this.

The test versions of trn 4.0 support multiple .newsrcs and remote nntp
servers ... all rendered useless because they all require user
authentication these days.

The following patch to trn 3.6 (**UNTRIED** use at your own risk) was
given to me as a hack to support **ONE** remote NNTP site. The source is
available at ftp://ftp.uu.net/networking/newsreaders/trn (or something like
that):




There is a way to use trn but its not exactly pretty. 

This is a truly cheesy workaround for using trn version 3.6 to access
the NNTP server at net-link.  It only works using the source code for trn.

The fix is to apply this context diff to nntpauth.c in the trn source tree:

[Obviously, do not include the <> brackets when doing the replace.]

Then, recompile trn normally, and install into whatever bin directory is used.

*** nntpauth.original.c	Wed Jul 31 15:19:27 1996
--- nntpauth.c	Wed Jul 31 15:12:03 1996
***************
*** 32,37 ****
--- 32,40 ----
      else
  	sprintf(ser_line, "%s any %s", cmd, loginName);
  
+ nntp_command("AUTHINFO user <replace with your net-link name>");
+ nntp_command("AUTHINFO pass <replace with your net-link password>");
+ 
      /* issue authentication request */
      nntp_command(ser_line);
  

-- 
Mike Schuster       |        schuster@panix.com | 70346.1745@CompuServe.COM
------------------- | schuster@shell.portal.com | schuster@mem.po.com 

Technical Details
Message-ID: <50t52h$cqu@panix3.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <50t30q$jkg@shell1.cybercom.net>

Show Full Headers
Complete Article Headers
Message-ID: <50t52h$cqu@panix3.panix.com>
Subject: Re: How do I configure trn to use a pasworded NNTP server?
Date: Sat, 07 Sep 1996 00:00:00 +0000
From: schuster@panix.com (Michael Schuster)
References: <50t30q$jkg@shell1.cybercom.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 179162667
Organization: PANIX Public Access Internet and Unix, NYC
Newsgroups: news.software.readers