FreeRADIUS + MySQL + md5 passwords?

Francois-Xavier GAILLARD fx.gaillard at thefox.com.fr
Mon Sep 25 12:27:23 CEST 2006


Le Mon, Sep 25, 2006 at 12:27:28AM +0100, Jan Mulders ecrivait:
> Hello all.
> 
> I'm trying to get FreeRADIUS to authenticate against MD5 passwords. Here's the
> relevant part of my config...
> 
> ............
> modules {
>                     pap {
>                             encryption_scheme = md5
>                                 }
> ......
> instantiate {
>                 #mysqlcounter
> 
> }
> 
> authorize {
>                 preprocess
>                 sql
> }
> 
> authenticate {
>                 pap
> }
> 
> preacct {
>                 preprocess
> }
> 
> accounting {
>                 #acct_unique
>                 #detail
>                 sql
>                 radutmp # ?
> }
> 
> 
> session {
>                 radutmp # ?
>                 sql
> 
> }
> [end of file]
> 
> I have the passwords in my database as MD5 (I have included a testuser2 with a
> plaintext password for troubleshooting):
> 
> id         UserName         Attribute         op         Value
> 1     testuser1     Password     ==     ae2b1fca515949e5d54fb22b8ed95575
> 2     testuser2     Password     ==     testing

Did you try with Crypt-Password ?

Regards,
Fox.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060925/6557bf8f/attachment.pgp>


More information about the Freeradius-Users mailing list