Article View: news.software.nntp
Article #50935Re: hacking inn with kerberos hooks
From: Russ Allbery
Date: Sat, 03 Mar 2001 03:06
Date: Sat, 03 Mar 2001 03:06
51 lines
2404 bytes
2404 bytes
Russell Virgilio <russ@gatech.edu> writes:
> think i am very confused as to how readers.conf works beyond domain
> authentication. Here is my readers.conf file. I want to disable all
> access unless the user authenticates via user/pass. Is this scheme
> reflected
> in my readers.conf? I know it isn't and i'm not sure where my errors lie.
Combine these two:
> auth "no access" {
> hosts: "*"
> default: "<noaccess">
> }
> auth "authorized" {
> hosts: "*"
> auth: "ckpasswd"
> default: "<authorized>"
> }
into just:
auth "general" {
hosts: "*"
auth: "ckpasswd"
default: "<noaccess>"
}
That way, everyone who authenticates will get a real username and everyone
else will get the default of <noaccess>. Then, for access groups, do:
> access full {
> users: "*, !<noaccess>"
> newsgroups: "*, !junk, !control, !control.*"
> }
> access fail {
> users: "<noaccess>"
> newsgroups: "!*"
> }
You want them in that order, since the last matching access group applies
(although the !<noaccess> bit should also help with that).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylzof3r1pg.fsf@windlord.stanford.edu>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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<3A9AD3EC.BF47214F@gatech.edu> <yln1b93wo1.fsf@windlord.stanford.edu> <3A9C0AAA.41CA73BF@gatech.edu>Show Full Headers
Complete Article Headers
Message-ID: <ylzof3r1pg.fsf@windlord.stanford.edu> Subject: Re: hacking inn with kerberos hooks Date: Sat, 03 Mar 2001 03:06:03 +0000 From: Russ Allbery <rra@stanford.edu> References: <3A9AD3EC.BF47214F@gatech.edu> <yln1b93wo1.fsf@windlord.stanford.edu> <3A9C0AAA.41CA73BF@gatech.edu> 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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 50 NNTP-Posting-Host: windlord.stanford.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 983588763 3960 171.64.13.23 (3 Mar 2001 03:06:03 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)