freeradius 2.x EAP-MSCHAPv2 + MySQL

Alan DeKok aland at deployingradius.com
Wed May 19 17:35:12 CEST 2010


Maciej Drobniuch wrote:
> Maybe you did not understand me, but when the mario user is in files
> all works fine but when not the freeradius isn't asking the sql.

  Because you didn't configure it to ask SQL.

> I'm using EAP PEAP MSCHAPv2

  Did you edit raddb/sites-available/inner-tunnel?

> The sql is enabled

  Where?

> Here is the whole debug: http://testowy.langw.net/text.txt

  Can you read it?

> [mschap] No Cleartext-Password configured.  Cannot create LM-Password.
> [mschap] No Cleartext-Password configured.  Cannot create NT-Password.

  This is pretty obvious.  Now read *backwards* from that.  You'll see
that there's no mention of SQL, but there is some text:

> Sending tunneled request
> 	EAP-Message = ...
> 	FreeRADIUS-Proxied-To = 127.0.0.1
> 	User-Name = "mario"
> 	State = 0x66cdb16066c5abec558fec6768936d41
> server inner-tunnel {

  It's telling you that it's running the "inner-tunnel" virtual server.

  Did you edit it?  It looks like you didn't.

  Should you edit it?  Absolutely.

  Alan DeKok.



  Alan DeKok.



More information about the Freeradius-Users mailing list