pg_hba.conf + all + trust = Ident authentication failed for user "postgres"

From: ow <oneway_111(at)yahoo(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
Date: 2006-03-06 12:41:12
Message-ID: 20060306124112.77509.qmail@web53902.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


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"

If I do "su postgres" and then "psql -U postgres" then it does work. But I need
testusr to be able to use psql.

Installed "gidentd", rebooted psql but that did not seem to help.

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

Browse pgadmin-support by date

  From Date Subject
Next Message ow 2006-03-06 12:59:58 Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
Previous Message Rafael J. Urbina G. 2006-03-06 07:08:43 Pgadmin3 not run in Fedora Core 4