🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66754

Problem using reject_with: in access block

#66754
From: Antonio
Date: Tue, 30 Sep 2003 17:35
48 lines
2609 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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.

Now I'd like to match all users failing to provide a valid user/pass
to a new auth/acess block pair so that they are automatically terminated
with a "Permission denied" message plus a "reason". I understand this
can be accomplished by using a "reject as:" line in the new access block.

However the new auth/acess blocks I've added doesn't seem to work. These
are the new blocks:

auth "<unidentified>" {
    key: unindentified
    hosts: "*"
}
	
access "unidentified" {
    key: unidentified
    reject_with: "My reason message"
}
	
Should these two new blocks be first of last in the file?

What am I doing wrong?

- -- 
Un saludo.
Antonio <antonio@escomposlinux.org>
Clave pública gnupg en pgp.escomposlinux.org
Usuario Linux registrado nº 189536

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/eb7i2t+2vrJ8PLURAiHtAJ90ai+Zuajrd3dDdvJPmgc47ztU2wCeOMBq
YqCLJRObmNsktKpr/k4vLHM=
=YTwH
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <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!newsfeed.hal-mli.net!feeder2.hal-mli.net!antonio.escomposlinux.org!escomposlinux.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <blcet1$jkl$1@antonio.escomposlinux.org>
Subject: Problem using reject_with: in access block
Date: Tue, 30 Sep 2003 17:35:29 +0000
From: Antonio <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!newsfeed.hal-mli.net!feeder2.hal-mli.net!antonio.escomposlinux.org!escomposlinux.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Ecolnet
Lines: 48
NNTP-Posting-Host: tatil.mi.casa
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: antonio.escomposlinux.org 1064943329 20117 192.168.0.3 (30 Sep 2003
X-Complaints-To: newsmater@antonio.escomposlinux.org
NNTP-Posting-Date: Tue, 30 Sep 2003 17:35:29 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (Linux)