I am replying to this with how i solved my problem so that people searching
the mailing list later will have better luck at finding the answer i was
looking for.

1.) I modified access.conf so that by default, no groups show up. Then added
each newsgroup so that it acts as its own usergroup...

## DOMAINS
*.*.*.*:read,post,:$lookup$:$lookup$:!*:

## PROTECTED GROUPS
*:read,post:,groups=test.group.somename::test.group.somename:add
*:read,post:,groups=test.group.othername::test.group.othername:add
*:read,post:,groups=test.group.thirdname::test.group.thirdname:add


2.) i then created users with.....
"tellnews -adduser user1 user1pword test.group.somename"
"tellnews -adduser user2 user1pword
test.group.othername,test.group.thirdname"

now when a user logs in they only see a list of newgroups that they will
have permission to subscribe to.

Mike Kangas

P.S. - this is a pretty nice product you guys!

-----Original Message-----
From: NetWin Support Auckland [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 4:58 PM
To: Mike Kangas
Subject: Re: User config question.....


At 01:38 PM 6/8/01 -0500, you wrote:
 >I just downloaded this thing and got it running right away. NICE :-)
 >
 >Here is what I am trying to do but can't get it goin'.
 >
 >I want a user to login to the server. The server does not base it's access
 >on the IP but the user/pass. It authenticates the users user/pass and only
 >displays the newsgroups which i give them permission to read/post.
 >
 >Here is what I have been trying but does not work as I would have
 >expected...
 >1.) Configure->Access has one line "*:read,post,:::*:
 >     I have to leave this open to any IP because I don't know where my
users
 >will be coming from.
 >2.) Configure->UserGroups has one line "groups=TestGrp  test.group"
 >3.) Configure->Users
 >     Username: testuser
 >     Password: testpass
 >     Web Manager Access: None
 >     Admin News Groups:
 >     Description:
 >     User Groups: TestGrp
 >
 >With this set up I want the testuser to be able to subscribe to test.group
 >and nothing else.
 >
 >Thanks for any help/advice...

I recommend you edit access.conf manually rather than with
the GUI.  It is more complex but it's easier for us to tell you how to
change it to do what you want, and once you understand it it's easier
for you too.

So have a look at http://netwinsite.com/dnews/access.htm

And if you can't find an example that does what you
want send us your
          access.conf
and     users.dat

And we'll modify them to work as you request (include
a detailed description of what you want it to do)

                  ChrisP.


Reply via email to