Re: "IDENT authentication failed" but I'm not using ident

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nico De Ranter <nico(at)sonycom(dot)com>
Cc: postgres-list <pgsql-admin(at)postgresql(dot)org>
Subject: Re: "IDENT authentication failed" but I'm not using ident
Date: 2004-05-19 00:19:03
Message-ID: 9460.1084925943@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Nico De Ranter <nico(at)sonycom(dot)com> writes:
> \connect: FATAL: IDENT authentication failed for user "nico"

> I changed /etc/postgresql/pg_hba.conf so it only contains
> local all all trust=20
> and restarted postgres but I still get the same error message.
> Any idea why the import complains about IDENT authentication when=20
> I'm not even using it and how to get around it?

If you're getting that message then you *are* using IDENT auth.
My bet is that you changed the wrong config file. /etc/postgresql
is not a very standard name for a Postgres data directory ...

> BTW: is there a way to create a database and then change ownership
> to somebody else?

No, but you can do it in one step.

http://www.postgresql.org/docs/7.4/static/sql-createdatabase.html

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-05-19 01:06:43 Re: Interpreting query debug output
Previous Message Steve Lane 2004-05-18 23:42:10 Interpreting query debug output