Article View: news.software.nntp
Article #57183Re: HELP!!
From: Paul Tomblin
Date: Tue, 12 Mar 2002 22:38
Date: Tue, 12 Mar 2002 22:38
23 lines
2190 bytes
2190 bytes
In a previous article, Mysterious Traveller <traveller@whiskeyhouse.com> said: >I'm running a small server, maybe 50 users, from different ISPs, and >different countries, for that matter. I can't used any type of IP based or >DNS authorization for this reason, so readers.conf is out as an >authentication method. nnrpd_auth.pl can do userid and password authentication using nntp's "authinfo user" and "authinfo pass" commands. Actually, I think inn 2.3 can do userid and password authentication without writing any perl, but I'm still on 2.2. I give a few dozen people access to my news server. I make the default access to the server "!*" (ie none) in nnrpd.access. Then in nnrpd_auth.pl, I check for a type of "authenticate" and if so, compare the userid and password. Send me email if you want to see my script, it's a bit large to post here (ie I can't be arsed to su to news to grab it right now because the compile I was waiting for is nearly done). -- Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody "You're one of those condescending Unix computer users!" "Here's a nickel, kid. Get yourself a better computer" - Dilbert.
Technical Details
Message-ID:
<a6m015$l7o$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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!xcski.com!not-for-mailReferences:
<lfvs8uc97b2d8vi6q69un7fsl9j04utngg@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <a6m015$l7o$1@allhats.xcski.com> Subject: Re: HELP!! Date: Tue, 12 Mar 2002 22:38:29 +0000 From: ptomblin@xcski.com (Paul Tomblin) References: <lfvs8uc97b2d8vi6q69un7fsl9j04utngg@4ax.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!xcski.com!not-for-mail Newsgroups: news.software.nntp Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario Lines: 22 Distribution: inet Reply-To: ptomblin@xcski.com (Paul Tomblin) NNTP-Posting-Host: allhats.xcski.com X-Trace: allhats.xcski.com 1015972709 21752 192.168.1.1 (12 Mar 2002 22:38:29 GMT) X-Complaints-To: abuse@xcski.com NNTP-Posting-Date: 12 Mar 2002 22:38:29 GMT X-Newsreader: trn 4.0-test70 (17 January 1999) Originator: ptomblin@xcski.com (Paul Tomblin)