Thread View: news.software.nntp
2 messages
2 total messages
Started by Joshua Gould
Thu, 23 Aug 2001 16:31
readers.conf help
Author: Joshua Gould
Date: Thu, 23 Aug 2001 16:31
Date: Thu, 23 Aug 2001 16:31
40 lines
2051 bytes
2051 bytes
I've read the man page many many times and I'm still confused about
users: and default:
Basically... I want everyone to authenticate with username/password.
Certain hosts, lets say hosta.dot.com and hostb.dot com should be able
to access newgroup chat.secret.local and gossip.secret.local but no
one else should.
Can someone tell me what I'm doing wrong or give me a samle
readers.conf file tthat matches the case above?
Here is my closest guess to what readers.conf should be:
auth "most" {
hosts: *
auth: "ckpasswd -s"
default: <most>
}
auth "all" {
hosts: "hosta.dot.com, hostb.dot.com"
auth: "ckpasswd -s"
default: <ALL>
}
access "all" {
newsgroups: *
access: RPA
users <ALL>
}
access "most" {
newsgroups: "*, !secret.local"
access: RPA
users: <MOST>
}
Re: readers.conf help
Author: Jeffrey M. Vinocur
Date: Thu, 23 Aug 2001 17:36
Date: Thu, 23 Aug 2001 17:36
53 lines
2267 bytes
2267 bytes
In article <vak8zga20xb.fsf@darkstar.cis.ohio-state.edu>,
Joshua Gould <gould@cis.ohio-state.edu> wrote:
>
>I've read the man page many many times and I'm still confused about
>users: and default:
Default is used if the authenticator doesn't return a username.
With ckpasswd it's effectively pointless.
>Basically... I want everyone to authenticate with username/password.
>
>Certain hosts, lets say hosta.dot.com and hostb.dot com should be able
>to access newgroup chat.secret.local and gossip.secret.local but no
>one else should.
If you're sure that's what you want (you want to restrict by host
and not by username), I'm pretty sure you're stuck using key: to
give a correspondence between auth groups and access groups. Try
this: (remember, case matters -- "most" and "MOST" are
different)
auth "most" {
hosts: "*"
auth: "ckpasswd -s"
key: "MOST"
}
auth "all" {
hosts: "hosta.dot.com,hostb.dot.com"
auth: "ckpasswd -s"
key: "ALL"
}
access "all" {
newsgroups: "*"
access: "RPA"
key: "ALL"
}
access "most" {
newsgroups: "*,!chat.secret.local,!gossip.secret.local"
access: "RPA"
users: "MOST"
}
--
Jeffrey M. Vinocur
jeff@litech.org
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