Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 437
  • Last Modified:

News Servers

Running Red Hat 4.0 with INN 1.4, NNTP, NNRP.

I have moderated and un-moderated local news groups (with no feed, a purely local news server).  This server is open to individuals who a) know of its existence and b) have the right user name and password.

In the unmoderated newsgroups, after supplying the proper username & password, I am able to read, however when I go to post I get an error 480 Authorization required error message.

Here is my nnrp.access file:

*:Read Post:john:doe:ps*
*:Read Post:bob:smith:sm*

What's wrong with this picture?
0
sba
Asked:
sba
1 Solution
 
mstongeCommented:
There is nothing wrong with the lines above but I suspect that you have other entries bellow that ovewrite the previous entries.  Remember that the last entries count.  Personnaly, and I don't know if it would work on your site, I prefer to use permission given by hosts so the user does not have to supply a password.  It works for me because the IP's remain static so I always know who is where.

In your case, I suspect that you would have put:

*:Read:john:doe:* somewhere bellow the first entry which would overwrite the first one.  One way to get around this is to put a default at the beginning like

*:Read:::*

before you start to enumerate your users but after the

*:: -no- : -no- :!*      

which is the overall default.  Actually, in this case you dont need this last line.


Hope this helps

Marc
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now