FreeRadius + MySQL & Encrypted passwords
A.L.M.Buxey at lboro.ac.uk
A.L.M.Buxey at lboro.ac.uk
Thu May 4 22:27:26 CEST 2006
Hi,
> I've been trying to encrypt the passwords in mySQL using SHA1 or MD5
> without any luck for the last several days.
>
> ---------------------------+
> | 844 | bogdan | Crypt-Password | == | 55MCU5TXMoKsA |
> +-----+------------+---------------+----+-------------------------------
okay. attribute set to Crypt-Password. however, when you changed to SHA1 or
MD5 you DIDNT change this attribute. from the Documentation, you can see
Header Attribute Description
------ --------- -----------
{clear} User-Password clear-text passwords
{cleartext} User-Password clear-text passwords
{crypt} Crypt-Password Unix-style "crypt"ed passwords
{md5} MD5-Password MD5 hashed passwords
{smd5} SMD5-Password MD5 hashed passwords, with a salt
{sha} SHA-Password SHA1 hashed passwords
{ssha} SSHA-Password SHA1 hashed passwords, with a salt
{nt} NT-Password Windows NT hashed passwords
{x-nthash} NT-Password Windows NT hashed passwords
{lm} LM-Password Windows Lan Manager (LM) passwords.
the error log posted clearly showed rlm_pap bleating away that it was being told
to use MD5 or SHA but that only Crypt-Password attribute was present.
alan
More information about the Freeradius-Users
mailing list