🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58185

diablo vserver config precedence problem

#58185
From: Peter Gradwell
Date: Tue, 16 Apr 2002 08:34
82 lines
3309 bytes
Hello,

I'm setting up a new diablo rig. I want two vservers "pinews" which
will be a can't do anything until login, then read & post server, and
a second "punews" which will be a public readonly, no login server.

At the moment, pinews is allowing read only access and then, on login,
it's allowing post access too. It seems to be tied to th punews
readonly config.

What seems to be happening is that the machine is defaulting to the
punews readerdef unless a user actually logs in. It's as though the
punews is not restricting itself to the punews vserver.

I've defined the vservers as follows:

## virtual server called news.gradwell.net / 195.149.39.13

vserverdef pinews
  hostname     news.gradwell.net
  newsadmin    newsmaster@gradwell.net
  abuseto      abuse@gradwell.net
  cryptpw      w!bble
  interface    195.149.39.13
end

## virtual server called pubnews.gradwell.net /  195.149.39.138
##
vserverdef punews
  hostname     pubnews.gradwell.net
  newsadmin    newsmaster@gradwell.net
  abuseto      abuse@gradwell.net
  cryptpw      w!bble
  interface    195.149.39.138
end

my reader defs are as follows (only top half is listed):

readerdef pubnews
  read                 yes
  post                 no
  feed                 no
  status               no  
  groups               lusers
  vserver              punews

readerdef othernews
  read                 yes
  post                 yes
  feed                 no
  status               no 
  auth                 bofhusers
  groups               bofhen
  vserver              pinews

readerdef privnews
  read                 yes
  post                 yes
  feed                 no
  status               no
  auth                 paid
  groups              lusers
  vserver              pinews

my access lines are:

access *                        pubnews
access *                        othernews
access *                        privnews

If anyone has a clue how to completely seperate the two vservers, I'd
be really grateful. Or even stop the pubnews readerdef being used on
pinews vserver?

many thanks
peter


-- 
peter gradwell. gradwell dot com Ltd. http://www.gradwell.com/
engineering & hosting services for email, web and usenet 
Technical Details
Message-ID: <vaonbuk5v7hdnubdst6t0o1e3fgk1g8gc2@localhost>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!news-feed.riddles.org.uk!news-peer.gradwell.net!195.149.39.13.MISMATCH!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <vaonbuk5v7hdnubdst6t0o1e3fgk1g8gc2@localhost>
Subject: diablo vserver config precedence problem
Date: Tue, 16 Apr 2002 09:34:40 +0100
From: Peter Gradwell <peter@gradwell.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!news-feed.riddles.org.uk!news-peer.gradwell.net!195.149.39.13.MISMATCH!not-for-mail
Newsgroups: news.software.nntp
Organization: gradwell dot com Limited
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 81
NNTP-Posting-Date: 16 Apr 2002 08:34:40 GMT
NNTP-Posting-Host: ad1b7211.news.gradwell.net
X-Trace: DXC=j:2Pndhd_Z=\;R8gW`31M;II:RfjGYo<=J=?19gPF4S17\<NaRX]Bb=kXO9V4H]ah2YiB8ZTkF5^8
X-Complaints-To: abuse@gradwell.net