From: Giuliano Gavazzi <dev+pgsql@humph.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Password not passed to ODBC from iODBC MacOSX
Date: Wed, 5 Mar 2003 15:05:18 +0000
Message-ID: <a05200f09ba8bc0dabfe8@[10.0.1.18]> (raw)
In-Reply-To: <a05200f03ba8b80dba081@[10.0.1.18]>
References: <a05200f03ba8b80dba081@[10.0.1.18]>
I have now checked that with the OpenLink Postgres Lite single tier
(direct to port 5432) driver the password entered at the dialog is
indeed passed to the driver and the connection succeeds. So it looks
like this problem might be with the pgsql-odbc driver (on MacOS X at
least).
mylog.. gives me:
[-1610609172]CC_connect: entering...
[-1610609172]CC_connect(): DSN = 'postgres', server =
'theservername', port = '5432', database = 'dbname', username =
'uname', password=''
This does not worry me as an application developer as I can always
present a login dialog from the application itself and build my own
connection string, but many third party applications will not do this.
Thanks
Giuliano
At 10:31 +0000 2003/03/05, Giuliano Gavazzi wrote:
>Dear all,
>
>I am not sure where this problem occurs, but using the iODBC driver
>manager and specifying the password in the login dialog (no Password
>parameter being set in the DSN) will result in pgsql-odbc getting an
>empty password in the connection string. If the Password parameter
>is specified in the DSN setup instead, it will be passed correctly.
>It looks like this might be a problem with iODBC, but it seems
>strange to me as it would have been noticed with other drivers too.
>Unfortunately I cannot check now that this is indeed not the case
>with the OpenLink own postgres driver.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: dev+pgsql@humph.com
Subject: Re: Password not passed to ODBC from iODBC MacOSX
In-Reply-To: <a05200f09ba8bc0dabfe8@[10.0.1.18]>
References: <a05200f03ba8b80dba081@[10.0.1.18]> <a05200f09ba8bc0dabfe8@[10.0.1.18]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox