Article View: news.software.nntp
Article #48710Its that old INN 2.3.0 authentication question again
From: Tim Pennick
Date: Wed, 11 Oct 2000 00:00
Date: Wed, 11 Oct 2000 00:00
51 lines
3143 bytes
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
Technical Details
Message-ID:
<slrn8u8ua0.50g.tpennick@extra.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-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn8u8ua0.50g.tpennick@extra.axion.bt.co.uk> Subject: Its that old INN 2.3.0 authentication question again Date: Wed, 11 Oct 2000 00:00:00 +0000 From: tpennick@extra.axion.bt.co.uk (Tim Pennick) 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: 680155637 X-Complaints-To: postmaster@axion.bt.co.uk X-Trace: pheidippides.axion.bt.co.uk 971274523 14969 132.146.88.22 (11 Oct 2000 14:28:43 GMT) Organization: BT Adastral Park, Martlesham Heath, Ipswich, UK User-Agent: slrn/0.9.6.3 (SunOS) Reply-To: Tim Pennick <tpennick@axion.bt.co.uk> NNTP-Posting-Date: 11 Oct 2000 14:28:43 GMT Newsgroups: news.software.nntp