Article View: news.software.readers
Article #42062Re: Help! Authenticating using TRN 3.6 and external news server?
From: Mike "NO UCE" Schuster
Date: Sun, 12 Jul 1998 00:00
Date: Sun, 12 Jul 1998 00:00
58 lines
2452 bytes
2452 bytes
In article <6o9f0d$1ob@nntp02.primenet.com>,
Bob DeYoung <am_dew@primenet.com> wrote:
>I am thinking of switching to a fee-based news service but before I do
>I would like to make sure I'll still be able to use TRN 3.6 easily
>after the switch.
>
>In checking with the TRN man page, I found references to the
>environment variables NNTPSERVER and USER. I set them as follows to
>test a connection to news.alt.net using the userid 'testnntp' (as
>provided by someone on my local ISP after my posting of a similar
>thread in my ISP's local news.help newsgroup):
>
>setenv USER testnntp
>setenv NNTPSERVER news.alt.net
>
>However, once I set these variables and run TRN, I get:
>
>Warning! Bogus newsgroup: <newsgroup name in my .newsrc file>
>
>I receive a line as above for every individual newsgroup in my .newsrc
>file. Then at the end it says:
>
>480 Authentication required for command
>
>So, after all this explaining, what I need is help on authenticating to
>an external news server using TRN 3.6.
trn 3.6 supports only generic authentication.
To use username/pass authentication it must be hacked. A sysadmin once
mailed me the following, which works on the ONE server you hard-code.
The real answer, as Kim has already posted, is to use trn 4.0
*** 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 username>");
+ nntp_command("AUTHINFO pass <replace with your password>");
+
/* issue authentication request */
nntp_command(ser_line);
--
Mike Schuster | 70346.1745 at CompuServe dot COM
schuster at panix dot com | schuster at pol dot net
Technical Details
Message-ID:
<6oa9ll$4da@news1.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-mailReferences:
<6o9f0d$1ob@nntp02.primenet.com>Show Full Headers
Complete Article Headers
Message-ID: <6oa9ll$4da@news1.panix.com> Subject: Re: Help! Authenticating using TRN 3.6 and external news server? Date: Sun, 12 Jul 1998 00:00:00 +0000 From: schuster_@at_panix_.dot_com (Mike "NO UCE" Schuster) References: <6o9f0d$1ob@nntp02.primenet.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 X-Deja-AN: 370704160 Organization: PANIX Public Access Internet and UNIX, NYC Newsgroups: news.software.readers