Re: Ident authentication

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: Jarkko Elfving <jarelf(at)ebaana(dot)net>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>, Michael Fuhr <mike(at)fuhr(dot)org>
Subject: Re: Ident authentication
Date: 2005-01-24 18:17:48
Message-ID: 20050124181748.A6238@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 |
+------------------------------+-------------------------------------------+

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-01-24 18:19:01 Re: [7.4.1] signal 11 while accesing DB
Previous Message Niederland 2005-01-24 18:08:08 postgresql.conf - add_missing_from