🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66507

INND Authentication - One Username Multiple Groups Access

#66507
From: Michael Jenkins
Date: Mon, 18 Aug 2003 11:17
33 lines
1719 bytes
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.

auth test1 {
        hosts: *
        auth: "ckpasswd -f /etc/news/passwd"
}

access test1 {
        users: guest
        newsgroups: *EDU*
}

auth test2 {
        hosts: *
        auth: "ckpasswd -f /etc/news/passwd"
}

access test2 {
        users: guest,demo
        newsgroups: *EDU56*
}

RH9
inn-2.3.4-2
Linux ## 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686
i386 GNU/Linux
Technical Details
Message-ID: <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.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <8294e830.0308180317.1ea09c43@posting.google.com>
Subject: INND Authentication - One Username Multiple Groups Access
Date: Mon, 18 Aug 2003 11:17:45 +0000
From: siku2001us@yahoo.com (Michael Jenkins)
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!archiver1.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 32
NNTP-Posting-Host: 129.71.103.250
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1061205466 6436 127.0.0.1 (18 Aug 2003 11:17:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 18 Aug 2003 11:17:46 GMT