🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11719

Re: nnrpd passwd lookups

#11719
From: Clayton O'Neill
Date: Thu, 17 Oct 1996 00:00
26 lines
1641 bytes
On 17 Oct 1996 18:52:39 GMT, Jason Lavoie <jason@oasys.net> wrote:
>I'm about to hack nnrpd to do password lookups (from a standard unix
>/etc/passwd style file) for read authentication.  The existing 
>functionality of nnrp.access isn't flexible enough.

This code is already in INN 1.5b1, but I don't believe it's documented.  I
have code for doing lookups into a bsd style dbm database also.

>I'm also considering tracking connections to limit users to a set
>number of simultaneous sessions.

I've thought about this problem, and I've decided not to solve it on the
news server.  I'm intending to push NNTP authentication requests off to the
RADIUS auth servers here and solve the simultaneous login problem in one
place instead of w/every service we offer.

>Has anyone already done either of these?
>Any helpful pointers or suggestions are welcome.

Take a look at the 1.5b1 code.  Keep in mind that if you have a OS that
doesn't put the password file in a dbm file then you're going to regret
doing a getpwent a lot if you get a lot of users in that password file.


Technical Details
Message-ID: <slrn56d1ht.h9a.coneill@blah.erols.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!not-for-mail
References: <545v9n$ujk@ruby.mint.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn56d1ht.h9a.coneill@blah.erols.com>
Subject: Re: nnrpd passwd lookups
Date: Thu, 17 Oct 1996 00:00:00 +0000
From: coneill@oneill.net (Clayton O'Neill)
References: <545v9n$ujk@ruby.mint.net>
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: 190118809
Organization: Erol's Internet Services
Newsgroups: news.software.nntp