Re: pg_hba.conf + all + trust = Ident authentication failed

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: ow <oneway_111(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_hba.conf + all + trust = Ident authentication failed
Date: 2006-03-06 15:05:46
Message-ID: 20060306070336.P410@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 6 Mar 2006, ow wrote:

> PostgreSQL 8.1.0 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.0.3 20051111
> (prerelease) (Debian 4.0.2-4)
>
>
> Hi,
>
> Can't get pg_hba.conf with trust to work:
>
> testusr(at)test1:~$ psql -U postgres
> psql: FATAL: Ident authentication failed for user "postgres"

Are you sure you're using the configuration below (ie, you're editing the
correct file and have at least used sighup after the change)? It sure
looks like the server thinks the method is ident which would be the
default for the debian packages I think.

> Any ideas? Thanks in advance
>
> --------------------------------------------------------------------------
>
> $ cat pg_hba.conf
> # TYPE DATABASE USER CIDR-ADDRESS METHOD
>
> # "local" is for Unix domain socket connections only
> local all all trust
> # IPv4 local connections:
> host all all 127.0.0.1/32 trust
> # IPv6 local connections:
> host all all ::1/128 trust
>
> --------------------------------------------------------------------------
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andy Shellam 2006-03-06 15:06:45 Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
Previous Message ow 2006-03-06 13:59:01 Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"