Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id B4F27B5DC47 for ; Thu, 18 Aug 2011 08:03:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 50012-02-8 for ; Thu, 18 Aug 2011 11:03:52 +0000 (UTC) X-Greylist: delayed 00:23:22.484796 by SQLgrey-1.7.6 Received: from slow3-v.mail.gandi.net (slow3-v.mail.gandi.net [217.70.178.89]) by mail.postgresql.org (Postfix) with ESMTP id 4423FB5DC41 for ; Thu, 18 Aug 2011 08:03:52 -0300 (ADT) X-WhiteListed: mail was accepted with no delay X-WhiteListed: mail was accepted with no delay Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by slow3-v.mail.gandi.net (Postfix) with ESMTP id E45A64FDBD for ; Thu, 18 Aug 2011 12:40:27 +0200 (CEST) X-Originating-IP: 217.70.178.137 Received: from mfilter8-d.gandi.net (mfilter8-d.gandi.net [217.70.178.137]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 2054A1720AE; Thu, 18 Aug 2011 12:40:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter8-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter8-d.gandi.net (mfilter8-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 3HqR+TepvoVd; Thu, 18 Aug 2011 12:40:17 +0200 (CEST) X-Originating-IP: 88.164.23.161 Received: from [192.168.0.11] (fb.ioguix.net [88.164.23.161]) (Authenticated sender: jg@derorthais.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 1032A172081; Thu, 18 Aug 2011 12:40:16 +0200 (CEST) Message-ID: <4E4CEC10.4060905@free.fr> Date: Thu, 18 Aug 2011 12:40:16 +0200 From: "Jehan-Guillaume (ioguix) de Rorthais" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11 MIME-Version: 1.0 To: Tom Browder CC: pgsql-admin@postgresql.org Subject: Re: Unable to login with phppgadmin on a remote host References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201108/161 X-Sequence-Number: 38148 Hello, On 18/08/2011 01:20, Tom Browder wrote: > [...] > > I have these lines in my pg_hba.conf file: > > host all myuser /32 md5 > host all postgres /32 md5 > > However, I cannot successfully login with phppgadmin on the remote host. > > I always get "login failed" whether I use myuser or postgres. Do you have errors in your postgresql log files about this connections attempts ? > > I have made these changes in /etc/phppgadmin files: > > apache.conf: > > config.inc.php: > $conf['servers'][0]['desc'] = 'mars-postgresql'; > $conf['servers'][0]['host'] = 'local host ip address...'; > //$conf['extra_login_security'] = true; > $conf['extra_login_security'] = false; What do you mean by 'local host ip address...' ? 127.0.0.1 ? Please, show us your full pg_hba.conf (without comments and public IP address). > > I have asked this of the phppgadmin group but I think it may be my > postgresql setup. Looks like I missed it...where ? > Any help is appreciated. > > Best regards, > > -Tom >