Re: ident inconsistency - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: ident inconsistency
Date
Msg-id 20030104031508.GA1579@wolff.to
Whole thread Raw
In response to ident inconsistency  (Ron Peterson <rpeterso@mtholyoke.edu>)
List pgsql-general
On Thu, Jan 02, 2003 at 23:49:43 -0500,
  Ron Peterson <rpeterso@mtholyoke.edu> wrote:
> ident authentication appears to work inconsistently between debian
> stable (7.2.1) and the 7.2.3 postgresql I installed from source on a Red
> Hat 7.3 machine.
>
> Debian doesn't require I run an ident server.  My pg_hba.conf contains:
>
> local all ident sameuser

The above uses domain sockets for connecting to the database and
getpeereuid is used to identify who is connecting.

>
> On the installation I compiled myself, that doesn't work.  Instead I
> must run an ident server, and do:
>
> host all 127.0.0.1 0.0.0.0 ident sameuser

The above uses the loopback interface and an ident server to obtain
who is connecting.

Both forms should be usable on either system.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: select distinct point?
Next
From: Lincoln Yeoh
Date:
Subject: select for update with left outer joins?