🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66508

Re: INND Authentication - One Username Multiple Groups Access

#66508
From: Jeffrey M. Vinocur
Date: Mon, 18 Aug 2003 11:22
29 lines
2433 bytes
In article <8294e830.0308180317.1ea09c43@posting.google.com>,
Michael Jenkins <siku2001us@yahoo.com> wrote:
>I'd like to use one htpasswd made file to allow certain users access
>to certain newsgroups depending on their username.  I have this so
>far, however it fails to work, I know it only chooses one auth section
>once it autheticates there, and then uses that, the only way I can get
>this to work is to do default-domain on each auth/access pair and make
>a separate username for each user.  So one person in real life may
>have 20 usernames.

The readers.conf you showed contains a lot of stuff that won't
have any effect, but I think I know what you want.

It sounds like you want to specify, for each *hierarchy*, a list
of users that can access it.  This is the reverse of the usual
INN method, in which you specify for each *user* what groups he
can access.

However, people want to do this sort of thing fairly often; even
though INN does not support it directly.  So if it's difficult to
reorganize your access control into a user-based system, you may
want to look into using the Perl authentication hooks, which
allow you to check permissions every time a user tries to read a
newsgroup (and thus you can do group-based access).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <bhqcuh$gte$2@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <8294e830.0308180317.1ea09c43@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <bhqcuh$gte$2@puck.litech.org>
Subject: Re: INND Authentication - One Username Multiple Groups Access
Date: Mon, 18 Aug 2003 11:22:57 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <8294e830.0308180317.1ea09c43@posting.google.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 29
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1061205777 17326 66.218.0.75 (18 Aug 2003 11:22:57
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 18 Aug 2003 11:22:57 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)