Thread View: news.software.nntp
2 messages
2 total messages
Started by Sielk
Tue, 21 Aug 2001 20:34
how do I require password auth
Author: Sielk
Date: Tue, 21 Aug 2001 20:34
Date: Tue, 21 Aug 2001 20:34
38 lines
2171 bytes
2171 bytes
Setting up my first INN server. I have a readers.conf file
that will take a username and password and authenticate against
it. If you are correct you get access, if you are not correct
you get Auth Failed. The problem I have is if you connect
with your reader and do NOT give any Username/Password you
still get access. What am I missing? How do I require a
Username and Password for all readers? I can read the docs, so
you can just point me in the right direction if this is documented.
---reader.conf---
auth "members" {
hosts: "*"
auth: "ckpasswd -f /www/news/db/newsusers"
default: "<fail>"
}
access "full" {
users: "members, !<fail>"
newsgroups: "*,!control,!control.*,!junk"
}
access "fail" {
users: "<fail>"
newsgroups: "*!"
}
----end readers.conf---
Thanks,
Sielk
sielk@NOSP@Msundragonclan.com
Re: how do I require password auth
Author: Russ Allbery
Date: Tue, 21 Aug 2001 22:12
Date: Tue, 21 Aug 2001 22:12
24 lines
1697 bytes
1697 bytes
Sielk <chrisl@mail.spiralweb.com> writes:
> Setting up my first INN server. I have a readers.conf file
> that will take a username and password and authenticate against
> it. If you are correct you get access, if you are not correct
> you get Auth Failed. The problem I have is if you connect
> with your reader and do NOT give any Username/Password you
> still get access. What am I missing?
You have a typo, which may be part of it:
> access "fail" {
> users: "<fail>"
> newsgroups: "*!"
> }
That should be !*, not *!.
--
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