Article View: news.software.readers
Article #229428Re: [slrn] .slrnrc and SSL nnrpd access
From: Peter J Ross
Date: Thu, 29 Jan 2009 19:58
Date: Thu, 29 Jan 2009 19:58
68 lines
3290 bytes
3290 bytes
In news.software.readers on Wed, 28 Jan 2009 18:56:44 +0000 (UTC),
Michael Grimm <trashcan@odo.in-berlin.de> wrote:
> Hi -
>
> I'm trying to use "server" and "nnrpaccess" in my .slrnrc to log
> into my newsserver via SSL.
>
> If I do follow the http://slrn.sourceforge.net/docs/README.SSL
> recommodation ...
>
> slrn -h snews://my-server.tld -f .jnewsrc
>
> ... I'm able to access my nnrpd over SSL (checked with sockstat).
>
> Ok, now I would like to omit to use the keyboard to answer slrn's
> question regarding my password for that given server (cyber café et
> al.).
>
> According the slrn manual one should be able to provide the username
> and password as follows:
>
> nnrpaccess host username password
> server nntp-server[:port] newsrc-file
>
> But all combinations of "my-server.tld", "my-server.tld:563", or
> "snews://my-server.tld" in "nnrpaccess" and/or "server" plus correct
> values for username and password don't work as expected.
>
> I can use both "nnrpaccess" and "server" settings to automate login via
> 119 but never via 563.
>
> What am I doing and/or understanding wrong?
I think the documentation is misleading. It seems that you need to
specify the port number with "nnrpaccess" as well as with "server".
Otherwise you get this:
System call failed: errno = 104
Run-Time Error
SSL_connect failed
slrn fatal error:
Failed to initialize server.
This combination works for me:
nnrpaccess snews://my-server.tld:563 user password
server snews://my-server.tld:563 newsrc-file
with
NNTPSERVER=snews://my-server.tld:563
(tested with news.motzarella.org on port 563)
If that works for you I'll update the documentation.
If not, what's your version of libssl? Mine is 0.9.8g-15 (Debian
package).
--
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Technical Details
Message-ID:
<slrngo42il.rr5.pjr@pjr.motzarella.org>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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.germany.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mailReferences:
<glq9pc$8vu$1@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <slrngo42il.rr5.pjr@pjr.motzarella.org> Subject: Re: [slrn] .slrnrc and SSL nnrpd access Date: Thu, 29 Jan 2009 19:58:13 +0000 From: Peter J Ross <pjr@example.invalid> References: <glq9pc$8vu$1@de-l.enfer-du-nord.net> 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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.germany.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 68 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.eternal-september.org U2FsdGVkX19OpttxSe2qXL18abyMZt0yzeR5aIjBpS5UT7lnIjwiuIPL1E1px7FnjgrzduCcSw1HQNGatu3NA/2xD+6ZWx6f4oLJg66XOborONxf50TI6GK3xpJLmYdTrwmMOms8TyI= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Thu, 29 Jan 2009 20:18:56 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/NtJqeQ6hvEEKO2L5bw9Wf Cancel-Lock: sha1:Q/v2Pgc3KOmaxnAjUgd/gKcNaJA= User-Agent: slrn/pre1.0.0-2/mm (Linux)