Article View: news.software.nntp
Article #35029Re: INN and Different Read/Post Access for Different People
From: Aidan Cully
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
73 lines
3101 bytes
3101 bytes
In news.software.nntp, tilman@gmx.de wrote:
> Hi everybody.
>
> I looked through the FAQs and nnrp.access man page but wasn't
> able to really clear this up. Apologies if there is a current
> thread discussing this, but in case there is, I couldn't find it
> due to the recent slew of rogue supersedes...
>
> I'm a totally small time admin running a private news server
> here that carries both external groups (exchanged with my
> provider's server via newsx) and local ones. (Running INN 1.5.1
> -- I know it's old, but for this little machine it's serving its
> purpose. If upgrading would make what I'm trying to do easier
> though, I'll do it.)
Snapshots of the INN 2.3 tree since, what, November? have a new config
file that replaces the old nnrp.access called readers.conf. Try looking
at its docs.
ftp://ftp.isc.org/isc/inn/snapshots/
> Now I'd like to control access in the following way: Everyone
> on the local intranet should be able to read everything, but post
> only to the local groups without authentication; people authenti-
> cating themselves should be able to post to external groups as
> well. Alternatively, posting to all groups could be allowed
> without authentication for individual machines.
...
> I've tried something like
>
> 192.168.*:P: : :*
> 192.168.*:R:::*
> 192.168.*:RP:::!*,urizen.*
> 192.168.41.14:RP:his:password:*
> localhost:RP:my:password:*
With the readers.conf, I don't know that we support plain-text passwords
yet.. I guess I'll have to add support for that. Anyway, an equivalent
readers.conf that should do what you want is:
auth "default" {
hosts: "192.168.*"
default: "<local-user>"
}
auth "default" {
hosts: "*"
auth: "ckpasswd"
}
access "default" {
users: "*"
newsgroups: "*"
access: "Read Post"
}
access "default" {
users: "<local-user>"
read: "*"
post: "!*,urizen.*"
}
I'm still doing work on the readers.conf (well, as I get the time I do
work on the readers.conf), so the format is not completely nailed down,
yet.. 2.3 is still development software, so you should be much more
careful using it.
--aidan
--
Aidan Cully "Umm.. Could you call back? My house is on fire."
Panix Staff --Tom Waits
aidan@panix.com
Technical Details
Message-ID:
<78no26$aed$1@panix7.panix.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-mailReferences:
<slrn7at7u1.34r.tilman@urizen.rz.uni-karlsruhe.de>Show Full Headers
Complete Article Headers
Message-ID: <78no26$aed$1@panix7.panix.com> Subject: Re: INN and Different Read/Post Access for Different People Date: Wed, 27 Jan 1999 00:00:00 +0000 From: aidan@panix.com (Aidan Cully) References: <slrn7at7u1.34r.tilman@urizen.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.nntp.mbox.zip!not-for-mail X-Deja-AN: 437622632 Distribution: inet X-Complaints-To: usenet@panix.com X-Trace: news.panix.com 917463942 5299 166.84.0.232 (27 Jan 1999 19:05:42 GMT) Organization: PANIX -- Public Access Networks Corp NNTP-Posting-Date: 27 Jan 1999 19:05:42 GMT Newsgroups: news.software.nntp