pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Morozovsky <marck@rinet.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: Authentication problem
Date: Wed, 06 Mar 2002 11:27:12 -0500
Message-ID: <23119.1015432032@sss.pgh.pa.us> (raw)
In-Reply-To: <20020306161647.U67935-100000@woozle.rinet.ru>
References: <20020306161647.U67935-100000@woozle.rinet.ru>

Dmitry Morozovsky <marck@rinet.ru> writes:
> 	There is no "fall-through" or "backup": if one record is chosen
> 	and the authentication fails, the following records are not
> 	considered.

> Are there any plans to loose this restriction?

No.  I don't believe we could count on clients to respond to multiple
authentication challenges of different types.

> It would be very useful to use e.g.

> local	all		ident		admin
> local	sameuser	ident		sameuser
> local	all		password	passwd.user

The "sameuser" part of this works now, since sameuser is a record
matching constraint, not an authentication test.

There has been some talk of adding a more flexible username-matching
field to pg_hba (whereupon the file name would be inappropriate ;-))
but no one's really done any work on it.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <23119.1015432032@sss.pgh.pa.us>
Permalink:  ../23119.1015432032@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23119.1015432032@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, marck@rinet.ru
  Subject: Re: Authentication problem
  In-Reply-To: <23119.1015432032@sss.pgh.pa.us>
  References: <20020306161647.U67935-100000@woozle.rinet.ru> <23119.1015432032@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox