PEAP with Freeradius 1.02 on Linux
Hello All I have spent the morning looking for a solution to this problem, but I have been unable to find a solution. I am trying to use both PEAP and TTLS to authenticate a mobile device through an Access Point to my radius server. Using TTLS everything works fine, however I can not get it to work using PEAP. I am using Windows 2000 with Funk's Odyssey Client as my supplicant. I am not using certificates on the mobile and I have placed the user information in the users file. I am seeing similar behaviour with PEAP using Windows XP and the built in supplicant. Thanks Stephen Donovan I have attached the debug logs from starting Freeradius with radiusd -X -A. If any one could suggest anything it would be greatly appreciated.
Stephen Donovan <stephen.donovan@gmail.com> wrote:
I am trying to use both PEAP and TTLS to authenticate a mobile device through an Access Point to my radius server. Using TTLS everything works fine, however I can not get it to work using PEAP.
Please READ the debug output:
modcall: entering group Auth-Type for request 16 rlm_mschap: No User-Password configured. Cannot create LM-Password. rlm_mschap: No User-Password configured. Cannot create NT-Password. rlm_mschap: Told to do MS-CHAPv2 for octo with NT-Password rlm_mschap: FAILED: No NT/LM-Password. Cannot perform authentication.
What part of that is unclear? Alan DeKok.
hi, reading the error logs reveals modcall: entering group Auth-Type for request 16^M rlm_mschap: No User-Password configured. Cannot create LM-Password.^M rlm_mschap: No User-Password configured. Cannot create NT-Password.^M rlm_mschap: Told to do MS-CHAPv2 for octo with NT-Password^M rlm_mschap: FAILED: No NT/LM-Password. Cannot perform authentication.^M rlm_mschap: FAILED: MS-CHAP2-Response is incorrect^M modcall[authenticate]: module "mschap" returns reject for request 16^M modcall: group Auth-Type returns reject for request 16^M rlm_eap: Freeing handler^M modcall[authenticate]: module "eap" returns reject for request 16^M modcall: group authenticate returns reject for request 16^M auth: Failed to validate the user.^M PEAP: Tunneled authentication was rejected.^M rlm_eap_peap: FAILURE^M and finally an auth: authenticaiton failed. If you use PEAP you have to supply correctly encyrypted MSCHAP2 passwords as the docs state clearly in several places. and the PEAP stuff clearly states alan
After much searching and trouble shooting tips from a couple of members of this list. I eventully found a solution to my problem for getting PEAP to work with Free-Radius. An entry from my raddb/users file looked like this: user User-Password == "user-pass", Called-Station-ID == "RSNA:SSID" Tunnel-Private-Group-ID:1 = "WPATunnel" This worked fine for TTLS mode but failed for PEAP. If I removed the Called-Station-ID attribute then I was able to get PEAP to work, but I wasn't able to match users to the SSID of the AP that they connected to. The final solution that I came up with that seems to work correctly was to modify the peap section in raddb/eap.conf peap { # The tunneled EAP session needs a default # EAP type which is separate from the one for # the non-tunneled EAP module. Inside of the # PEAP tunnel, we recommend using MS-CHAPv2, # as that is the default type supported by # Windows clients. default_eap_type = mschapv2 copy_request_to_tunnel = yes use_tunneled_reply = yes } After I made this change everything appears to work as expected. Stephen Donovan On 6/1/05, Stephen Donovan <stephen.donovan@gmail.com> wrote:
Hello All
I have spent the morning looking for a solution to this problem, but I have been unable to find a solution.
I am trying to use both PEAP and TTLS to authenticate a mobile device through an Access Point to my radius server. Using TTLS everything works fine, however I can not get it to work using PEAP. I am using Windows 2000 with Funk's Odyssey Client as my supplicant. I am not using certificates on the mobile and I have placed the user information in the users file. I am seeing similar behaviour with PEAP using Windows XP and the built in supplicant.
Thanks Stephen Donovan
I have attached the debug logs from starting Freeradius with radiusd -X -A. If any one could suggest anything it would be greatly appreciated.
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Stephen Donovan