🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66822

Re: Allowing moderators?

#66822
From: Jeffrey M. Vinocur
Date: Mon, 13 Oct 2003 17:10
51 lines
2900 bytes
In article <bmeh8l$6ce$1@allhats.xcski.com>,
Paul Tomblin <ptomblin@xcski.com> wrote:
>I just upgraded my RedHat 7.3 server to RedHat 9, and it upgraded from inn
>2.3.2 to 2.3.4.  Even though the readers.conf doesn't appear to have
>changed, [...]

If you check NEWS, you'll see that the restriction on approval
was added in 2.3.3 (even though it was documented in 2.3.2, the
patch wasn't actually applied).


>I also have a nnrpd_auth.pl so that remote readers can authenticate (I'm
>planning to switch to a ckpasswd authentication in readers.conf as soon as
>I figure out how).  Could that be interfering?

...with the "old" Perl auth hooks, readers.conf is entirely
ignored.  There is, of course, support for what you want to do in
2.4.

This is admittedly a deficiency in 2.3.x -- I don't think we'd
thought about the Perl hooks when the "access: A" feature was
added -- but that tree is no longer under development.  So your
options are (unless I've forgotten something):

- switch to using a readers.conf-based mechanism (even if
  ckpasswd doesn't work for you, you can still call out to a Perl
  script as long as you don't need to dynamically generate access
  groups -- check the external-auth documentation[1])

- patch the source (which kind of kills your RPM hopes)

- upgrade to 2.4


>but I'd rather leave rpm in charge of upgrading my software.

In this case, it really is a mistake.  I don't think there's a
single person who's spoken in favor of the way Redhat packages
INN, let alone the fact that it's chronically out of date.  But I
can't force you.


[1] I didn't write this documentation until fairly recently, but
    it's applicable to 2.3.x nonetheless:

    http://www.eyrie.org/~eagle/software/inn/docs-2.4/external-auth.html


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <bmem9v$oad$1@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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!opentransit.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.litech.org!not-for-mail
References: <bmeh8l$6ce$1@allhats.xcski.com>

Show Full Headers
Complete Article Headers
Message-ID: <bmem9v$oad$1@puck.litech.org>
Subject: Re: Allowing moderators?
Date: Mon, 13 Oct 2003 17:10:23 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <bmeh8l$6ce$1@allhats.xcski.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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!opentransit.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 51
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1066065023 24909 66.218.0.75 (13 Oct 2003 17:10:23
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 13 Oct 2003 17:10:23 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)