Article View: news.software.nntp
Article #52247Re: authentication in inn 2.3.1
From: Jeffrey M. Vinocur
Date: Tue, 08 May 2001 19:00
Date: Tue, 08 May 2001 19:00
34 lines
1957 bytes
1957 bytes
In article <9d966d$bsr$1@news.tpi.pl>,
Andrzej Kwiatkowski <szerpcho@poczta.onet.pl> wrote:
>I want to have an access from localhost to all groups, and from any other
>host other than localhost to all groups except control* and junk.
>My readers.conf looks like :
>
>auth "localhost" {
> hosts: "localhost, 127.0.0.1"
> default: "*"
>}
Err, you want something like "default: <localhost>", and then use
"<localhost>" as the users: parameter for that access block.
Note that the names of the blocks (in your example, "localhost"
and "auth1") have absolutely no meaning to the software.
>auth "auth1" {
> auth: "ckpasswd -d /usr/local/news/db/newsusers"
> hosts: "*"
> default: "*"
>}
And here you probably want "default: <fail>", and have an access
block at the bottom of the file with "users: <fail>" and denying
access to everything. I don't remember what happens with a
failed ckpasswd, but that can't hurt.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<9d9fog$vk1$2@marduk.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!newsfeed.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mailReferences:
<9d966d$bsr$1@news.tpi.pl>Show Full Headers
Complete Article Headers
Message-ID: <9d9fog$vk1$2@marduk.litech.org> Subject: Re: authentication in inn 2.3.1 Date: Tue, 08 May 2001 19:00:32 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <9d966d$bsr$1@news.tpi.pl> 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!newsfeed.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Lithium Technologies Lines: 33 Sender: jeff@litech.org NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 989348432 32385 128.84.154.54 (8 May 2001 19:00:32 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 8 May 2001 19:00:32 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)