Article View: news.software.nntp
Article #60040Re: inn readers.conf file
From: Jeffrey M. Vinocur
Date: Sun, 25 Aug 2002 13:40
Date: Sun, 25 Aug 2002 13:40
43 lines
2185 bytes
2185 bytes
In article <3d68db52$1_2@news.cybercity.ch>,
freestyle22 <freestyle22@bluemail.ch> wrote:
>
> access: "Read Post"
You don't need this line, just remove it and it will have the
same effect.
>auth "public" {
> hosts: "*"
> default: "<user>"
> default-domain: "192.168.1.50"
>}
>auth "administrators" {
> hosts: "*"
> default: "<user>"
> default-domain: "192.168.1.50"
>}
The names ("public" and "administrators" in your case) do not do
*anything* at all. The way it works is that first the auth
blocks are used to assign an identity. In your case, the
identity "<user>@192.168.1.50" is assigned to everybody (you've
got the same hosts: line in both, which I assume is a mistake).
So everybody will match the same access group.
Note also that the default-domain: parameter is not required; if
it's going to be the same for everybody you may as well just
leave it off.
You can get detailed information about how exactly nnrpd is
processing readers.conf by logging "news.debug" to a file
(similar to the way "news.error" etc are currently being logged).
It generates a lot of logs, so be sure to turn it off when you're
done.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<akamp6$rja$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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mailReferences:
<3d68db52$1_2@news.cybercity.ch>Show Full Headers
Complete Article Headers
Message-ID: <akamp6$rja$1@puck.litech.org> Subject: Re: inn readers.conf file Date: Sun, 25 Aug 2002 13:40:54 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <3d68db52$1_2@news.cybercity.ch> 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!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 42 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1030282854 28266 208.48.41.224 (25 Aug 2002 13:40:54 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Sun, 25 Aug 2002 13:40:54 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)