From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: ident inconsistency |
Date: | 2003-01-04 03:15:08 |
Message-ID: | 20030104031508.GA1579@wolff.to |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jan 02, 2003 at 23:49:43 -0500,
Ron Peterson <rpeterso(at)mtholyoke(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | RFLM101 | 2003-01-04 09:18:00 | Query speed |
Previous Message | Tom Lane | 2003-01-04 01:54:39 | Re: select distinct point? |