Re: Permissions to users ??? (FATAL: Ident authentication failed for user)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ronni" <rofe(at)mailme(dot)dk>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Permissions to users ??? (FATAL: Ident authentication failed for user)
Date: 2006-03-11 22:03:34
Message-ID: 19976.1142114614@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Ronni" <rofe(at)mailme(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ronni 2006-03-11 22:56:53 Re: Permissions to users ??? (FATAL: Ident authentication
Previous Message Ronni 2006-03-11 19:26:21 Permissions to users ??? (FATAL: Ident authentication failed for user)