Thread View: news.software.nntp
2 messages
2 total messages
Started by Stef_SM
Tue, 22 Feb 2005 01:49
Unable to define 2 groups of users, accessing different newsgroups
Author: Stef_SM
Date: Tue, 22 Feb 2005 01:49
Date: Tue, 22 Feb 2005 01:49
50 lines
2554 bytes
2554 bytes
Hello,
I don't understand my mistake. Under inn 2.4.2
Given 2 groups of users, users1 and users2. They are world-wide
located, each user of a group is identified by inn with a user/passwd
file (files passwd.1 and passwd.2 respectively, created with htpassd).
The 1st group users1 must have RW access to the newsgroups ng1 and ng2.
The 2nd group users2 must have RW access to the newsgroups ng3 only.
Following is a part of my readers.conf :
############ GROUP 1 ############
auth "users1" {
auth: "ckpasswd -f /usr/local/news/etc/passwd.1"
}
access "users1" {
users: ""
newsgroups: "ng1,ng2,!junk,!control,!control.*"
access: RP
}
############ GROUP 2 ############
auth "users2" {
auth: "ckpasswd -f /usr/local/news/etc/passwd.2"
}
access "users2" {
users: ""
newsgroups: "ng3,!junk,!control,!control.*"
access: RP
}
#################################
With this readers.conf, ALL users have access to ng3, included users of
group1, but ng1 and ng2 can't be accessed (neither by users1 nor
users2).
If i delete the part concerning the configuration of the group users2
in readers.conf, it works well : the group users1 have access to ng1
and ng2, and users2 can't access any group.
Coul'd someone help ?
Thanks.
--
Stef
Re: Unable to define 2 groups of users, accessing different newsgroups
Author: Stef_SM
Date: Tue, 22 Feb 2005 15:52
Date: Tue, 22 Feb 2005 15:52
22 lines
1836 bytes
1836 bytes
Hello,
I found the solution. All the users are registred in the same
passwd.nntp. Here the corrected part of my readers.conf :
auth "users" {
auth: "ckpasswd -f /usr/local/news/etc/passwd.nntp"
}
access "group1" {
users: "david, denis, lise"
newsgroups: "ng1,ng2,!junk,!control,!control.*"
access: RP
}
access "group2" {
users: "evi, gilles, catherine"
newsgroups: "ng3,!junk,!control,!control.*"
access: RP
}
--
Stef
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