Thread View: news.software.nntp
3 messages
3 total messages
Started by Stefano
Wed, 30 Jul 2003 20:55
Readers.conf and auth access...
Author: Stefano
Date: Wed, 30 Jul 2003 20:55
Date: Wed, 30 Jul 2003 20:55
30 lines
1672 bytes
1672 bytes
Hi all,
i'm running INN 2.4 on debian woody r1.
I've configured readers.conf as below:
auth "authusers" {
hosts: *
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/innauth"
default: "<authusers>"
}
access "authusers" {
users: "<authusers>"
read: "*, !junk, !control*, !local*"
post: "*"
}
The problem is that i can also connect/read/post without any auth. I've
setup innauth with htpasswd and using perl script in man pages i've created
innauth.dir and innauth.pag ..
What's the problem???? For me it's strange....
Thanks
Bye, Stefano
Re: Readers.conf and auth access...
Author: Jeffrey M. Vinocur
Date: Wed, 30 Jul 2003 21:05
Date: Wed, 30 Jul 2003 21:05
33 lines
1987 bytes
1987 bytes
In article <bg9bca$m49bu$1@ID-175458.news.uni-berlin.de>,
Stefano <stefano@nextgen.it> wrote:
>
>auth "authusers" {
> hosts: *
> auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/innauth"
> default: "<authusers>"
>}
>
>access "authusers" {
> users: "<authusers>"
> read: "*, !junk, !control*, !local*"
> post: "*"
>}
Your configuration grants access to people who don't
authenticate, but not to people who do. Someone who doesn't
send any username will be assigned the <authusers> identity, but
someone who does send a correct password will be assigned that
username as an identity and therefore not match the access block
at all.
Try setting default: to <FAIL>, and putting an access block at
the bottom that denies access to the <FAIL> user. (You want your
normal access block to have users: "*,!<FAIL>".)
You can track these problems down by enabling news.debug in
syslog.conf.
--
Jeffrey M. Vinocur
jeff@litech.org
Re: Readers.conf and auth access...
Author: Stefano
Date: Fri, 01 Aug 2003 10:21
Date: Fri, 01 Aug 2003 10:21
8 lines
1216 bytes
1216 bytes
So .... what's the right config to grant access only to authenticated users? Thanks Stefano
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