From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andrew Brunette <brunette(dot)andrew(at)gmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Connection problems with jdbc |
Date: | 2010-04-28 00:22:21 |
Message-ID: | 29583.1272414141@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Andrew Brunette <brunette(dot)andrew(at)gmail(dot)com> writes:
> When I run this, I get the message, "FATAL: Ident authentication failed for
> user "abrunette"". Testing seems to indicate that this message could come
> from a variety of sources. Can anyone suggest what I might be doing wrong?
The server's pg_hba.conf is set to demand ident authentication, not
password authentication, and your client code is not actually running
as user abrunette (or at least isn't connecting over a pathway that
would allow that to be determined reliably).
See
http://www.postgresql.org/docs/8.4/static/client-authentication.html
for info about reconfiguring to use password authentication.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Olivier Bouiron | 2010-04-28 07:45:11 | Re: [Jdbc-commits] JDBC and real values returned by Postgres |
Previous Message | Oliver Jowett | 2010-04-28 00:04:00 | Re: [Jdbc-commits] JDBC and real values returned by Postgres |