Paul Thomas wrote:
>
> 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.
He's passing '-h localhost' to psql so it should be using TCP/IP.
-O