🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Tim Pennick Wed, 11 Oct 2000 00:00
Its that old INN 2.3.0 authentication question again
#48710
Author: Tim Pennick
Date: Wed, 11 Oct 2000 00:00
51 lines
3143 bytes
Hi All,

A while ago I was looking at the possibility of providing a password
protection option for local newsgroups.  At the time, I'd got as far as
deciding that the readers.conf mechanism would not be suitable for my setup,
as there were too many permutations and combinations of groups and users to
make this arrangement viable.  I've been looking at authentication using
nnrpd_auth.pl, but have ground to a halt without success and need some hints.

The following is the scenario I'm trying to achieve:

Most users (several hundred) would have unauthenticated access to
most groups, access restrictions to the server being implemented by firewalls
etc. (although it would be nice to add some authentication by domain for the
icing on the cake).  In addition to the default unauthenticated access, small
groups of users would need additional access to a selection of additional
groups.  Each group may have overlapping populations of users.

I'd like users not to be prompted for username/password unless they
specifically attempt to access one of the protected groups.

I've been looking at the perl authentication but am confused.  So far I've
discovered that I need to set the perl authentication switch to 'true' in
inn.conf.

My questions are these:

1. Is it possible to achieve what I'm after using perl authentication?  I'm
beginning to suspect that its not possible to have some users required to
provide usernames/passwords and others not required to do so.  I supose one
possibility would be to use separate servers for authenticating and
non-authenticating users.

2. I've been trying to demonstrate that the 'authenticate' subroutine runs
when I try to connect to the server.  I attempted to print out the keys and
values of the %attributes hash array, but I didn't capture any results or
errors even when I opened a new file to output this to.  Apart from enabling
perl authorisation in inn.conf is there anything else I need to do to turn
this system on.  (I noticed that with perl authentication on, I can't telnet
into the server on port 119 at all.  It just drops the connection without
giving me the signon message.

Anyway, apologies for the length of this message.

Any help would be gratefully accepted.

Regards to all,

Tim Pennick

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads