pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: WIN ODBC 7.03.01.0000 & MD5
3+ messages / 2 participants
[nested] [flat]

* Re: WIN ODBC 7.03.01.0000 & MD5
@ 2003-06-02 12:47 Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Page @ 2003-06-02 12:47 UTC (permalink / raw)
  To: Jeff Silberberg <jsilberberg@mindspring.com>; +Cc: pgsql-odbc

 

	-----Original Message-----
	From: Jeff Silberberg [mailto:jsilberberg@mindspring.com] 
	Sent: 02 June 2003 13:12
	To: dpage@postgresql.org
	Subject: WIN ODBC 7.03.01.0000 & MD5
	
	

	Good Morning, 
	
	
	        I need some assistance in that a number of the installed
servers that we support are now using md5 as protection for the public
network.  This works fine, except that a few users have MS Access
connections for generating adhoc reports and connect using  this driver.
I keep them fairly current, and in fact most are now either on 7.02.5 or
the newest 7.03.01.0000. 
	
	 

Jeff,
 
Please use the pgsql-odbc@postgresql.org list for such queries rather
than private email.
 
The quick answer is to specify authentication type of 'md5' instead of
'password' in your pg_hba.conf file. The server will the ask the ODBC
driver to send an MD5 digest of the password. More details are in the
Administrators Guide.
 
PS:  When in the Drivers tab of the ODBC Data Source Administrator. I
have a strange entry..

PostgreSQL+(Beta)     Not Marked   Not Marked ... 

Sounds like older versions of the driver were not uninstalled before
installing the newer ones. Backup your system first in case something
goes wrong, then using regedit, delete the key 
 
HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL+ (Beta)
 
and the value
 
HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC Drivers\PostgreSQL+
(Beta)
 
Reopen the ODBC driver manager and you should be OK.
 
Regards, Dave. 
 

	 
	

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: WIN ODBC 7.03.01.0000 & MD5
@ 2003-06-02 13:25 Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Page @ 2003-06-02 13:25 UTC (permalink / raw)
  To: Jeff Silberberg <jsilberberg@mindspring.com>; +Cc: pgsql-odbc

 

	-----Original Message-----
	From: Jeff Silberberg [mailto:jsilberberg@mindspring.com] 
	Sent: 02 June 2003 14:00
	To: Dave Page
	Subject: RE: WIN ODBC 7.03.01.0000 & MD5
	
	

	Dave,
	
	Thank you for the quick reply !  Usually, do use the list.  But
with all the changes lately between domains and things, www.pgaccess.org
<http://www.pgaccess.org/;   and odbc.postgresql.org both seem to be
gone,  I figured I would go straight to the barn on this one. 
	
	pg_hba.conf
	local   all             all
trust
	host    all             all         127.0.0.1
255.255.255.255     trust
	host    dapage      all         0.0.0.0         0.0.0.0
md5    <= Normal ODBC and Application Connect..
	
	Results in error message when connecting with the MS Access via
the ODBC driver that appears to indicate that md5 is not supported.
This is a State agency so the md5 is now a must, or the port has to be
closed in the FW...
	 

Hi Jeff,
 
I tried this on one of my machines before I emailled you, and looked at
that was actually transmitted on the network using Ethereal. Using the
07.03.0100 driver with PostgreSQL 7.3.2, with a 'password' entry in
pg_hba.conf I could see plain text passwords in Ethereal. Changed that
entry to 'md5', and did a 'pg_ctl reload', and now I see the md5
digests.
 
If that doesn't work for you then I don't know whats up - hopefully
someone on the list might have an idea.
 
Regards, Dave.
 
PS http://odbc.postgresql.org is now
http://gborg.postgresql.org/project/psqlodbc (as linked from
www.postgresql.org). Dunno about pgaccess - they don't use our servers.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* WIN ODBC 7.03.01.0000 & MD5
@ 2003-06-02 17:45 Jeff Silberberg <jsilberberg@mindspring.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Silberberg @ 2003-06-02 17:45 UTC (permalink / raw)
  To: pgsql-odbc


List:

         Afternoon, after exchanging a few notes with Dave Page & this List 
I have tried to get the ODBC Connector attached to a PostgreSQL server with
pg_hba.conf set as follows;

local   all             all 
         trust
host    all             all         127.0.0.1     255.255.255.255     trust
host    dapage      all         0.0.0.0         0.0.0.0 
md5    <= Normal ODBC and Application Connect..

         When attempting to link my tables, I walk through the dialog and 
then get,
         ODBC - Call Failed:
         FATAL: Password authentication failed for user "dapage"  (#210)

         Yes, the password is correct :-) ..  The logs are attached. Can 
anyone help me out with this, so I can get Access re-linked with the Data base.

         TIA,
         JMS...


Jeffrey Silberberg
CompuDesigns, Inc.
Atlanta, GA. 30350
(770) 399-9464

Attachments:

  PostgreSQL ODBC Trace.zip (application/zip, 43.0K) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-06-02 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02 12:47 Re: WIN ODBC 7.03.01.0000 & MD5 Dave Page <dpage@vale-housing.co.uk>
2003-06-02 13:25 Re: WIN ODBC 7.03.01.0000 & MD5 Dave Page <dpage@vale-housing.co.uk>
2003-06-02 17:45 WIN ODBC 7.03.01.0000 & MD5 Jeff Silberberg <jsilberberg@mindspring.com>

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