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

Re: Manually authenticating users in pg_shadow

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "William Harazim" <wharazim(at)fulcoinc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Manually authenticating users in pg_shadow
Date: 2004-01-28 02:29:38
Message-ID: 5543.1075256978@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
"William Harazim" <wharazim(at)fulcoinc(dot)com> writes:
> Ahh, the password || username format of the stored password was the problem. Incidentally, for anyone else not having the md5() function (is that new to 7.5dev?) I was able to accomplish the same thing using 
>    'md5' || encode( digest(password || username, 'md5'), 'hex' )

md5() is in 7.4, but I think it's new in that release.

			regards, tom lane

In response to

pgsql-general by date

Next:From: Jerome LylesDate: 2004-01-28 03:22:37
Subject: Re: Permission Problems:-)?
Previous:From: Tom LaneDate: 2004-01-28 02:20:44
Subject: Re: Permission Problems:-)?

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