🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Milan Durovic Tue, 22 May 2001 21:33
inn 2.2.2 setup for nnrp.access - HELP
#9628
Author: Milan Durovic
Date: Tue, 22 May 2001 21:33
67 lines
3169 bytes
Hi!

I am new to inn program, but an experienced programmer otherwise. I am
running debian potato and I am trying to set up a news server that would
serve a couple of strictly local groups. I installed inn2 package, the
one that uses inn version 2.2.2 something.

I have a problem trying to set up access rights to these local groups.
This is what I want to achieve:

1. Everyone can read and post to groups lbc.*
2. Everyone can read group lbc.announce group
3. Only one specific user can read and post to lbc.announce group

I know about moderated groups, but that's not what I want for
lbc.announce.

Below is the nnrp.access file that I created. It's basically the default
one that comes with the distribution, I just added last 3 lines.

##  To disable posting put a space in the <user> and <pass> fields,
since
##  there is no way for client to enter one.
##
## Default is no access, no way to authentication, and no groups.
*::::!*
##  Foo, Incorporated, hosts have no password, can read anything.
#*.foo.com:Read Post:::*
## Bar, Incorporated have a separate access file that they maintain
# *.bar.com:/news/etc/customers/access.bar.com
stdin:Read Post:::*
localhost:Read Post:::*
127.0.0.1:Read Post:::*
*:RP:::lbc.*
*:R:::lbc.announce
*:RP:mainuser:hispass:lbc.announce

The problem:

I use Netscape Navigator to access the news server. When I access
lbc.announce, I get prompted for username and password and I can access
it normally. But I have a problem accessing another group, lbc.users. NN
reports that 'the newsgroup does not appear to exist on a host xxx'.

If I try to access lbc.users first I get prompted for the user name and
password.

Before this problem, my nnrp.access file did not have the last 2 lines.
I could read and post to both lbc.announce and lbc.users without any
problems.

Questions:

Why do I get prompted for the user/pass when accessing lbc.users? The
last match that is applicable to lbc.users is the line ending in
'lbc.*'?

Why cannot I access lbc.users once I have entered user/pass for
lbc.annouce and can access that other group without problems?

Please reply by email, too, as I think we don't get the feed for this
newsgroup at my work.

Thanks,

Milan
Re: inn 2.2.2 setup for nnrp.access - HELP
#9627
Author: Jeffrey M. Vinocur
Date: Wed, 23 May 2001 01:22
52 lines
2711 bytes
[ Moving this out of news.software.nn and fixing Distribution: ]

[ Reply via email as per request, please respond in the newsgroup
  as opposed to to me personally ]

In article <3B0ADB46.56E25A18@fast.fujitsu.com.au>,
Milan Durovic  <milan@fast.fujitsu.com.au> wrote:
>
>one that uses inn version 2.2.2 something.

I would strongly recommend installing a 2.3 version from source.
The nnrp.access mechanism has been replaced by a readers.conf
mechanism which is much more powerful.


>Why do I get prompted for the user/pass when accessing lbc.users? The
>last match that is applicable to lbc.users is the line ending in
>'lbc.*'?

You are not understanding the way news authentication works.  The
server does not know, in general, which group is being requested
until after the authentication phase.  That is, the server
decides based on IP and password if given what groups are
allowed, and checks that list when you attempt to access a group.
(When you use something like Netscape, all of this is hidden into
a single step.)  With nnrp.access, the server does not take the
union of all lines which apply (that is why after giving a
password you only see lbc.announce -- nothing else is listed on
the applicable line).

I'm not sure if you can get the functionality you desire out of
nnrp.access, but unless you have some reason not to, you'd
probably be better off with INN 2.3.




>Why cannot I access lbc.users once I have entered user/pass for
>lbc.annouce and can access that other group without problems?
>
>Please reply by email, too, as I think we don't get the feed for this
>newsgroup at my work.
>
>Thanks,
>
>Milan


-- 
Jeffrey M. Vinocur
jeff@litech.org
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