pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <mha@sollentuna.net>
Cc: Henk van Lingen <henkvl@cs.uu.nl>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ODBC and crypted passwords
Date: Sun, 09 Apr 2000 13:31:10 -0400
Message-ID: <9661.955301470@sss.pgh.pa.us> (raw)
In-Reply-To: <215896B6B5E1CF11BC5600805FFEA82103046150@sirius.edu.sollentuna.se>
References: <215896B6B5E1CF11BC5600805FFEA82103046150@sirius.edu.sollentuna.se>

Magnus Hagander <mha@sollentuna.net> writes:
>>>> Is there something which makes a 'crypt' implementation hard?
>> 
>> I imagine the problem is that he doesn't want to depend on the 'crypt'
>> library, which is standard on Unixen but not (AFAIK) on Windows.
>> Otherwise it'd be easy to transpose libpq's code into the odbc driver.
>> (OTOH, I believe there are ports of libpq for Windows, so 
>> maybe crypt() is available there?  Anyone know?)

> Actually, the crypt()ed authentication is not supported on libpq for Win32.
> I meant to do this, but I had completely forgotten... 

Hmm.  Can we find a freely-distributable version of libcrypt anywhere?

(Actually, now that I think about it, I'm not entirely sure that crypt()
implements exactly the same transformation on every Unix platform.
It may be that you have to have a version of crypt() that matches the
one on your server's platform.  That would be a pain in the neck ...
but if we did find an open-source libcrypt, maybe we could standardize
on using it in preference to vendor crypts...)

			regards, tom lane



view thread (17+ messages)  latest in thread

Message-ID: <9661.955301470@sss.pgh.pa.us>
Permalink:  ../9661.955301470@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9661.955301470@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mha@sollentuna.net, henkvl@cs.uu.nl
  Subject: Re: ODBC and crypted passwords
  In-Reply-To: <9661.955301470@sss.pgh.pa.us>

* 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