Re: BUG #1013: Authentication doesn't work - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1013: Authentication doesn't work
Date
Msg-id 19461.1071758847@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1013: Authentication doesn't work  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
List pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> When I start up psql, if I am not not logged in as the owner of the database, I get the following error message, even
ifI type the correct password: 
> psql: FATAL:  IDENT authentication failed for user "keith"

This is not a bug: it's the way it's supposed to work.

If you want to use passwords for authentication, you need to select a
password-based method in pg_hba.conf.  Not IDENT.

Read the administrator's guide for more detail:
http://www.postgresql.org/docs/7.4/static/client-authentication.html

            regards, tom lane

pgsql-bugs by date:

Previous
From: Puneet Paul
Date:
Subject: plpgsql Integer Concat To String
Next
From: Tom Lane
Date:
Subject: Re: SELECT FOR UPDATE differs inside and outside a pl/pgsql