Re: Problem w/ IDENT authentication

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ian Pilcher <i(dot)pilcher(at)comcast(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem w/ IDENT authentication
Date: 2004-07-26 17:41:51
Message-ID: 29756.1090863711@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Ian Pilcher <i(dot)pilcher(at)comcast(dot)net> 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Yi LIN 2004-07-26 17:49:34 Re: conflict txns in serialization isolation
Previous Message pgsql 2004-07-26 17:41:47 Binary Cursors, and the COPY command