Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 642D9B5D95B for ; Mon, 26 Sep 2011 15:58:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 42792-08 for ; Mon, 26 Sep 2011 18:58:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from a2s36.a2hosting.com (a2s36.a2hosting.com [216.119.134.130]) by mail.postgresql.org (Postfix) with ESMTP id 3774EB5D803 for ; Mon, 26 Sep 2011 15:58:25 -0300 (ADT) Received: from adsl-98-70-97-40.tys.bellsouth.net ([98.70.97.40] helo=[10.0.0.18]) by a2s36.a2hosting.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1R8GNi-001Fvi-S3; Mon, 26 Sep 2011 14:58:23 -0400 Subject: Re: problems logging in through phpPgAdmin Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: John DeSoi In-Reply-To: <53AA753E5EA4A14784092D825AD4FD3D046D64E2@CTC3650D.campus.ctcd.org> Date: Mon, 26 Sep 2011 14:58:21 -0400 Cc: "pgsql-admin@postgresql.org" , "Hussey, Latasha" Content-Transfer-Encoding: quoted-printable Message-Id: <11CC03F4-DF27-480E-B447-287100732A6B@pgedit.com> References: <53AA753E5EA4A14784092D825AD4FD3D046D6234@CTC3650D.campus.ctcd.org> <671131D5-CF9A-4B19-8A4F-DC3352213E01@pgedit.com> <53AA753E5EA4A14784092D825AD4FD3D046D64E2@CTC3650D.campus.ctcd.org> To: "Davenport, Julie" X-Mailer: Apple Mail (2.1084) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s36.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201109/189 X-Sequence-Number: 38426 On Sep 26, 2011, at 2:19 PM, Davenport, Julie wrote: > If I use this combination: > local all all trust > host all all 127.0.0.1/32 md5 > or this: > local all all md5 > host all all 127.0.0.1/32 md5 >=20 > then we cannot login at all -- even if we put in the correct password, = we get "Login Failed" on the screen, and we just see " FATAL: password = authentication failed for user "postgres"" in the log under pg_log. And you say you tested psql from the command line like this=20 psql -U postgres -h 127.0.0.1=20 and it prompts you for the password and accepts the one you are entering = with phpPgAdmin? And PHP is running on the same server as Postgres? What is the IP address used in your phpPgAdmin configuration? If it is = not 127.0.0.1, you might need to use the explicit IP address in your = pg_hba.conf. Best, John DeSoi, Ph.D.