From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nico De Ranter <nico@sonycom.com>
Cc: postgres-list <pgsql-admin@postgresql.org>
Subject: Re: "IDENT authentication failed" but I'm not using ident
Date: Tue, 18 May 2004 20:19:03 -0400
Message-ID: <9460.1084925943@sss.pgh.pa.us> (raw)
In-Reply-To: <1084883321.13024.115.camel@gorilla.sonytel.be>
References: <1084883321.13024.115.camel@gorilla.sonytel.be>
Nico De Ranter <nico@sonycom.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, nico@sonycom.com
Subject: Re: "IDENT authentication failed" but I'm not using ident
In-Reply-To: <9460.1084925943@sss.pgh.pa.us>
References: <1084883321.13024.115.camel@gorilla.sonytel.be> <9460.1084925943@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox