Article View: news.software.readers
Article #240605Re: [tin] how to authenticate NNTP server?
From: Urs Janßen
Date: Thu, 29 Apr 2010 08:28
Date: Thu, 29 Apr 2010 08:28
50 lines
2849 bytes
2849 bytes
In <4bd8d92c$1@news.x-privat.org>, babel@googlemail.com wrote:
> Hi
> Trying to get tin up and running. slrn works on my NNTP server, but despite
> having a ~/.newsauth in the exact configuration required by man (5) tin, I
> can't read news with that reader.
>
> When I run..
>
> tin -r -q -Q
"-Q" is a shortcut for "-n -q -d" so "-q -Q" doesn't make any sense
(but shouldn't do any harm).
> ... tin asks me for my password - or rather, presents me with my password
> and I press ENTER. It then asks me for my password, but this field is
> empty.
the first prompt should be for your username, not for your password,
if you see your password in the first prompt something is going
wrong.
> authentication still fails. My ~/.newsauth looks like..
>
> my.nntp.server my.password my.username
looks ok
> Could it be something to do with the fact that my 'username' is an e-mail
> address and thus has '@' in it? I've tried escaping it, I've tried putting
@ is handeled as any other char in the username and password and
needs no special handling (escaping)
> the password inside double quotes .. nothing seems to work.
this is only required if the password contains tabs or spaces
> Any help appreciated.
if tin is compiled with debug support you could use
tin -D 1 [..your usual options..] and have a look at ${TMPDIR-"/tmp"}/NNTP
afterwards. be aware that the file contains your plaintext password
you you might want to set $TMPDIR to a secure place on multiusers
systems.
urs
--
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
so rarely."
Technical Details
Message-ID:
<hrbg01$vas$1@news2.rz.uni-karlsruhe.de>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!kanaga.switch.ch!switch.ch!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mailReferences:
<4bd8d92c$1@news.x-privat.org>Show Full Headers
Complete Article Headers
Message-ID: <hrbg01$vas$1@news2.rz.uni-karlsruhe.de>
Subject: Re: [tin] how to authenticate NNTP server?
Date: Thu, 29 Apr 2010 08:28:49 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <4bd8d92c$1@news.x-privat.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!kanaga.switch.ch!switch.ch!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: tin.org
Lines: 50
Sender: Urs Janßen <urs@akk10-int.akk.uni-karlsruhe.de>
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
X-Trace: news2.rz.uni-karlsruhe.de 1272529729 32092 172.22.9.237 (29 Apr 2010
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Thu, 29 Apr 2010 08:28:49 +0000 (UTC)
Cancel-Lock: sha1:iTm9kwA0Cv/bBlHZRt5ZcQh1n7E=
X-No-Archive: yes
Archive: no
X-No-HTML: yes
User-Agent: tin/1.9.6-20100428 ("Lochruan") (UNIX) (Linux/2.6.24-27-generic
(i686))