🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49006

Re: Readers.conf and authentication (INN-2.3.X)

#49006
From: Michael Connolly
Date: Mon, 06 Nov 2000 00:00
86 lines
4414 bytes
hi Tim

I'm struggling with the same problem at the moment, i.e. I want everyone to have
access to the majority of groups, but authenticate access to a small number of
groups.  I'd prefer not to have to authenticate everyone simply to control access
to 2 groups.  I'd be interested in any solution you might come up with.  It seems
to me it should be possible to have a "newsgroups:" parameter in the auth group
definition.

regards
Michael

Tim Pennick wrote:

> Hi All,
>
> I must say, this authentication business has turned out to be a lot more
> difficult than I thought.  I now think that I can't achieve my target
> configuration on a single server.  The purpose of bothering you all one more
> time with this query is that I'm hoping someone will PLEASE tell me if I'm
> wrong.
>
> Once again brief recap.
>
> We've got lots of users who don't need username/password authentication
> (access controlled by hostname/IP address).  I'd like to offer people password
> protection on some (only a few) additional local newsgroups.
>
> What I hoped was that if someone was reading an 'open' group (not requiring
> password authentication) and then decided to read a closed one, they could
> select the closed group from their reader, which would cause the server to
> issue an 'authneeded', in turn triggering an 'authinfo' from the reader to
> supply the username and password.  After several weeks of plugging away at
> this, I've eventually realised that this doesn't work, since the user will
> never be able to select one of the closed groups, since these aren't returned
> by 'list' etc. and as far as the unauthenticated user is concerned, don't
> exist.
>
> There is therefore no way to force the server to generate an 'authneeded'
> except at the beginning of a session by including an 'auth: field" in
> readers.conf, or by using the perl/python hook.
>
> I've read in the INN documentation (in the readers.conf man page) that a
> client can issue authinfo during a session to achieve access via
> authentication, but the newsreaders I know about (lynx and SLRN) don't provide
> this functionality, authinfo being usually a response to an authneeded from
> the server.
>
> So I'm beginning to think its impossible to have a mixture of authenticated
> and unauthenticated groups on the same server.
>
> I'm not totally convinced about this yet, as there's an example in the
> readers.conf man page which almost achieves what I'm after, but the difference
> in that case is that user communities which do and don't require access via
> authentication can be divided up into corresponding domains.  This is not
> possible in our case since we have lots of domains and IP address ranges which
> don't map onto whether or not someone should be forced to authenticate on
> login.
>
> Anyway, I appreciate your patience but I really don't want to split the news
> service over two servers, and password protection is really something I want
> to be able to offer to our users.  So any help would be gratefully accepted.
>
> Many thanks,
>
> Tim Pennick

--

-----------------------------------------------------

Michael Connolly,         Tel: +353-1-6372198
IONA Technologies,        Fax: +353-1-6372888
The IONA Building,
Shelbourne Road,          mailto:michael.connolly@iona.com
Dublin 4,                 http://www.iona.com
Ireland

-----------------------------------------------------

              IONA Technologies:
       Making Software Work Together(tm)



Technical Details
Message-ID: <3A068FFA.9E809D93@iona.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: <8tpn1l$b51$1@pheidippides.axion.bt.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <3A068FFA.9E809D93@iona.com>
Subject: Re: Readers.conf and authentication (INN-2.3.X)
Date: Mon, 06 Nov 2000 00:00:00 +0000
From: Michael Connolly <michael.connolly@iona.com>
References: <8tpn1l$b51$1@pheidippides.axion.bt.co.uk>
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: 690226869
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@bvweb.iona.com
X-Trace: bvweb.iona.com 973508940 24585 192.122.221.89 (6 Nov 2000 11:09:00 GMT)
Organization: Iona Technologies
Mime-Version: 1.0
NNTP-Posting-Date: 6 Nov 2000 11:09:00 GMT
Newsgroups: news.software.nntp