🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23739

Re: nnrp.access format for username/password

#23739
From: Nate Shockey
Date: Fri, 28 Nov 1997 00:00
61 lines
2500 bytes
<Sorry Kyle, I accidentally e-mailed this to you as well... hate it when
I hit the wrong button.> ;)

Kyle Robinson wrote:
> 
> In article <65h61p$s3r@black.hex.net>,
> Stephen Denny <sdenny@black.hex.net> wrote:
> >I upgraded from innd 1.5 to 1.7 and broke news reading/posting
> >using username/password.
> >
> >Here is an example line in the old format:
> >
> >:Read Post:joeuser:secret:*
> >
> >
> >inncheck is now complaining about this.  I believe it is because
> >of no machine name in field #1.  What should that field be to
> >allow reading from anywhere.  I still want to allow reading by
> >anyone (without authentication) coming from our domain (dialup).
> 
> I think that line should actually be:
> 
> *:Read Post:joeuser:secret:*
> 
> Anyway, here's how I've got my nntp.access file laid out.  I'm still with
> INN 1.5.1+patches, but I was playing around with a 1.7 machine I built and
> just copied the config files over.  They all worked properly.
> 
> ---- Begin nnrp.access -----
> 
> # This file cascades down, so the last one that matches will be used.
> # So be careful....
> 
> # Default to no access
> *:: -no- : -no- :!*
> 
> # Allow access from anywhere with a valid username and password on Aracnet.
> *:Read Post:+:+:*
> 
> # My computers and domain  =:-)
> *.kidder.net:Read Post:::*
> 
> # Allow access from localhost and aracnet.com (internal) domain without
> # authentication (they dialed in and connected, which means that they're
> # valid).
> 
> localhost:Read Post:::*
> *.aracnet.com:Read Post:::*
> 
> ----- End nnrp.access -----

	However, this usually will not work if you are using shadow passwords. 
If so, you will have to edit the nnrpd.c code to query the shadow file
instead of the password.  Unless INN 1.7 is smart that way. ;)

--
Nate Shockey
News Administrator - FlashNet Communications

Technical Details
Message-ID: <347E8CDD.A3E4219D@flash.net>
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!not-for-mail
References: <65h61p$s3r@black.hex.net> <65hmu5$soq@shelob.aracnet.com>

Show Full Headers
Complete Article Headers
Message-ID: <347E8CDD.A3E4219D@flash.net>
Subject: Re: nnrp.access format for username/password
Date: Fri, 28 Nov 1997 00:00:00 +0000
From: Nate Shockey <underdog@flash.net>
References: <65h61p$s3r@black.hex.net> <65hmu5$soq@shelob.aracnet.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!not-for-mail
X-Deja-AN: 293603998
Organization: Flashnet Communications, http://www.flash.net
Newsgroups: news.software.nntp