Re: Password not passed to ODBC from iODBC MacOSX

From: Giuliano Gavazzi <dev+pgsql(at)humph(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Password not passed to ODBC from iODBC MacOSX
Date: 2003-03-05 15:05:18
Message-ID: a05200f09ba8bc0dabfe8@[10.0.1.18]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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.

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Chris Gamache 2003-03-05 15:28:35 Re: Row Level out of range on 07.02.0005
Previous Message Mészáros Attila 2003-03-05 11:57:12 Powerbuilder + New ODBC + Very important