Re: Manually authenticating users in pg_shadow - Mailing list pgsql-general

From Tom Lane
Subject Re: Manually authenticating users in pg_shadow
Date
Msg-id 5543.1075256978@sss.pgh.pa.us
Whole thread Raw
In response to Re: Manually authenticating users in pg_shadow  ("William Harazim" <wharazim@fulcoinc.com>)
List pgsql-general
"William Harazim" <wharazim@fulcoinc.com> writes:
> Ahh, the password || username format of the stored password was the problem. Incidentally, for anyone else not having
themd5() 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Permission Problems:-)?
Next
From: Jerome Lyles
Date:
Subject: Re: Permission Problems:-)?