Thread View: news.software.nntp
4 messages
4 total messages
Started by freestyle22
Sun, 25 Aug 2002 13:26
inn readers.conf file
Author: freestyle22
Date: Sun, 25 Aug 2002 13:26
Date: Sun, 25 Aug 2002 13:26
54 lines
2215 bytes
2215 bytes
after succesfully installation and simple readers.conf e.g.
auth "public" {
hosts: "*"
default: "<user>"
default-domain: "192.168.1.50"
}
access "public" {
users: "*"
newsgroups: "*,!control*,!junk,!local*"
access: "Read Post"
}
i could connect to server, getting list the group list, post
and answer. but i would like to have closed groups, so i tried
serveral other configs. in manuals and documentations i didn't
find what i looking for:
# should garant access to all public people
auth "public" {
hosts: "*"
default: "<user>"
default-domain: "192.168.1.50"
}
# should garant access to all admins
auth "administrators" {
hosts: "*"
default: "<user>"
default-domain: "192.168.1.50"
}
# access restrictions
access "public" {
users: "*"
newsgroups: "*,!internal.*,!local.*"
access: "Read Post"
}
# access restrictions
access "administrators" {
users: "*@example.ch,*@example.com"
newsgroups: "*"
access: "Read Post"
}
this don't work, i even can't connect to the server with this.
is there someone with upcomming help? thank you in advance.
freestyle22@bluemail.ch
Re: inn readers.conf file
Author: Jeffrey M. Vinocur
Date: Sun, 25 Aug 2002 13:40
Date: Sun, 25 Aug 2002 13:40
43 lines
2185 bytes
2185 bytes
In article <3d68db52$1_2@news.cybercity.ch>,
freestyle22 <freestyle22@bluemail.ch> wrote:
>
> access: "Read Post"
You don't need this line, just remove it and it will have the
same effect.
>auth "public" {
> hosts: "*"
> default: "<user>"
> default-domain: "192.168.1.50"
>}
>auth "administrators" {
> hosts: "*"
> default: "<user>"
> default-domain: "192.168.1.50"
>}
The names ("public" and "administrators" in your case) do not do
*anything* at all. The way it works is that first the auth
blocks are used to assign an identity. In your case, the
identity "<user>@192.168.1.50" is assigned to everybody (you've
got the same hosts: line in both, which I assume is a mistake).
So everybody will match the same access group.
Note also that the default-domain: parameter is not required; if
it's going to be the same for everybody you may as well just
leave it off.
You can get detailed information about how exactly nnrpd is
processing readers.conf by logging "news.debug" to a file
(similar to the way "news.error" etc are currently being logged).
It generates a lot of logs, so be sure to turn it off when you're
done.
--
Jeffrey M. Vinocur
jeff@litech.org
Re: inn readers.conf file
Author: freestyle22
Date: Sun, 25 Aug 2002 14:55
Date: Sun, 25 Aug 2002 14:55
31 lines
1641 bytes
1641 bytes
hi jeffrey
first let me thank you for your input. after reading of your message i tried
to implement this as i understood into my readers.conf :
auth "administrators" {
hosts: "*"
}
# access restrictions
access "public" {
users: "*"
newsgroups: "*,!internal.*,!local.*"
}
# access restrictions
access "administrators" {
users: "*@example.ch,*@example.com"
newsgroups: "*"
}
on this i get a error message by the news client
502 Could not get your access name. Goodbye. this was the reason why i
added default params.
yours sincerly, marc | freestyle22@bluemail.ch
Re: inn readers.conf file
Author: Jeffrey M. Vinocur
Date: Mon, 26 Aug 2002 02:45
Date: Mon, 26 Aug 2002 02:45
18 lines
1518 bytes
1518 bytes
In article <3d68f005$1_1@news.cybercity.ch>, freestyle22 <freestyle22@bluemail.ch> wrote: > >502 Could not get your access name. Goodbye. this was the reason why i >added default params. Well, you will need default: (but default-domain: can be left off in your case). But I'm confused -- how do you plan on distinguishing administrators from regular users? Right now it looks like by magic. (Perhaps by IP address? Or with authentication?) -- 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