Re: Ident authentication - Mailing list pgsql-general

From Paul Thomas
Subject Re: Ident authentication
Date
Msg-id 20050124181748.A6238@bacon
Whole thread Raw
In response to Re: Ident authentication  (Jarkko Elfving <jarelf@ebaana.net>)
List pgsql-general
On 24/01/2005 16:28 Jarkko Elfving wrote:
> On Mon, 2005-01-24 at 09:21 -0700, Michael Fuhr wrote:
> > Are you using a TCP connection or a Unix-domain socket connection?
> > If the former, do you have an IDENT server running?  If the latter,
> > what platform are you using?  Not all operating systems can pass
> > credentials over Unix-domain sockets.
> >
>
> I use FC3 with PostgreSQL 8.0. Like Tom Lane answers to change the
> method to something else I did try to set it to trust, but that's
> doesn't helps me. Now I did removed all my entrys from pg_ident.conf
> file. Here is my pg_hba.conf:
>
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>
> # "local" is for Unix domain socket connections only
> local   all         all                               ident sameuser
> local   all         jarelf                            trust
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          ident sameuser
> # IPv6 local connections:
> host    all         all         ::1/128               ident sameuser

Swap the first 2 entries round!

--
Paul Thomas
+------------------------------+-------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for Business           |
| Computer Consultants         | http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+-------------------------------------------+

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: [7.4.1] signal 11 while accesing DB
Next
From: Tom Lane
Date:
Subject: Re: [7.4.1] signal 11 while accesing DB