pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ow <oneway_111@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
Date: Mon, 6 Mar 2006 05:02:16 -0800 (PST)
Message-ID: <20060306130216.54868.qmail@web53906.mail.yahoo.com> (raw)

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@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 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (9+ messages)  latest in thread

Message-ID: <20060306130216.54868.qmail@web53906.mail.yahoo.com>
Permalink:  ../20060306130216.54868.qmail@web53906.mail.yahoo.com/
Also on:    postgresql.org/message-id/20060306130216.54868.qmail@web53906.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oneway_111@yahoo.com
  Subject: Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
  In-Reply-To: <20060306130216.54868.qmail@web53906.mail.yahoo.com>
  References: <20060306130216.54868.qmail@web53906.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox