🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68987

force password

#68987
From: Mason Sin-Fai Leung
Date: Thu, 15 Apr 2004 00:37
8 lines
1628 bytes
Hi all,

Is there a way to force the users to supply a login and password when they
connect to inn?  I know with perl_auth in reader.conf can authenticate
users and with perl_access, I can create access group on the fly.  I have a test script with access() defined.  If I connect to inn with a login and password, 
I can print out the %attributes hash to a file.  If I connect without a login and password, nothing gets printed and I have an empty file.  It looks like the script is called, but stop when it tries to access %attributes.  Aside from my prevoius question, what happen to access() if %attributes is not defined?  Thanks!!

ML  
Technical Details
Message-ID: <c5klfg$83m$1@woodrow.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.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!128.32.206.55!newsfeed.berkeley.edu!ucberkeley!ihnp4.ucsd.edu!ucdavis!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <c5klfg$83m$1@woodrow.ucdavis.edu>
Subject: force password
Date: Thu, 15 Apr 2004 00:37:04 +0000
From: Mason Sin-Fai Leung <leungm@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.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!128.32.206.55!newsfeed.berkeley.edu!ucberkeley!ihnp4.ucsd.edu!ucdavis!not-for-mail
Newsgroups: news.software.nntp
Organization: University of California, Davis
NNTP-Posting-Host: pc36.cs.ucdavis.edu
X-Trace: woodrow.ucdavis.edu 1081989424 8310 169.237.5.88 (15 Apr 2004
X-Complaints-To: usenet@ucdavis.edu
NNTP-Posting-Date: Thu, 15 Apr 2004 00:37:04 +0000 (UTC)
User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (Linux/2.4.20-30.9
 (i686))