Article View: news.software.readers
Article #195360Re: slrn authentication problem
From: Dave Gibson
Date: Fri, 09 Feb 2007 21:24
Date: Fri, 09 Feb 2007 21:24
38 lines
2310 bytes
2310 bytes
Bart Vandewoestyne <MyFirstName.MyLastName@telenet.be> wrote:
> I want to use my slrn (0.9.8.1) on a Debian GNU/Linux stable box
> to read and post news at two newsservers:
>
> One server requires authentication for posting but doesn't
> explicitly ask for it so i added the following in my .slrnrc
> file:
>
> nnrpaccess "news.telenet.be" "MyUserName" ""
> server "news.telenet.be" ".newsrc-news.telenet.be"
> set force_authentication 1
>
> The other server doesn't require authorization, so I've added
> only
>
> server "azw.dyns.be:1919" ".newsrc-azw.dyns.be:1919"
>
> Now the problem is the following: reading and posting from the
> server that requires authorization is no problem, but when I try
> to start reading news for the server that doesn't require
> authorization I am still asked for a username and password... i
[...]
Remove the "set force_authentication 1" line and add the following
function to your macro file (eg: "$HOME/.slrn/set_auth.sl"):
define init_servers_auth()
{
!if (strcmp (server_name(), "news.telenet.be"))
set_integer_variable("force_authentication", 1);
}
() = register_hook ("startup_hook", "init_servers_auth");
If you don't already have a macro file, you'll need to add a command
to your $HOME/.slrnrc to interpret the new one:
interpret ".slrn/set_auth.sl";
Technical Details
Message-ID:
<be5v94xdml.ln2@perseus.gibson-hrd.abelgratis.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!aioe.org!not-for-mailReferences:
<FmWyh.334295$EQ.6383737@phobos.telenet-ops.be>Show Full Headers
Complete Article Headers
Message-ID: <be5v94xdml.ln2@perseus.gibson-hrd.abelgratis.co.uk>
Subject: Re: slrn authentication problem
Date: Fri, 09 Feb 2007 21:24:59 +0000
From: dave+news001@gibson-hrd.abelgratis.co.uk.invalid (Dave Gibson)
References: <FmWyh.334295$EQ.6383737@phobos.telenet-ops.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 38
NNTP-Posting-Host: BhczMigPhdydZ6vwqaWEaw.user.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.20-1 (i686))