Re: Permissions to users ??? (FATAL: Ident authentication failed for user) - Mailing list pgsql-novice

From Tom Lane
Subject Re: Permissions to users ??? (FATAL: Ident authentication failed for user)
Date
Msg-id 19976.1142114614@sss.pgh.pa.us
Whole thread Raw
In response to Permissions to users ??? (FATAL: Ident authentication failed for user)  ("Ronni" <rofe@mailme.dk>)
Responses Re: Permissions to users ??? (FATAL: Ident authentication  ("Ronni" <rofe@mailme.dk>)
List pgsql-novice
"Ronni" <rofe@mailme.dk> writes:
> I then created a database called wt, and added the following to pg_hba.conf:
> host    wt          wt_admin    127.0.0.1/32          md5
> host    wt          wt_public   127.0.0.1/32          md5

> Then restarted postgresql and tried to login with:
> psql -U wt_admin -W wt
> but I get the following error:
> psql: FATAL:  Ident authentication failed for user "wt_admin"

Where did you put those lines in the pg_hba file?  I'll bet they are
after a more general line that specifies ident authorization.  pg_hba
is order-sensitive, see the docs.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Ronni"
Date:
Subject: Permissions to users ??? (FATAL: Ident authentication failed for user)
Next
From: "Ronni"
Date:
Subject: Re: Permissions to users ??? (FATAL: Ident authentication