Setup readers.conf
Bent Nielsen
bent-nielsen at jyde.dk
Fri Mar 29 02:33:08 UTC 2002
Sorry for sending to your personally mail Jeffrey and for my bad english,
it seems that I have not clarified what I want.
>Did you see my latest suggestion to put quotes around "<FAIL>"? (I'm
>really at a loss, it looks like that should work.)
First I got quotes around "<FAIL>" in my readers.conf.
> > Just to understand how the readers.conf works. Will this fail-statement
> > allow users to access the server, but when retrieving the list of groups it
> > will retrieve zero groups or will it not allow access?
>
>It will allow access but show no groups. However, that only happens
>*before* the authentication (and thus is what you want). Once somebody
>tries to authenticate and gives a bad username, the connection is closed
>immediately.
No this is not what I want. My readers.conf do work and disconnect when the
username or password are not found in my password file.
I want that authentication are required on every connection else the
connection is close immediately and I cannot find a way to setup the
readers.conf so this is done.
At 21:06 28-03-2002 -0500, you wrote:
>On Fri, 29 Mar 2002, Bent Nielsen wrote:
>
> > I found and have read this thread, but it does not work.
>
>Did you see my latest suggestion to put quotes around "<FAIL>"? (I'm
>really at a loss, it looks like that should work.)
>
>
> > Just to understand how the readers.conf works. Will this fail-statement
> > allow users to access the server, but when retrieving the list of groups it
> > will retrieve zero groups or will it not allow access?
>
>It will allow access but show no groups. However, that only happens
>*before* the authentication (and thus is what you want). Once somebody
>tries to authenticate and gives a bad username, the connection is closed
>immediately.
>
>
> > auth all {
> > hosts: *
> > auth: "ckpasswd -f /usr/local/news/db/newspass"
> > default: <FAIL>
> > }
>
>Note that you need an access group for the other users in here as well.
>
>
> > access fail {
> > users: "<FAIL>"
> > newsgroups: !*
> > }
>
>
>
>
>
>--
>Jeffrey M. Vinocur
>jeff at litech.org
More information about the inn-workers
mailing list