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 7D588D1B3A8 for ; Wed, 21 Jul 2004 23:27:23 -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 66283-05 for ; Thu, 22 Jul 2004 02:27:20 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 123AFD1B38A for ; Wed, 21 Jul 2004 23:27:14 -0300 (ADT) Received: from flood.opencloud.co.nz ([192.168.0.31] helo=opencloud.com) by yass.opencloud.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 1BnTIf-0006Ft-00; Thu, 22 Jul 2004 14:27:13 +1200 Message-ID: <40FF25FF.6030307@opencloud.com> Date: Thu, 22 Jul 2004 14:27:11 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Blaine Simpson Cc: "pgsql-jdbc@postgresql.org" Subject: Re: JDBC connection issue References: <581C48EBC132FF459E62A6809D0D72AE22C749@mail.sharedmarketing.com> <1ac22fd7.0407190027.53d75925@posting.google.com> <40FEE48C.3010208@admc.com> <40FEEFB8.8080603@admc.com> <40FEF36C.8060201@opencloud.com> <40FEF63D.1000503@admc.com> <40FEFAB6.2040304@opencloud.com> <40FEFF0E.6090807@admc.com> In-Reply-To: <40FEFF0E.6090807@admc.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/262 X-Sequence-Number: 10646 Blaine Simpson wrote: > Oliver Jowett wrote: > >> Blaine Simpson wrote: >> >>> Oliver Jowett wrote: >>> >>>> Blaine Simpson wrote: >>>> >>>>> You don't need an ident server if you use "md5", you do need an >>>>> ident server if you >>>>> use "trust". To reiterate -- the second half of this statement is wrong. > The reason I question the implication is not that I can't read, but > because I have tried to use > psql (not JDBC) over tcpip sockets with "ident", and, what do you know, > just like Kris said, > there were system log messages about ident failures. This is because > identd is disabled on > our servers and blocked by our firewalls. Sure -- to use ident authentication over TCP/IP, you need an ident server. There's no disagreement there. But trust authentication is a completely separate mechanism. It does not require an ident server. To make sure I wasn't going crazy, I just doublechecked against the 7.4.1 server here. It does not make outgoing ident connections when accepting connections from an IP that is configured for 'trust'. >>> But, as I've found in practice, and as Kris Jurka has pointed out, >>> you do have to satisfy ident >>> protocol requirements to use trust with network sockets. [... more about ident authentication needing an ident server ...] I'm not disagreeing with you about ident authentication -- it's trust authentication we're talking about. -O