Article View: news.software.nntp
Article #45049readers.conf problem with inn 2.3
From: Sam Mapes
Date: Wed, 15 Mar 2000 00:00
Date: Wed, 15 Mar 2000 00:00
43 lines
1850 bytes
1850 bytes
Hi, I'm having a problem getting readers.conf configured correctly. I'm
running the latest snapshot of 2.3 on a Solaris 2.6 system.
I have the following readers.conf file:
#all users need to tell us who they are
auth "dialup" {
hosts: "*"
auth: "oracle_auth.pl"
default: "FAIL"
}
# access to all but a few newsgroups
access "all" {
users: "*"
newsgroups: "*,!control*,!junk,!news.lists.filters,!alt.nocem.misc"
access: "Read Post"
}
# no access for people who fail authentication
access "denied" {
users: "FAIL"
newsgroups: ""
access: ""
}
Everybody who can access our news server is in an Oracle database so I wrote
a perl script to perform this authentication. However, the script never
gets executed and access is denied. Now if I move the access realm for
"denied" so that it appears before the "all" access realm, the perl script
does get run and, if you supply a username and password, it'll verify you in
the db. But, if you don't supply a username, you get in anyway.
Any clues?
Thanks in advance,
Sam
Technical Details
Message-ID:
<8aotbb$e4s$1@news2.familyclick.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-mailShow Full Headers
Complete Article Headers
Message-ID: <8aotbb$e4s$1@news2.familyclick.com> Subject: readers.conf problem with inn 2.3 Date: Wed, 15 Mar 2000 00:00:00 +0000 From: "Sam Mapes" <emmaps@familyclick.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 X-Deja-AN: 597965029 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@familyclick.com X-Trace: news2.familyclick.com 953153707 14492 207.7.65.18 (15 Mar 2000 20:55:07 GMT) Organization: FamilyClick.Com X-MSMail-Priority: Normal Newsgroups: news.software.nntp