X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0A148D1B49B for ; Tue, 30 Dec 2003 01:12:52 +0000 (GMT) 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 17121-09 for ; Mon, 29 Dec 2003 21:12:06 -0400 (AST) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by svr1.postgresql.org (Postfix) with ESMTP id 05E16D1B49D for ; Mon, 29 Dec 2003 21:12:02 -0400 (AST) Received: from lfix.demon.co.uk ([80.177.205.209] helo=cerberus.lfix.co.uk) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 1Ab8QW-000I5T-0X; Tue, 30 Dec 2003 01:12:04 +0000 Received: from linda.lfix.co.uk ([192.168.1.1]) by cerberus.lfix.co.uk with esmtp (Exim 4.30) id 1Ab8QS-0002zb-As; Tue, 30 Dec 2003 01:12:00 +0000 Subject: Re: trouble with pgaccess From: Oliver Elphick To: davadie philippe Cc: pgsql-interfaces@postgresql.org In-Reply-To: <1072736391.7028.6.camel@mk92.nioc.maison> References: <1072736391.7028.6.camel@mk92.nioc.maison> Content-Type: text/plain Organization: LFIX Limited Message-Id: <1072746690.16441.14.camel@linda.lfix.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 30 Dec 2003 01:11:30 +0000 Content-Transfer-Encoding: 7bit X-LFIX-MailScanner: Found to be clean X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/57 X-Sequence-Number: 4666 On Mon, 2003-12-29 at 22:19, davadie philippe wrote: > Hi everybody ! > > Excuse my poor english, since I'm french, and the dummy question I will > ask, since I'm new using pgaccess and postgresql. > I have successfully installed pgaccess, but when I try to connect to > the databses I have created, I get the message : > > Error trying to connect to database 'garde' on host > PostgreSQL error message : Connection to database failed > FATAL : IDENT authentication failed for user "philippe" > > User philippe has been created by superuser postgres and is granted for > this database. Access control is governed by the file $PGDATA/pg_hba.conf. The relevant line in that file is specifying "ident sameuser" authentication, which means that it expects the postgresql user to have the same name as the unix user; if your unix login were "philippe" it would work. Create a postgresql user with the same name as your login and try again. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Give to him that asketh thee, and from him that would borrow of thee turn not away." Matthew 5:42