🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70765

Unable to define 2 groups of users, accessing different newsgroups

#70765
From: Stef_SM
Date: Tue, 22 Feb 2005 01:49
50 lines
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

Technical Details
Message-ID: <mn.b0a97d52f27e2a0d.22232@nospam.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!g2news1.google.com!news1.google.com!proxad.net!nerim.net!biggoron.nerim.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <mn.b0a97d52f27e2a0d.22232@nospam.com>
Subject: Unable to define 2 groups of users, accessing different newsgroups
Date: Tue, 22 Feb 2005 02:49:10 +0100
From: Stef_SM <nospam@nospam.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!g2news1.google.com!news1.google.com!proxad.net!nerim.net!biggoron.nerim.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Nerim -- xDSL Internet Provider
Lines: 49
Reply-To: nospam@nospam.com
NNTP-Posting-Host: smoinard.net1.nerim.net
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: biggoron.nerim.net 1109036997 47550 62.212.117.143 (22 Feb 2005 01:49:57 GMT)
X-Complaints-To: abuse@nerim.net
NNTP-Posting-Date: Tue, 22 Feb 2005 01:49:57 +0000 (UTC)
X-Newsreader: MesNews/1.02.00.01
X-Face: #rb2G*~A2To9=Q&]Nh_Q+/3"x"9v3*9"FdE.M><_X.<)3!xXa]UJPq/D\y/e^CHrxn}tb4r .&z,AiB^'nC%$ITo-*&<^g;A=A[YK6BxCwTtO{SYAA.#;3b!K]-1Xu%ch>o:N0hM!B(?w)]`ob)wqO ,kSH9\jXir/DF|J?]3X~qV=h9Tyvh$WS!zZT=a"[|vg|?I(%`IL~@8k61OQ~/}V]gS|,