Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 22:24:35 -0400
From:      Scott Lambert <lambert@lambertfam.org>
To:        freebsd-isp <freebsd-isp@freebsd.org>
Subject:   Re: FreeRadius and md5 hashed passwords
Message-ID:  <20030917022435.GA14843@laptop.lambertfam.org>
In-Reply-To: <20030917030343.52426383.freebsd@yazzy.org>
References:  <20030917030343.52426383.freebsd@yazzy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@yazzy.org','User-Password',':=','12233445');
> 
> MD5 (no love):
> INSERT INTO radcheck VALUES (3,'test@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@lambertfam.org      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030917022435.GA14843>