🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #74044

Re: trn and authentication

#74044
From: Kenn Barry
Date: Fri, 23 Mar 2001 03:26
71 lines
3999 bytes
In article <99djtn$5o8i$1@newssvr05-en0.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>In article <98tvi6$7la$1@numbers.wetware.com>,
>Kenn Barry <barry@wetware.com> wrote:
>| In article <98tb3s$86qa$1@newssvr05-en0.news.prodigy.com>,
>| bill davidsen <davidsen@tmr.com> wrote:
>| >I thought the "new" trn had authentication support, but I can't seem to
>| >find the command to tell it to send auth. I scanned all the command line
>| >option and runtime command doc, and I don't see it. Am I reading over
>| >it, or is it really not supported?
>| 
>| 	Assuming "new" means a trn4 release, it is supported. Note,
>| however, that all releases of trn4 seem to be considered "test"
>| releases, and the version of trn which comes with all the Linux
>| distros I've seen, is trn3.6, which does not support authentication.
>| 
>| 	Assuming trn4, the magic place for auth info is a file
>| called "access" in the .trn directory. You will find a sample
>| access file in the trn4 tarball, which will show you the syntax.
>| 
>| 	I'm using trn4 with one news server that requires
>| authentication, and it's working fine for me.
>
>  So again, what command line option or runtime command do you use to
>tell it to ask for and send auth info? I see nothing in the access file
>which tells it to enable such a command.

	It's not a command, it's automatic, based on the configuration.

	Here's an example, using news.prodigy.net as the example
server. In the first case, we assume no authentication is required
to access this server. The configuration in the "access" file is
short, and looks like this:

[prodigy]
NNTP Server = news.prodigy.net

	Now let's assume that news.prodigy.net requires
authentication, and that my username is "foo", and my password
is "rumplestilskin". We add two lines to the "access" file:

[prodigy]
NNTP Server = news.prodigy.net
Auth User = foo@prodigy.net
Auth Password = rumplestilskin

	In either case, you'd also want an entry something like
this:

[Group 1]
ID = prodigy

	This is all you need to do. You can set up an arbitrary
number of newsservers in the "access" file, and each has its
own info. If one requires authentication, you put the needed info
for it in; if another doesn't, you leave this info out. It's the
presence or absence of the "Auth User" and "Auth Password" entries,
which let trn know if authentication will be demanded.

	If you had a server that asked for auth under some
circumstances, but not under others (never heard of such a
thing, but who knows?), you could create two entries for it,
say [prodigy1] and [prodigy2], one with auth info, the other
without, and choose whichever server the circumstances required.

	There are a lot of things you can do in the access file.
Do look at HelpFiles/samples/access in the distro. It's heavily
commented, explaining the meanings of the various entries.

						Kayembee
Technical Details
Message-ID: <99efp9$lj8$1@numbers.wetware.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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!204.71.34.15!news-out.cwix.com!newsfeed.cwix.com!news!nntp.wetware.com!news.wetware.com!not-for-mail
References: <98tb3s$86qa$1@newssvr05-en0.news.prodigy.com> <98tvi6$7la$1@numbers.wetware.com> <99djtn$5o8i$1@newssvr05-en0.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <99efp9$lj8$1@numbers.wetware.com>
Subject: Re: trn and authentication
Date: Fri, 23 Mar 2001 03:26:33 +0000
From: barry@necro.pacbell.net (Kenn Barry)
References: <98tb3s$86qa$1@newssvr05-en0.news.prodigy.com> <98tvi6$7la$1@numbers.wetware.com> <99djtn$5o8i$1@newssvr05-en0.news.prodigy.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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!204.71.34.15!news-out.cwix.com!newsfeed.cwix.com!news!nntp.wetware.com!news.wetware.com!not-for-mail
Newsgroups: news.software.readers
Organization: QQQCLC
Lines: 70
Reply-To: barry@wetware.com
NNTP-Posting-Host: adsl-63-194-209-198.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: barry@necro.pacbell.net (Kenn Barry)