🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48775

Authenticating with perl hooks

#48775
From: Tim Pennick
Date: Tue, 17 Oct 2000 00:00
20 lines
1676 bytes
Hi All,

I'm slowly getting to grps with authentication using the sample nnrp_auth.pl
provided.  However, I nearly fell at what I hope is almost the final hurdle,
as the sample code returns an array with 4 elements, whereas the code of nnrpd
seemed to be expecting 5.  I confirmed my suspicions when I discovered the
readme.perl_hook file, which is contradictory as to whether 4 or 5 elements
should be returned.  In the paragraph which calls for 5 elements, the
documentation states that the 5th element should be a number denoting the
maximum data transfer rate between client and server.

Does anyone know if this value is used for anything or is just a dummy value?
If it is used, what is a reasonable value for it if I don't want to limit the
transfer rate, i.e. do I just set it to the biggest number I can think of?

Regards,

Tim Pennick

Technical Details
Message-ID: <slrn8uouuj.5vv.tpennick@extra.axion.bt.co.uk>
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: <slrn8uouuj.5vv.tpennick@extra.axion.bt.co.uk>
Subject: Authenticating with perl hooks
Date: Tue, 17 Oct 2000 00:00:00 +0000
From: tpennick@extra.axion.bt.co.uk (Tim Pennick)
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: 682513122
X-Complaints-To: postmaster@axion.bt.co.uk
X-Trace: pheidippides.axion.bt.co.uk 971799467 21493 132.146.88.22 (17 Oct 2000 16:17:47 GMT)
Organization: BT Adastral Park, Martlesham Heath, Ipswich, UK
User-Agent: slrn/0.9.6.3 (SunOS)
Reply-To: Tim Pennick <tpennick@axion.bt.co.uk>
NNTP-Posting-Date: 17 Oct 2000 16:17:47 GMT
Newsgroups: news.software.nntp