On Wed, Sep 17, 2003 at 02:38:06AM +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,'[EMAIL PROTECTED]','User-Password',':=','12233445');
> 
> MD5 (no love):
> INSERT INTO radcheck VALUES (3,'[EMAIL 
> PROTECTED]','User-Password',':=','bc8bf6f2fd343cab9d387d5dcc777be3');

dummy     Auth-Type := Crypt-Local, Crypt-Password := "$1$seed$key"

given you have a crypt that handles md5 passwords. check man crypt for
this (glibc2 does support this, for example).

Oliver.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to