Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVDdw-00040H-Ar for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Apr 2013 04:18:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UVDdv-0007Ly-QF for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Apr 2013 04:18:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UV844-00028K-Df for pgsql-bugs@postgresql.org; Wed, 24 Apr 2013 22:21:24 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UV83v-0000mI-HI for pgsql-bugs@postgresql.org; Wed, 24 Apr 2013 22:21:24 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UV83r-0003TB-PR for pgsql-bugs@postgresql.org; Wed, 24 Apr 2013 22:21:12 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1UV83m-0001Fj-2r for pgsql-bugs@postgresql.org; Wed, 24 Apr 2013 22:21:06 +0000 Date: Wed, 24 Apr 2013 22:21:06 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8114: Peer authentication in cgi-perl To: pgsql-bugs@postgresql.org From: support@securenetterm.com X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8114 Logged by: Kenneth Robinette Email address: support@securenetterm.com PostgreSQL version: 9.1.0 Operating system: Ubuntu 12.04.2 Description:=20=20=20=20=20=20=20=20 I am having the same problem described in: 5.1.0.14.2.20020213180151.04bd2250@pop.ntlworld.com=20 The cgi-script I am using works on a CentOS 6.4 system using PostgreSQL version 8.4 and several older centos/redhat systems. The pg_hba.conf and postgresql.conf are setup the same on all systems. When trying to connect On the Ubuntu 12.04.2 system, the database connect is aborted. The following messages are in the postgresql-9.1-main.log. The real username has been replaced by xxxxxxxx: 2013-04-24 16:23:18 CDT LOG: provided user name (xxxxxxxx) and authenticated user name (www-data) do not match 2013-04-24 16:23:18 CDT FATAL: Peer authentication failed for user "xxxxxxxx" --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs