Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XlhGX-0005FP-Ba for pgsql-odbc@arkaria.postgresql.org; Tue, 04 Nov 2014 16:47:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XlhGW-0005ap-PN for pgsql-odbc@arkaria.postgresql.org; Tue, 04 Nov 2014 16:47:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XlhGV-0005ZJ-TL for pgsql-odbc@postgresql.org; Tue, 04 Nov 2014 16:47:32 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XlhGR-00039K-MB for pgsql-odbc@postgresql.org; Tue, 04 Nov 2014 16:47:30 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0E31E20132 for ; Tue, 4 Nov 2014 11:47:25 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 04 Nov 2014 11:47:25 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= x-sasl-enc:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=NcRRGRbgnhXwWnr/hHBZpEo2sho=; b=UHFHVNgBwnzVchh5ln 3RcBEHMjIpaJa0IeSv8IAgWxM7b501xHv/Jw1l9PNvm92IGqI6DDqfsysxzVAV/D MsXTrOfbQhC0kcWnyrpW5vJI8KGBS0hkMVHMpR7/J0PlU9AZxDCNW6MPB7u+s+hW /FLlQriQeosDtjzPiR8O4fL8w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=NcRRGRbgnhXwWnr/hHBZpE o2sho=; b=Jzy5pOhHpeGfqi3rSyynbruVdLnmvu+7cC4jiCu0Kscn3X/UygKOEi yZw4bBQVLVurQtXhPHAr/LsrQcSYBxl/yN1+lMPxKzivsG4ZjR+wtOPdauTIq+t7 INEkGYTs8XJQ83H9HPoJN0tJJbvBmoy9FPH3IAWmRPwoLkuLZZMXQ= X-Sasl-enc: xKLlEurP67Hpe/iAVCHJavDiNwLO4LPs24HmCVfgz9pS 1415119644 Received: from [192.168.1.2] (unknown [174.21.140.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 85C76C0000A; Tue, 4 Nov 2014 11:47:24 -0500 (EST) Message-ID: <5459031B.6010805@aklaver.com> Date: Tue, 04 Nov 2014 08:47:23 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: malcolm.macleod@tshwanedje.com, "pgsql-odbc@postgresql.org" Subject: Re: Does psqlODBC actually work on osx? References: <1415116470.3086.9.camel@watchmen.homenetwork> <5458F843.9010009@aklaver.com> <1415118182.3086.11.camel@watchmen.homenetwork> In-Reply-To: <1415118182.3086.11.camel@watchmen.homenetwork> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 11/04/2014 08:23 AM, Malcolm MacLeod wrote: > >>> We have a client trying to connect to PostgreSQL server 9.2 from an osx >>> client with our software via ODBC, he has asked for instructions to >>> assist him setting up. >>> >>> I have attempted the setup myself using psqlODBC and no matter what I do >>> configuration wise, the driver fails to connect (via iodbctestw and >>> iodbc administrator) stating that the password is incorrect - I know >>> this is not the case because I am using identical configuration to my >>> linux machine where it works fine. >> What is the exact error message you are getting? >> Are you connecting from within the same network as your Linux machine? >> Just trying to eliminate the possibility that it is a pg_hba.conf issue. > All on same internal network. > Server 10.0.0.3, working machine(s) 10.0.0.24, 10.0.0.25 etc. broken > machine 10.0.0.26 > I've tried also setting the pg_hba.conf to 'trust' and even then it > doesn't seem to work. > > Various config info and traces below. > > > > Snippet from configuration (Although I've played with various other > options SSLmode etc. here as well) > > [test] > Driver=psqlODBC > Server=10.0.0.3 > Database=todo > Username=postgres > Password=postgres13 > > > > > iodbctestw error messsage: > 1: SQLDriverConnectW = FATAL: password authentication failed for user > "postgres" (210) SQLSTATE=28P01 Well it is not liking that password. Are you sure you do not have conflicting configurations? What file is the configuration you show above coming from? What is in your odbc.ini file? How are you running the test configuration? > > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc