Skip site navigation (1) Skip section navigation (2)

Re: ODBC + MS-Access fails with MD5 pwds if not specified in

From: Cedar Cox <cedarc(at)visionforisrael(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ODBC + MS-Access fails with MD5 pwds if not specified in
Date: 2002-10-01 08:52:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
This has been discussed at length in the past.  (Search the
archives.)  Basically, md5 passwords are not supported with the
win32 ODBC driver, and for that matter it does not provide much
security anyway because the connection is not encrypted so all of
the data transferred after logging in securely will be "plain text".

BTW, you may or may not want to look at my method of opening a ODBC
connection in Access (97).  It can be a pain to get access/windoze
to use a supplied username/password not give the default ODBC
connection dialog when opening the connection, but I managed to find
a way.  (This allows you to make your own custom login form, if this
is important to you).  Search google for "odbcrowsource".


On Tue, 1 Oct 2002, lists wrote:

> I have pgsql 7.2.1 and pgsqlODBC 7.2.1.
> The connection fails under these conditions:
>    Server set up to accept md5 passwords
>    ODBC DSN is created without specifying the password at that time
> When attempting to use the connection in Access, the pgsql ODBC connection 
> dialog is displayed asking for login/pwd; enter it, and you receive:
>     [ODBC] - connection to '<database>' failed.
> The log files seem to indicate that Access is trying to authenticate with 
> the Access login and password (by default, login="Admin" and pwd is blank) 
> instead of the login/password I supply in the pgsql dialog:
> However, the connection works fine under *either* of the following conditions:
>     I provide the login/password when creating the ODBC DSN
>     I change MD5 to "password" at the server.
> Any suggestions for getting md5 passwords to work with an interactive Access 
> ODBC login?  We cannot put the passwords in the DSN, nor can we allow 
> unencrypted passwords over the network.
> Thanks

In response to

pgsql-odbc by date

Next:From: valcauda St├ęphaneDate: 2002-10-01 10:42:18
Subject: Re: [NOVICE] Re: connecting OBDC
Previous:From: valcauda St├ęphaneDate: 2002-10-01 08:51:45
Subject: [NOVICE] Re: connecting OBDC

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group