🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46343

How to hook a perl script to INN?

#46343
From: Julien Lajeunesse
Date: Tue, 09 May 2000 00:00
20 lines
1431 bytes
Hi all,

I looked on the web and in the archives of this newsgroups but cannot
find this information. If it is explained somewhere, just point me to it
and I'll RTFM ;-).

I want to use a perl script to do the authentication of the users
(username + password) automagically, i.e. if a valid username/password
pair on the system is provided, the server is accessible (I already have
a working setup with /etc/news/nnrp.access, but it is not easily
maintainable). In /etc/news/inn.conf, I set "nnrpperlauth" to true. What
then? How do I "hook" a perl script?

I use INN 2.2.2-12 on Linux 2.2.x.

Many thanks in advance to all,

Julien Lajeunesse

Technical Details
Message-ID: <39175CD7.C95DCD79@hermes.usherb.ca>
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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <39175CD7.C95DCD79@hermes.usherb.ca>
Subject: How to hook a perl script to INN?
Date: Tue, 09 May 2000 00:00:00 +0000
From: Julien Lajeunesse <julien.lajeunesse@hermes.usherb.ca>
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!not-for-mail
X-Deja-AN: 620894607
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: news20.bellglobal.com 957831956 216.209.221.16 (Mon, 08 May 2000 20:25:56 EDT)
Organization: Sympatico
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 08 May 2000 20:25:56 EDT
Newsgroups: news.software.nntp