MSCHAPv2, MySQL, Freeradius

Alan DeKok aland at ox.org
Tue Oct 4 07:17:05 CEST 2005


"Dan Russell" <dan at in-house.com.au> wrote:
> >   Because you put it into the NT-Password attribute, instead of the
> > User-Password attribute.
> 
> Okay, I've tried that and not found it to work for me.

  Sorry, it *does* work.  Since you didn't provide any debug logs or
config examples, I can only suggest that you probably did it wrong.

> It tries to get the 'User-Password' attribute first (which it fails on,
> I don't have one), then it tried to get the 'LM-Password' attribute
> which it also fails on.  After dealing with that it tries the same thing
> with 'NT-Password'.  For some reason it isn't pulling these attributes
> out of mysql..

  Read the debug log.  It will tell you what it *is* getting from MySQL.

> After looking at the debug output from freeradius, the sql statement
> that it executes when it receives an authentication request should
> return the LM-Password and NT-Password.

  Does it return those attributes when you run the query by hand?

  Alan DeKok.




More information about the Freeradius-Users mailing list