FreeRadius and md5 hashed passwords
Scott Lambert
lambert at lambertfam.org
Tue Sep 16 19:24:38 PDT 2003
On Wed, Sep 17, 2003 at 03:03:43AM +0200, Martin Jessa wrote:
> Hi guys.
>
> I have set up freeradius with authentication agains MySQL.
> I have poptop talking to the radius server and in that way authenticating my users.
> The problem is I cannot make the radius server read md5 encrypted passwords, only plain text.
> Any idea what to do to make it read md5 passwords?
> Example of the password table:
>
> table 'radcheck' :
>
> Cleartext (works):
> INSERT INTO radcheck VALUES (2,'test at yazzy.org','User-Password',':=','12233445');
>
> MD5 (no love):
> INSERT INTO radcheck VALUES (3,'test at yazzy.org','User-Password',':=','bc8bf6f2fd343cab9d387d5dcc777be3');
I think you are missing the salt.
This is an MD5 cryptpassword of your example cleartext password:
$1$HuVWpRMf$dmUeqUO15b9HGbDmmki6W.
--
Scott Lambert KC5MLE Unix SysAdmin
lambert at lambertfam.org
More information about the freebsd-isp
mailing list