Article View: news.software.readers
Article #195366Re: slrn authentication problem
From: Troy Piggins
Date: Fri, 09 Feb 2007 22:35
Date: Fri, 09 Feb 2007 22:35
74 lines
3368 bytes
3368 bytes
* Bart Vandewoestyne is quoted & my replies are inline below : > 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" Do you have 2 server declarations in the same .slrnrc file? Pretty sure you can have only one at a time. Do you have NNTPSERVER environ variable set? What is it? How to you call slrn? With -h option? > 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 > simply press Enter for these two values and then i get: > > Connecting to host azw.dyns.be ... > Username: > Password: > > Authenticating ...slrn fatal error: > Failed to initialize server. > > How do i solve this? Probably the nnrpaccess line in .slrnrc. Couple of thoughts. Someone else here has suggested a macro that sets or doesn't set auth depending on your server. You could also use preprocessing tokens like this (untested) in your .slrnrc: -----8<----- server "azw.dyns.be:1919" ".newsrc-azw.dyns.be:1919" #ifdef AUTH nnrpaccess "news.telenet.be" "MyUserName" "" server "news.telenet.be" ".newsrc-news.telenet.be" set force_authentication 1 #endif -----8<----- and start slrn with -DAUTH argument for the server that requires authentication. Or you could have 2 rc files - one for each server, and start slrn with different -i options for each: slrn -i .slrnrc.auth Or you could use a local news cache like leafnode. That'll do. There's a solution for you there somewhere, surely :) -- Troy Piggins ,-O (o- O All your sigs are belong to us. http://piggo.com/~troy O ) //\ O RLU#415538 `-O V_/_ OOO hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Technical Details
Message-ID:
<20070210082012@usenet.piggo.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mailReferences:
<FmWyh.334295$EQ.6383737@phobos.telenet-ops.be>Show Full Headers
Complete Article Headers
Message-ID: <20070210082012@usenet.piggo.com> Subject: Re: slrn authentication problem Date: Sat, 10 Feb 2007 08:35:23 +1000 From: Troy Piggins <usenet-0702@piggo.com> 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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: news.software.readers Reply-To: usenet-0702@piggo.com X-NNTP-Proxy: Leafnode v2 (http://leafnode.sourceforge.net/) User-Agent: slrn/0.9.8.1pl1/rt (Linux) Lines: 74 NNTP-Posting-Host: 203.206.121.193 X-Trace: 1171060803 per-qv1-newsreader-01.iinet.net.au 31869 203.206.121.193