Thread View: news.software.nntp
3 messages
3 total messages
Started by Eric
Fri, 25 May 2001 21:15
(INN 2.3.1) Pseudo-authentication for experienced users
Author: Eric
Date: Fri, 25 May 2001 21:15
Date: Fri, 25 May 2001 21:15
74 lines
3026 bytes
3026 bytes
I'm running a local news server whith some active newsgroups and some
newsgroups I used to run a time ago.
I want to use 'pseudo-authentication' to hide the old groups for new users of
my server and reveal the archive-groups to the experienced users who
know how to send a username/password.
1-Who doesn't send a username/password should only see the groups that
are relevant now.
2-People that send a username/password like guest/guest get to see the
old newsgroups as well. (I created a password file with a lot of easy
to guess usernames and identical passwords, and according to
news.notice it works.)
3-And then I would like to give all users from localhost and my local
network access to absolutely everything.
The problem is: whatever I do, when i 'uncomment' the lines in
reader.conf that have to do with authentication, everybody gets
access to everything, regardles of wheather they send u/p
or not.
I've tried all sorts of settings, to no avail. This is my last try:
----------
auth "iedereen" {
hosts: "*"
default: "<iedereen>"
}
access "iedereen" {
users: "<iedereen>"
newsgroups: "-list of groups that everyone should or
should'nt see/post to-"
}
auth "localhost" {
hosts: "news.flevoland.to, localhost, 127.0.0.1, underdog.hobinet"
default: "<localhost>"
}
access "localhost" {
users: "<localhost>"
newsgroups: "*"
}
auth "archief" {
auth: "ckpasswd -d /usr/local/news/db/newsusers"
default: "<iedereen>"
}
access "archief" {
users: "*"
read: "-list of groups the happy few are allowed to see/post
to"
}
----------
When i comment out the last two blocks, at least 1 and 3 work.
Otherwise, everyone gets to see everything, so is treated like
<localhost>.
What am I doing wrong?
(At this moment I have commented out the last two blocks, to prevent
confusion amongs the readers.)
--
Eric
http://news.flevoland.to
Ongemodereerd je zegje doen over Flevolandse
onderwerpen. (NNTP: news://news.flevoland.to/algemeen )
Re: (INN 2.3.1) Pseudo-authentication for experienced users
Author: Bettina Fink
Date: Sat, 26 May 2001 00:57
Date: Sat, 26 May 2001 00:57
51 lines
2210 bytes
2210 bytes
Eric <eric@dehont.dyn.dhs.org> wrote:
> 1-Who doesn't send a username/password should only see the groups that
> are relevant now.
>
> 2-People that send a username/password like guest/guest get to see the
> old newsgroups as well. (I created a password file with a lot of easy
> to guess usernames and identical passwords, and according to
> news.notice it works.)
>
> 3-And then I would like to give all users from localhost and my local
> network access to absolutely everything.
Try something like this (As usual: No guarantee for nothing,
readers.conf is very easy to ruin):
auth "external" {
hosts: "*"
auth: "ckpasswd -f /usr/local/news/db/newsusers" (or whatever)
default: "<fail>"
}
auth "local" {
hosts: "localhost, 127.0.0.1, stdin, [yourlocalnetworks]"
default: "<local>"
}
access "full" {
users: "*, !<fail>"
newsgroups: *
access: RP
}
access "fail" {
users: "<fail>"
newsgroups: "*, !whattheyshouldntsee"
access: RP
}
* From everywhere and no authentication gets the default identity
"<fail>" and matches the access realm "fail".
* From everywhere and successful authentication gets the identity
associated with his user/pass combination and matches the "full"
access realm (users: "*").
* From localhost or your local network gets the identity "<local>"
and matches the access realm "full" (users: "*").
Re: (INN 2.3.1) Pseudo-authentication for experienced users
Author: Eric
Date: Sat, 26 May 2001 17:15
Date: Sat, 26 May 2001 17:15
17 lines
1454 bytes
1454 bytes
Onnavolgbaar trefzeker deed "Bettina Fink" <laura@hydrophil.de> alle rumoer verstommen met een nuchter: > Eric <eric@dehont.dyn.dhs.org> wrote: [Snip: I would like to...] > Try something like this (As usual: No guarantee for nothing, > readers.conf is very easy to ruin): [Snip: great advice] Thanks. If you're advice doesn't work I'll post the correct one, if I manage to create one, that is... -- Eric
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