freeradius 2.x EAP-MSCHAPv2 + MySQL
Maciej Drobniuch
maciej at drobniuch.pl
Wed May 19 17:50:06 CEST 2010
Thanks Alan, I did not knew about the inner-tunnel.
Now everything works fine.
BIG THANKS TO ALL!!
2010/5/19 Alan DeKok <aland at deployingradius.com>:
> 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.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
--
Pozdrawiam!
Maciej Drobniuch
More information about the Freeradius-Users
mailing list