🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69002

Re: force password

#69002
From: Jeffrey M. Vinocur
Date: Mon, 19 Apr 2004 09:49
34 lines
2207 bytes
In article <c5klfg$83m$1@woodrow.ucdavis.edu>,
Mason Sin-Fai Leung  <leungm@pc36.cs.ucdavis.edu> wrote:
>
>Is there a way to force the users to supply a login and password when they
>connect to inn?

If all the auth blocks in readers.conf have only auth: lines
(in other words, no res: and no default:) that match, then nnrpd
will return 480 to every command, which will cause most clients
to authenticate.

If a readers.conf auth block specifies an identity for an
anonymous connection, then the client will see whatever groups
that identity is permitted to.  The client can voluntarily
authenticate to obtain additional access.


>It looks like the script is called, but stop when it tries to
>access %attributes.

This seems unlikely.


>Aside from my prevoius question, what happen to access() if
>%attributes is not defined?  Thanks!!

Presumably whatever happens in any other Perl program if you try
to use a hash that's not defined.  However, I think %attributes
will always be defined whenever access() is called.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <c607ar$kic$2@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!elnk-atl-nf1!newsfeed.earthlink.net!bigfeed2.bellsouth.net!bigfeed.bellsouth.net!news.bellsouth.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <c5klfg$83m$1@woodrow.ucdavis.edu>

Show Full Headers
Complete Article Headers
Message-ID: <c607ar$kic$2@puck.litech.org>
Subject: Re: force password
Date: Mon, 19 Apr 2004 09:49:15 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <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.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!bigfeed2.bellsouth.net!bigfeed.bellsouth.net!news.bellsouth.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 34
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1082368155 21068 66.218.0.75 (19 Apr 2004 09:49:15
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 19 Apr 2004 09:49:15 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)