🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Bob DeYoung Sat, 11 Jul 1998 00:00
Help! Authenticating using TRN 3.6 and external news server?
#42031
Author: Bob DeYoung
Date: Sat, 11 Jul 1998 00:00
32 lines
1546 bytes
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.

TIA!

Bob
--
am_dew@primenet.com                     

Re: Help! Authenticating using TRN 3.6 and external news server?
#42060
Author: Kim DeVaughn
Date: Sun, 12 Jul 1998 00:00
38 lines
2196 bytes
In article <6o9f0d$1ob@nntp02.primenet.com>,
	Bob DeYoung <am_dew@primenet.com> wrote:
|
| So, after all this explaining, what I need is help on authenticating to
| an external news server using TRN 3.6.

It's been quite awhile since I used trn v3.6, but IIRC, that version
doesn't support authentication (though it *may* be possible to kludge
together some way to do it ... I dunno ...)

The test versions of trn4 OTOH, *do* support authentication (if you
ask to have that option in when you run "configure", prior to compilation).

The current version is trn4-test66, and is available via anon ftp at:

 ftp.clari.net  in the  /private/trn  directory

If you decide to upgrade, you'll need to poke around in the distribution
to see how to set it up for authentication, as the formal documentation
(man page, etc) hasn't kept up with all the new features, and is 99% the
same as the v3.6 man page.  I *think* one of the files that gives examples
is the "access" file.  And of course there's the README, NEWS, HINTS, etc.
files to pour over also.

It's worth the hassle to upgrade for all the new features (scoring, multiple
.newsrc's, and *bunches* more), IMNSHO.

You would probably want to subscribe to the mailing-list, too.  That's at
trn-users-request@clari.net, I think.

Have fun ...

/kim

===============================================================================
"Anything free is worth what you pay for it." --Lazarus Long [aka R.A.Heinlein]

Re: Help! Authenticating using TRN 3.6 and external news server?
#42062
Author: Mike "NO UCE" Schuster
Date: Sun, 12 Jul 1998 00:00
58 lines
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 

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