Thread View: news.software.nntp
5 messages
5 total messages
Started by Martin Streicher
Wed, 15 Nov 2006 16:45
Puzzled by readers.conf
Author: Martin Streicher
Date: Wed, 15 Nov 2006 16:45
Date: Wed, 15 Nov 2006 16:45
22 lines
1709 bytes
1709 bytes
These two auth entries appear at the top of my readers.conf:
auth "denyall" {
hosts: "*"
default: "<no-user>"
}
auth "cluster" {
hosts: "*.devel.foobar.com"
auth: simple
}
I was hoping that the latter would override the former during the auth
process, at least that was the way I read the documentation.
However, if I use this, "cluster" never is used to compare against the
incoming host name.
Any ideas? Voodoo? Post tributes (answers) here.
Martin
Re: Puzzled by readers.conf
Author: Martin Streicher
Date: Wed, 15 Nov 2006 16:49
Date: Wed, 15 Nov 2006 16:49
3 lines
1460 bytes
1460 bytes
I should add that the auth program simple used in the latter entry simply echoes the incoming user name.
Re: Puzzled by readers.conf
Author: Russ Allbery
Date: Wed, 15 Nov 2006 19:03
Date: Wed, 15 Nov 2006 19:03
28 lines
1917 bytes
1917 bytes
Martin Streicher <martin.streicher@gmail.com> writes:
> These two auth entries appear at the top of my readers.conf:
> auth "denyall" {
> hosts: "*"
> default: "<no-user>"
> }
> auth "cluster" {
> hosts: "*.devel.foobar.com"
> auth: simple
> }
> I was hoping that the latter would override the former during the auth
> process, at least that was the way I read the documentation.
> However, if I use this, "cluster" never is used to compare against the
> incoming host name.
Because cluster has an auth handler set, that block will not be used until
the user attempts to authenticate. Could that be the issue?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Puzzled by readers.conf
Author: Martin Streicher
Date: Wed, 15 Nov 2006 19:23
Date: Wed, 15 Nov 2006 19:23
14 lines
1862 bytes
1862 bytes
Russ Allbery wrote: > > Because cluster has an auth handler set, that block will not be used until > the user attempts to authenticate. Could that be the issue? > Indeed. However, once the first auth rule assigned "<no-user>", the access rules were tried and the connection was terminated immediately with "502 You have no permission to talk. Goodbye." So, it's as if the authinfo information from the client is never transmitted and hence never considered.
Re: Puzzled by readers.conf
Author: Russ Allbery
Date: Wed, 15 Nov 2006 20:15
Date: Wed, 15 Nov 2006 20:15
25 lines
2271 bytes
2271 bytes
Martin Streicher <martin.streicher@gmail.com> writes:
> Russ Allbery wrote:
>> Because cluster has an auth handler set, that block will not be used
>> until the user attempts to authenticate. Could that be the issue?
> Indeed. However, once the first auth rule assigned "<no-user>", the
> access rules were tried and the connection was terminated immediately
> with "502 You have no permission to talk. Goodbye." So, it's as if the
> authinfo information from the client is never transmitted and hence
> never considered.
That sounds like your forward and reverse DNS aren't matching and
therefore the hosts: key of the cluster block isn't triggering. Try
sending news.debug somewhere in syslog.conf and then looking at the trace
of the access control code. You can post the log here if you want another
pair of eyes to look it over.
If DNS isn't working, that should show up in news.notice.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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