Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id E5C8363776A for ; Thu, 26 Nov 2009 11:38:30 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95311-03 for ; Thu, 26 Nov 2009 15:38:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id 9EE77633D26 for ; Thu, 26 Nov 2009 11:38:22 -0400 (AST) Received: (qmail 28212 invoked by uid 512); 26 Nov 2009 15:38:18 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 26 Nov 2009 15:38:18 -0000 Received: from unknown (HELO ?192.168.24.53?) (121.102.63.45) by sd.tpf.co.jp with SMTP; 26 Nov 2009 15:38:18 -0000 Message-ID: <4B0EA0E8.30001@tpf.co.jp> Date: Fri, 27 Nov 2009 00:38:16 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Chris Davis CC: pgsql-odbc@postgresql.org Subject: Re: md5 authentication issues with psqlODBC driver for Windows References: <174325.97827.qm@web112010.mail.gq1.yahoo.com> In-Reply-To: <174325.97827.qm@web112010.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.117 tagged_above=-10 required=5 tests=BAYES_00=-2.599, DNS_FROM_RFC_BOGUSMX=1.482 X-Spam-Level: X-Archive-Number: 200911/74 X-Sequence-Number: 10123 Chris Davis wrote: > I've been running into an issue where I get an error "password authentication failed" while using the psql ODBC driver for Windows, with the database residing on a Linux machine. > > I know my current setup is (relatively) correct since: > 1) I've previously used a JDBC driver with postgres and md5 authentication, with no problems (with Linux on both client and server) > 2) In Windows I can look at the ODBC sources and always verify that I can connect to the database > 3) I'm able to fix the problem by using trust instead of md5 authentication > > Basically, I'm using the driver to connect the statistics program SPSS to a database. I can always connect to the database and see the tables, but the problem occurs when I try to make a query. The first time might work and actually return results, but after that, I consistently get the "password authentication failed" error. Could you send me the Mylog output of the error ? regards, Hiroshi Inoue