🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66760

Re: Problem using reject_with: in access block

#66760
From: Antonio
Date: Wed, 01 Oct 2003 17:39
59 lines
2994 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Wed, 1 Oct 2003 10:35:41 +0000 (UTC), a
 Jeffrey M. Vinocur <jeff@litech.org> le dio por escribir:

> 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.)

Ok, so you suggest having multiple "auth:" lines within the same auth
block instead of having several auth blocks (which would greatly
simplify my present scheme). The problem is I am granting my users 
different access rights as their authentication data match one out of
three existing databases and don't know what an access block for such 
auth block as you propose would look like.

This would be the auth block you propose, with several auth lines:

auth "whatever" {
	hosts: "*"
	auth: "authenticator_1"
	auth: "authenticator_2"
	auth: "authenticator_3"
}

So we have three groups of users matching three different databases. How
can I give them different access rights?

Could I give each "auth:" line a "default:" value and them write an
access block for each? Like this:

auth "whatever" {
	auth: "authenticator_1"
	default: "group_1"
	auth: "authenticator_2"
	default: "group_2"
	auth: "authenticator_3"
	default: "group_3"
}

and then have three access blocks assigning each group different rights
(access "group_1", access "group_2" and access "group_3")?

Thanks in advance ;-)

- -- 
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/exFv2t+2vrJ8PLURAqU7AJ9aWEX07GGcjqqTCDhb5d21tVs+fACbBdkw
IPFCxBKRDfe9ztZSfC7yjjc=
=/5IW
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <blf3hf$bk7$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!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!east.cox.net!peer01.cox.net!cox.net!antonio.escomposlinux.org!escomposlinux.org!not-for-mail
References: <blcet1$jkl$1@antonio.escomposlinux.org> <blealt$3rf$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <blf3hf$bk7$1@antonio.escomposlinux.org>
Subject: Re: Problem using reject_with: in access block
Date: Wed, 01 Oct 2003 17:39:59 +0000
From: Antonio <antonio@escomposlinux.org>
References: <blcet1$jkl$1@antonio.escomposlinux.org> <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!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!east.cox.net!peer01.cox.net!cox.net!antonio.escomposlinux.org!escomposlinux.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Ecolnet
Lines: 59
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 1065029999 11911 192.168.0.3 (1 Oct 2003
X-Complaints-To: newsmater@antonio.escomposlinux.org
NNTP-Posting-Date: Wed, 1 Oct 2003 17:39:59 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (Linux)