Article View: news.software.nntp
Article #66821Re: Allowing moderators?
From: Paul Tomblin
Date: Mon, 13 Oct 2003 17:32
Date: Mon, 13 Oct 2003 17:32
39 lines
2571 bytes
2571 bytes
In a previous article, jeff@litech.org (Jeffrey M. Vinocur) said:
>
>>I also have a nnrpd_auth.pl so that remote readers can authenticate (I'm
>>planning to switch to a ckpasswd authentication in readers.conf as soon as
>>I figure out how). Could that be interfering?
>
>- switch to using a readers.conf-based mechanism (even if
> ckpasswd doesn't work for you, you can still call out to a Perl
> script as long as you don't need to dynamically generate access
> groups -- check the external-auth documentation[1])
Actually, ckpasswd would probably be adequate if I could just figure out
what I'm doing wrong. I've now modified readers.conf as follows:
auth "everybodyelse" {
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/remote_passwords"
}
auth "localhost" {
hosts: "127.0.0.1, 192.168.0.0/16"
default: "<all_access>"
}
access "all_access" {
users: "*"
newsgroups: "*"
access: RPA
}
And I can connect from the local network ok. But when I try a remote
connection, as soon as I do the authinfo pass, it exits immediately,
whether I give a valid password or not. Is there a log file I can see
what's going on? It's not logging anything to news.err.
--
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
ALL programs are poems, it's just that not all programmers are poets.
-- Jonathan Guthrie in the scary.devil.monastery
Technical Details
Message-ID:
<bmenj1$ebb$1@allhats.xcski.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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!news.kjsl.com!xcski.com!not-for-mailReferences:
<bmeh8l$6ce$1@allhats.xcski.com> <bmem9v$oad$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <bmenj1$ebb$1@allhats.xcski.com> Subject: Re: Allowing moderators? Date: Mon, 13 Oct 2003 17:32:17 +0000 From: ptomblin@xcski.com (Paul Tomblin) References: <bmeh8l$6ce$1@allhats.xcski.com> <bmem9v$oad$1@puck.litech.org> 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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!news.kjsl.com!xcski.com!not-for-mail Newsgroups: news.software.nntp Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario Lines: 39 Reply-To: ptomblin@xcski.com (Paul Tomblin) NNTP-Posting-Host: allhats.xcski.com X-Trace: allhats.xcski.com 1066066337 14699 192.168.1.1 (13 Oct 2003 17:32:17 GMT) X-Complaints-To: abuse@xcski.com NNTP-Posting-Date: Mon, 13 Oct 2003 17:32:17 +0000 (UTC) X-Newsreader: trn 4.0-test70 (17 January 1999) Originator: ptomblin@xcski.com (Paul Tomblin)