🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68982

Re: perl_auth

#68982
From: Mason Sin-Fai Leung
Date: Tue, 13 Apr 2004 21:41
34 lines
2476 bytes
I meant "nnrpd_auth.pl" not "filter_nnrpd.pl" in reader.conf.  It was a
typo.  I can't control posting via filter_nnrpd.pl, but not sure why
nnrpd_auth.pl never loads.  I am trying to use ldap to authenticate users
when they first connect to the news server.  I look into nnrpd_auth.pl and
it looks like I can load a DB in nnrpd_auth.pl.  Presumably, I can use ldap
there?  Any pointer?  Thanks.

ML


On Tue, 13 Apr 2004, Jeffrey M. Vinocur wrote:

> In article <c5hjcn$d44$1@woodrow.ucdavis.edu>,
> Mason Sin-Fai Leung  <leungm@pc36.cs.ucdavis.edu> wrote:
> >
> >I have put "perl_auth : <where filter_nnrpd.pl>" is in my auth block in 
> >the reader.conf file, howerever, when I load up my news reader, inn does
> >not do any authenticate (I put some print to file code in filter_nnrpd.pl to
> >check if it is ever run).  Any idea why filter_nnrpd.pl is not executed?
> 
> Well, filter_nnrpd.pl by its name, likely contains a posting
> filter, rather than authentication code.  I suggest you read
> doc/hook-perl more carefully.
> 
> 
> >I also saw some ppl use "auth: ldap" in auth block to use ldap.
> >Is this the proper way to do it?  Thanks.
> 
> Depends what you want to do.  Have you read the readers.conf
> manpage?
> 
> 
> 
Technical Details
Message-ID: <Pine.LNX.4.44.0404131433210.4546-100000@pc36.cs.ucdavis.edu>
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!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!newsfeed2.telusplanet.net!newsfeed.telusplanet.net!newsfeed.telus.net!xmission!news.cc.utah.edu!dog.ee.lbl.gov!ihnp4.ucsd.edu!ucdavis!pc36.cs.ucdavis.edu!leungm
References: <c5hjcn$d44$1@woodrow.ucdavis.edu> <c5hk1a$142$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.44.0404131433210.4546-100000@pc36.cs.ucdavis.edu>
Subject: Re: perl_auth
Date: Tue, 13 Apr 2004 14:41:39 -0700
From: Mason Sin-Fai Leung <leungm@cs.ucdavis.edu>
References: <c5hjcn$d44$1@woodrow.ucdavis.edu> <c5hk1a$142$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!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!newsfeed2.telusplanet.net!newsfeed.telusplanet.net!newsfeed.telus.net!xmission!news.cc.utah.edu!dog.ee.lbl.gov!ihnp4.ucsd.edu!ucdavis!pc36.cs.ucdavis.edu!leungm
Newsgroups: news.software.nntp
Organization: University of California, Davis
Lines: 34
NNTP-Posting-Host: pc36.cs.ucdavis.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: woodrow.ucdavis.edu 1081892502 18196 169.237.5.88 (13 Apr 2004
X-Complaints-To: usenet@ucdavis.edu
NNTP-Posting-Date: Tue, 13 Apr 2004 21:41:42 +0000 (UTC)
In-Reply-To: <c5hk1a$142$1@puck.litech.org>