From: Ian Pilcher <i.pilcher@comcast.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Problem w/ IDENT authentication
Date: Mon, 26 Jul 2004 13:23:46 -0500
Message-ID: <ce3i7j$st0$1@sea.gmane.org> (raw)
In-Reply-To: <29756.1090863711@sss.pgh.pa.us>
References: <ce2gqj$8df$1@sea.gmane.org>
<27763.1090855079@sss.pgh.pa.us>
<ce3c9f$com$1@sea.gmane.org>
<29756.1090863711@sss.pgh.pa.us>
Tom Lane wrote:
>
> 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?
>
I've recreated this problem with a very simple standalone Java program:
import java.sql.*;
import java.io.*;
public class JdbcTest
{
public static void main(String[] args) throws Exception
{
Class.forName("org.postgresql.Driver");
Connection db = DriverManager.getConnection(args[0], args[1],
args[2]);
db.close();
}
}
When I run it as tomcat4 I get the same IDENT authentication failure, so
it doesn't appear to be a Tomcat issue.
Turning on pidentd logging, it appears that it simply doesn't work for
Java processes. Insert expletive here!
Thanks for your help!
--
========================================================================
Ian Pilcher i.pilcher@comcast.net
========================================================================
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: i.pilcher@comcast.net
Subject: Re: Problem w/ IDENT authentication
In-Reply-To: <ce3i7j$st0$1@sea.gmane.org>
References: <ce2gqj$8df$1@sea.gmane.org> <27763.1090855079@sss.pgh.pa.us> <ce3c9f$com$1@sea.gmane.org> <29756.1090863711@sss.pgh.pa.us> <ce3i7j$st0$1@sea.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox