🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Marius Kaizerman Tue, 19 Oct 1999 00:00
problem with access to groups
#40944
Author: Marius Kaizerman
Date: Tue, 19 Oct 1999 00:00
25 lines
1218 bytes
Hi,

I want that any user from any host can access the
whole groups without a username and password
except the local.food group. I'm using inn-2.2-8
on RH6 and my nnrp.access file includes the following lines:

*:RP:::*,!local.food
*:RP:user:passwd:local.food

The result is that inn asks for a password for ANY group
accessed, and not only the local.food one, untill I'm
removing the 2nd line.

What's wrong ?

Thanks,
    Marius.






Re: problem with access to groups
#40995
Author: Etienne Gauthier
Date: Wed, 20 Oct 1999 00:00
32 lines
1716 bytes
Marius Kaizerman wrote:
> 
> Hi,
> 
> I want that any user from any host can access the
> whole groups without a username and password
> except the local.food group. I'm using inn-2.2-8
> on RH6 and my nnrp.access file includes the following lines:
> 
> *:RP:::*,!local.food
> *:RP:user:passwd:local.food
> 
> The result is that inn asks for a password for ANY group
> accessed, and not only the local.food one, untill I'm
> removing the 2nd line.
> 
> What's wrong ?
> 
> Thanks,
>     Marius.


  You should better read the nnrp.access man page. Only the last line
that correspond to the connected people will be read. So INN will always
ask for username/password
  I think INN 2.3 will come with a better handling of right access.
Then, I've read in another very recent thread that you can build your
own perl script to control accesses to newsgroups...

Etienne

Re: problem with access to groups
#41003
Author: Konrad Neitzel
Date: Thu, 21 Oct 1999 00:00
51 lines
2622 bytes
Marius Kaizerman schrieb:

> *:RP:::*,!local.food
> *:RP:user:passwd:local.food

> The result is that inn asks for a password for ANY group
> accessed, and not only the local.food one, untill I'm
> removing the 2nd line.

I understand it this way:
nnrp (That is the program that handles client connections!) goes through
the file and only takes the last matching line! And that line told him,
that everybody has Read/Post access to only local.food with
login/password: user/passwd.

Maybe I am not right all the way - but this is the way i build it up
(and it worked this way for me - but maybe I didn't found out, that it
does not do what I want and I tested my system the wrong way!).

But I got another problem: I think the man-page to nnrp says, that the
user/password ist only for Posting Access. But when clients are
connecting to my server they have to authentivate themself! 

I solved that problem only with patching nnrpd - but I don't think, that
this will be the right way! (Client is for example mxrn - server is inn
2.2). We are useing the automatic authentication with inews - so our
users are unable to "fake" articles - inews would place a "Sender:" line
in the header.

My Patch is only the altering of the "Command-list" at the beginning of
the source - I changed the "Need Authentication" Field to the values
used in inn 1.4 nnrpd...

Maybe there is someone who told me, what simple flag I have to set in
inn.conf :-)) I am really sure, that i missed something - but I am
looking for it some time and didn't find out - so i decided to patch the
nnrpd.


Greetings,

Konrad Neitzel

PS: Sorry - Normaly I did not post articles from home - so deja must do
the work ... and until now I don't know, if deja adds any lines...


 Sent via Deja.com http://www.deja.com/
 Before you buy.

Re: problem with access to groups
#41027
Author: Etienne Gauthier
Date: Thu, 21 Oct 1999 00:00
23 lines
1656 bytes
Russ Allbery wrote:
> 
> Etienne Gauthier <egauthie@capgemini.fr.nospam.nospam> writes:
> 
> > I think INN 2.3 will come with a better handling of right access.  Then,
> > I've read in another very recent thread that you can build your own perl
> > script to control accesses to newsgroups...
> 
> I think the authentication hooks were already in INN 2.2, so you can build
> a Perl script to do it with the current version of INN.
> 
> --
> Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


  Thanks a lot for this message (we will switch to INN 2.2 soon). I'll
take a look at it ASAP, but we have urgent trouble with replication
between collabra and INN (I'll post another message for this)

Regards
Etienne

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