Article View: news.software.nntp
Article #66757Re: Problem using reject_with: in access block
From: Jeffrey M. Vinocur
Date: Wed, 01 Oct 2003 10:35
Date: Wed, 01 Oct 2003 10:35
31 lines
2329 bytes
2329 bytes
In article <blcet1$jkl$1@antonio.escomposlinux.org>, Antonio <antonio@escomposlinux.org> wrote: > >Hi. I am trying to add new functionality to my readers.conf file (I'm >using inn 2.4) by using the reject_with: feature in one of my access >blocks. Keep in mind that most clients are prepared to handle a 480 authentication required message (which they will get if all of your auth blocks have an auth line and no res line) by prompting the user for appropriate information. You probably want to save reject_with for when you want to permanently deny someone for some reason. >Well, every user conecting to my server must provide a suitable >user/pass pair; otherwise he won't be able to read/post at all. I >have created several user/pass databases so that each user is matched >to one of several existing "auth:" blocks and given different access >rights to the server by means of corresponding "access:" blocks. Ah ha, here's your problem. If all of the password databases apply to all IP addresses, you need to put them all in a single auth block. (You can have multiple lines in an auth block.) Note that you probably don't want to be using the key: parameter. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<blealt$3rf$1@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mailReferences:
<blcet1$jkl$1@antonio.escomposlinux.org>Show Full Headers
Complete Article Headers
Message-ID: <blealt$3rf$1@puck.litech.org> Subject: Re: Problem using reject_with: in access block Date: Wed, 01 Oct 2003 10:35:41 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <blcet1$jkl$1@antonio.escomposlinux.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 31 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1065004541 3951 66.218.0.75 (1 Oct 2003 10:35:41 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Wed, 1 Oct 2003 10:35:41 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)