X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 557A2D1BA96 for ; Wed, 24 Sep 2003 04:07:06 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 96405-07 for ; Wed, 24 Sep 2003 01:06:56 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 3CDD8D1B9B6 for ; Wed, 24 Sep 2003 01:06:55 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h8O46riP027635; Wed, 24 Sep 2003 00:06:53 -0400 (EDT) To: Holger Jakobs Cc: pgsql-admin@postgresql.org Subject: Re: pg_hba.conf improvements In-reply-to: <200309231123.h8NBNuP12950@bg.bib.de> References: <200309231123.h8NBNuP12950@bg.bib.de> Comments: In-reply-to Holger Jakobs message dated "Tue, 23 Sep 2003 13:23:37 +0200" Date: Wed, 24 Sep 2003 00:06:53 -0400 Message-ID: <27634.1064376413@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/380 X-Sequence-Number: 10468 Holger Jakobs writes: > What about leaving it to the administrator of a system to provide a > function (either a C function in a shared lib or an executable) which > gets information passed and decides whether the access will be granted? I think this is exactly what PAM is for. Write your own authentication module, plug it in. regards, tom lane