🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84806

Re: Python dynamic access

#84806
From: Julien ÉLIE
Date: Sun, 01 Apr 2012 21:49
23 lines
1921 bytes
Responding to myself:

> PERMcanauthenticate should also be set to true when
> a Python dynamic hook is present.

It should not.  It would otherwise cause problems of RFC-non-compliant 
response codes.

I believe the right fix would be to treat auth groups with Python 
dynamic generation of access groups differently than other auth groups.
A username is probably not required for them.
Either we do that (and allow the absence of a username) or we mention 
that a username is mandatory when dynamic hooks are used.  (The username 
can be found out by the news server, or set to a default one when not 
guessed.)

-- 
Julien ÉLIE

« – Vous n'avez rien à déclarer ?
   – J'ai faim.
   – Qu'est-ce que vous avez là ?
   – Un creux ! » (Astérix)
Technical Details
Message-ID: <9ts0rrFrtvU1@mid.individual.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnjn5s1q.upo.steve@news.mixmin.net> <slrnjn65od.upo.steve@news.mixmin.net> <9trvgcFiejU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <9ts0rrFrtvU1@mid.individual.net>
Subject: Re: Python dynamic access
Date: Sun, 01 Apr 2012 23:49:47 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <slrnjn5s1q.upo.steve@news.mixmin.net> <slrnjn65od.upo.steve@news.mixmin.net> <9trvgcFiejU1@mid.individual.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 23
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 9oTa8izOI4mu63RbrTyWjQZqy0t5h5nl0F84lRSDasnTvQ54M=
Cancel-Lock: sha1:b1cJK22J2IDcvUiyManTtukG0d4=
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; fr;
In-Reply-To: <9trvgcFiejU1@mid.individual.net>