Article View: news.software.nntp
Article #68342Re: pullnews and authentication ?
From: DB
Date: Wed, 25 Feb 2004 23:48
Date: Wed, 25 Feb 2004 23:48
56 lines
3099 bytes
3099 bytes
Tim Skirvin wrote:
> DB <junk@yahoo.com> writes:
>
>
>>But now it looks like my ISP (Adelphia) is requiring authenitcation, so
>>when I run pullnews, I get the following error:
>
>
> pullnews' authentication is slightly hosed. What I had to do to
> make it work (obviously working on different versions here):
>
> diff pullnews /usr/local/bin/pullnews
> 7c7
> < # RCSId: $Id: pullnews.in,v 1.2.2.2 2000/09/20 15:21:51 kondou Exp $
> ---
>
>># RCSId: $Id: pullnews.in,v 1.4 2000/09/20 15:21:48 kondou Exp $
>
> 64c64
> < $Id: pullnews.in,v 1.2.2.2 2000/09/20 15:21:51 kondou Exp $
> ---
>
>>$Id: pullnews.in,v 1.4 2000/09/20 15:21:48 kondou Exp $
>
> 261a262,267
>
>> if ($username && !$upstream->authinfo($username, $passwd)) {
>> warn sprintf ("failed to authorize: %s %s\n",
>> $upstream->code(), $upstream->message());
>> next;
>> }
>>
>
> 267,272d272
> <
> < if ($username && !$upstream->authinfo($username, $passwd)) {
> < warn sprintf ("failed to authorize: %s %s\n",
> < $upstream->code(), $upstream->message());
> < next;
> < }
>
> - Tim Skirvin (tskirvin@killfile.org)
I'm sure it is obvious that I'm not a hacker, but I don't see what's
different between those two? What am I not seeing?
Also, am I correct in assuming that the username and pasword info lives
in /etc/news/passwd.nntp ?
Thanks again
DB
Technical Details
Message-ID:
<Sua%b.5768$t16.4035016@newssvr28.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.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr28.news.prodigy.com.POSTED!not-for-mailReferences:
<zj7%b.5697$t16.4001329@newssvr28.news.prodigy.com> <tskirvin.20040225210148$4340@cairo.ks.uiuc.edu>Show Full Headers
Complete Article Headers
Message-ID: <Sua%b.5768$t16.4035016@newssvr28.news.prodigy.com> Subject: Re: pullnews and authentication ? Date: Wed, 25 Feb 2004 23:48:02 GMT From: DB <junk@yahoo.com> References: <zj7%b.5697$t16.4001329@newssvr28.news.prodigy.com> <tskirvin.20040225210148$4340@cairo.ks.uiuc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr28.news.prodigy.com.POSTED!not-for-mail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <tskirvin.20040225210148$4340@cairo.ks.uiuc.edu> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 56 NNTP-Posting-Host: 65.43.164.22 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr28.news.prodigy.com 1077752882 ST000 65.43.164.22 (Wed, NNTP-Posting-Date: Wed, 25 Feb 2004 18:48:02 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: FKPO@SNEDRB[G^I]]RKB_UDAZZ\DPCPDLXUNNHXIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM