Re: JDBC access with md5 password

Lists: pgsql-jdbc
From: "Timothy A(dot) DeWees" <tim(at)hcd(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: JDBC access with md5 password
Date: 2003-01-24 17:06:57
Message-ID: 000901c2c3cb$01995a80$7930000a@hcd.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

Can anyone help me on how to connect to the database via JDBC if I'm using
md5 passwords? Do I need to create the MD5 hash and send that as the
password, or is there something I do with the driver before hand?

--
Timothy A. DeWees
330/493-9700
http://www.hcd.net
Himebaugh Consulting, Inc.


From: Curt Sampson <cjs(at)cynic(dot)net>
To: "Timothy A(dot) DeWees" <tim(at)hcd(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC access with md5 password
Date: 2003-01-29 06:43:30
Message-ID: Pine.NEB.4.51.0301291542230.5881@angelic.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

On Fri, 24 Jan 2003, Timothy A. DeWees wrote:

> Can anyone help me on how to connect to the database via JDBC if I'm using
> md5 passwords? Do I need to create the MD5 hash and send that as the
> password, or is there something I do with the driver before hand?

Yeah, there's something you need to do with the driver. Upgrade it to
the one from 7.3. :-) Then just send your usual password.

(The 7.2 JDBC drivers had a bug that, depending on localization settings,
could mess up the MD5 hashing.)

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC


From: "Timothy A(dot) DeWees" <tim(at)hcd(dot)net>
To: "'Curt Sampson'" <cjs(at)cynic(dot)net>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC access with md5 password
Date: 2003-01-30 14:36:20
Message-ID: 000e01c2c86c$f53660c0$7930000a@hcd.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

Thanks for the reply. I am using the driver that came with 7.3.1. I did
a --with-java and am using the postgresql.jar file that got built.

The driver was build with JDK 1.4.1 if that makes a difference.

--
Timothy A. DeWees
330/493-9700
http://www.hcd.net
Himebaugh Consulting, Inc.

-----Original Message-----
From: Curt Sampson [mailto:cjs(at)cynic(dot)net]
Sent: Wednesday, January 29, 2003 1:44 AM
To: Timothy A. DeWees
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] JDBC access with md5 password

On Fri, 24 Jan 2003, Timothy A. DeWees wrote:

> Can anyone help me on how to connect to the database via JDBC if I'm using
> md5 passwords? Do I need to create the MD5 hash and send that as the
> password, or is there something I do with the driver before hand?

Yeah, there's something you need to do with the driver. Upgrade it to
the one from 7.3. :-) Then just send your usual password.

(The 7.2 JDBC drivers had a bug that, depending on localization settings,
could mess up the MD5 hashing.)

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC


From: Barry Lind <blind(at)xythos(dot)com>
To: "Timothy A(dot) DeWees" <tim(at)hcd(dot)net>
Cc: 'Curt Sampson' <cjs(at)cynic(dot)net>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC access with md5 password
Date: 2003-02-07 02:18:04
Message-ID: 3E43175C.5020209@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

Timothy,

I can't reproduce. This works fine for me with both the 7.3 and
development versions of the driver. What is the exact error message you
are getting?

thanks,
--Barry

Timothy A. DeWees wrote:
> Thanks for the reply. I am using the driver that came with 7.3.1. I did
> a --with-java and am using the postgresql.jar file that got built.
>
> The driver was build with JDK 1.4.1 if that makes a difference.
>
> --
> Timothy A. DeWees
> 330/493-9700
> http://www.hcd.net
> Himebaugh Consulting, Inc.
>
>
> -----Original Message-----
> From: Curt Sampson [mailto:cjs(at)cynic(dot)net]
> Sent: Wednesday, January 29, 2003 1:44 AM
> To: Timothy A. DeWees
> Cc: pgsql-jdbc(at)postgresql(dot)org
> Subject: Re: [JDBC] JDBC access with md5 password
>
>
> On Fri, 24 Jan 2003, Timothy A. DeWees wrote:
>
>
>>Can anyone help me on how to connect to the database via JDBC if I'm using
>>md5 passwords? Do I need to create the MD5 hash and send that as the
>>password, or is there something I do with the driver before hand?
>
>
> Yeah, there's something you need to do with the driver. Upgrade it to
> the one from 7.3. :-) Then just send your usual password.
>
> (The 7.2 JDBC drivers had a bug that, depending on localization settings,
> could mess up the MD5 hashing.)
>
> cjs
> --
> Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
> Don't you know, in this new Dark Age, we're all light. --XTC
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>