X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9D8B5D1B18F for ; Tue, 18 May 2004 21:19:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 55522-08 for ; Tue, 18 May 2004 21:19:04 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B4A21D1B16B for ; Tue, 18 May 2004 21:19:00 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i4J0J3Ma009461; Tue, 18 May 2004 20:19:04 -0400 (EDT) To: Nico De Ranter Cc: postgres-list Subject: Re: "IDENT authentication failed" but I'm not using ident In-reply-to: <1084883321.13024.115.camel@gorilla.sonytel.be> References: <1084883321.13024.115.camel@gorilla.sonytel.be> Comments: In-reply-to Nico De Ranter message dated "Tue, 18 May 2004 14:28:42 +0200" Date: Tue, 18 May 2004 20:19:03 -0400 Message-ID: <9460.1084925943@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/186 X-Sequence-Number: 13502 Nico De Ranter 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