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 DEBBED1B56F for ; Mon, 26 Jul 2004 14:41:55 -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 15810-03 for ; Mon, 26 Jul 2004 17:41:55 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id DAA05D1B56C for ; Mon, 26 Jul 2004 14:41:51 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6QHfpJq029757; Mon, 26 Jul 2004 13:41:51 -0400 (EDT) To: Ian Pilcher Cc: pgsql-jdbc@postgresql.org Subject: Re: Problem w/ IDENT authentication In-reply-to: References: <27763.1090855079@sss.pgh.pa.us> Comments: In-reply-to Ian Pilcher message dated "Mon, 26 Jul 2004 11:42:23 -0500" Date: Mon, 26 Jul 2004 13:41:51 -0400 Message-ID: <29756.1090863711@sss.pgh.pa.us> From: Tom Lane 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/294 X-Sequence-Number: 10678 Ian Pilcher writes: > All I see in the syslog for a failed connection is: > Jul 26 11:22:48 home postgres[24968]: [30-1] LOG: 00000: connection > received: host=127.0.0.1 port=34676 > Jul 26 11:22:48 home postgres[24968]: [30-2] LOCATION: BackendFork, > postmaster.c:2395 > Jul 26 11:22:51 home postgres[24968]: [31-1] FATAL: 28000: IDENT > authentication failed for user "tomcat4" > Jul 26 11:22:51 home postgres[24968]: [31-2] LOCATION: auth_failed, > auth.c:395 > This doesn't tell me anything that I didn't already know. Sometimes life's like that ;-). But actually this does tell something: the lack of any additional log message implies that we did get a response from the ident server, since ident_inet() will bleat about connection failures and so forth. What I conclude is that ident is not reporting tomcat4 as the owner of the tomcat process, but something else. Perhaps root? How is the tomcat stuff getting launched, anyway? regards, tom lane