Thread: md4

md4

From
Felipe Schnack
Date:
  Hi!
  I just compiled pgsql with md5 encryption enabled. So, my password
fields in my tables are of type bytea, and I set their values using
decode('my password', 'md5').
  My problem is that when I try to use md5 encryption using PAM's
pam_pgsql module it doesn't work. Anybody had this problem? There is
something special about pgsql md5 hash?
  I think maybe I should store the passwords as standard varchar
fields... how if that's the case, how I convert a bytea to varchar?

  TIA
--

Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
felipes@ritterdosreis.br
Fone/Fax.: (51)32303328