X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 47ADED1B1C8 for ; Mon, 26 Jul 2004 06:58:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 79473-02 for ; Mon, 26 Jul 2004 09:58:26 +0000 (GMT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id 1B528D1B4A2 for ; Mon, 26 Jul 2004 06:58:16 -0300 (ADT) Received: from tmsl-adsl.demon.co.uk ([80.177.114.181] helo=bacon.tmsl.demon.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 3.35 #1) id 1Bp2FR-000CCO-0Z; Mon, 26 Jul 2004 09:58:21 +0000 Date: Mon, 26 Jul 2004 10:58:19 +0100 From: Paul Thomas To: Ian Pilcher Cc: pgsql-jdbc@postgresql.org Subject: Re: Problem w/ IDENT authentication Message-ID: <20040726105819.A23822@bacon> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 In-Reply-To: ; from i.pilcher@comcast.net on Mon, Jul 26, 2004 at 09:53:38 +0100 X-Mailer: Balsa 1.2.3 Lines: 21 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/277 X-Sequence-Number: 10661 On 26/07/2004 09:53 Ian Pilcher wrote: > I am trying to set up IDENT authentication for Tomcat 5 on my Fedora > Core 2 system. I've added the appropriate line to pg_hba.conf: > > host tomcat4 tomcat4 127.0.0.1 255.255.255.255 ident sameuser > > This works as expected from a console: that's because you're connecting via tcp/ip sockets from Tomcat and unix domain sockets from psql. Personally, I find md5 + firewall more than sufficient. -- Paul Thomas +------------------------------+---------------------------------------------+ | Thomas Micro Systems Limited | Software Solutions for Business | | Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk | +------------------------------+---------------------------------------------+