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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-general by date

  From Date Subject
Next Message Jerome Lyles 2004-01-28 03:22:37 Re: Permission Problems:-)?
Previous Message Tom Lane 2004-01-28 02:20:44 Re: Permission Problems:-)?