Thread View: news.software.nntp
1 messages
1 total messages
Started by Sam Mapes
Wed, 15 Mar 2000 00:00
readers.conf problem with inn 2.3
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads