RE: AD Authentication + radius + foundryAP
I don't like leaving things unresolved and just laying around like so many other post that I have ran across. I guess Alan DeKok scares them off with the "It's in plain view dumb ass" attitude. I'm sure after answering the questions over and over again, it is about the only response that someone can give who it just tired of the same old questions and wants a challenge. With that being said... On Ubuntu 10.04 w/ updates, FreeRadius 2.1.8, Windows XP/7, and W2K AD The wiki has a HowTo on AD http://wiki.freeradius.org/FreeRADIUS_Active_Directory_Integration_HOWTO At the very top of this page there is: Updated tutorial for freeradius 2.x is at: http://deployingradius.com/documents/configuration/active_directory.html This is all well and good, but I jumped straight to that link. There seems to be some information that is left out and that is important in the "Updated tutorial." With all of the frustration I nuked all of FreeRadius from the server using 'aptitude purge freeradius freeradius-common freeradius-utils'. This cleaned up all of my changes. Then I reinstalled FreeRadius. >From here I followed the "Updated tutorial" until I got to: Configuring FreeRADIUS to use ntlm_auth for MS-CHAP. When I reached this section, and I had everything working, I went back to the original HowTo and read though it. (note to self: don't just a head just because a HowTo seems to good to be true. The "Updated tutorial" doesn't let you know anything about peap, with_ntdomain_hack, the default setting of eap, or setting up clients. So it is not, in my opinion a complete walk though. There is light though. Once you I got to the point where ntlm_auth was working for me, I started back on the wiki HowTo and went to the section 'Configuration of clients.conf'. Set the client up. Client foundryAP { Ipaddr = 192.168.0.1 Secret = testing123 } In the Configuration of radius.conf section (this parts seems more like the 1. Config) the 'with_ntdomain_hack = yes' this was found in the ~/modules/mschap file. You don't need 'auth-type = MS-CHAP'. For ntlm_auth I'm using: ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00} --require-membership-of=DOMAIN+group" The eap.conf section of the HowTo was spot on. I also set the clients up, this was pointed out to me earlier in this tread twice, so make sure your client is setup correctly as well. Currently everything is working. I'm able to authenticate though radius using Windows 2000 AD. Resolved. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: AD Authentication + radius + foundryAP
> What does that look like to you? Looks like it is trying to use PAP to authenticate with. Though PAP is local only, at least from what I can tell, and there is no local user/pass for this account. Then it looks like it rolls to a EAP/leap authentication method. At this point it fails. > Are the debug messages helpful? If I truly understood more, then I'm sure that they would be. That are not as helpful for me; I have a lack of understanding at this point in time. > Do they accurately describe the problem, and give you hints for the solution? I just see the problem as not working. I don't understand why it didn't even attempt mschapv2 when eap default was set to peap and peap default was set to mschapv2. >> I don't know much about FreeRadius. I have never had to work with a >> radius server of any type before. I do apologize, but while this stuff >> might be obvious to someone that created it or works in radius servers >> every day of the week, I am not that person. So to me, the only obvious >> thing is that I get rejected at leap, while another radius server that >> is running FreeRadius 1.x on Getoo is working just find with mschapv2. > The PC is choosing LEAP, not FreeRADIUS. I'm using Win7. Are you telling me that the PC is the one that is picking the security for the radius and not the Foundry Wireless AP controller? > Configure the PC to use LEAP, as was suggested in *another* response to your post. I read that post. I thought the he was referring to the Foundry AP controller. You just told me that it was the fault of the PC though. Mark Pipkin - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: AD Authentication + radius + foundryAP
> Post the debugging output into the form at: > http://networkradius.com/freeradius.html > And read the highlighted lines. It should be obvious what's going on. Module: Instantiating attr_filter.access_reject attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" was highlighted in read. To you it might be obvious what this means. To me, I don't really understand it, except that later one in the debug I get : Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> ATL\pipkin_m I don't know much about FreeRadius. I have never had to work with a radius server of any type before. I do apologize, but while this stuff might be obvious to someone that created it or works in radius servers every day of the week, I am not that person. So to me, the only obvious thing is that I get rejected at leap, while another radius server that is running FreeRadius 1.x on Getoo is working just find with mschapv2. > Also read my Active Directory guide at: >http://deployingradius.com/documents/configuration/active_directory.htm l > It contains detailed documentation and explanations for how to get this to work. I did follow this how-to the first time around and it got me to this point. That is in my first statement in asking for help. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
AD Authentication + radius + foundryAP
200060311 State = 0x457c467c457e5f9ed7afaf432a46c660 Message-Authenticator = 0xad2eebc61c93e9f242fc51bf2dafe2c0 +- entering group authorize {...} ++[preprocess] returns ok [auth_log] expand: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/freeradius/radacct/192.168.103.10/auth-detail-20110516 [auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/192.168.103.10/auth-detail-20110516 [auth_log] expand: %t -> Mon May 16 15:28:43 2011 ++[auth_log] returns ok ++[chap] returns noop ++[mschap] returns noop [ntdomain] Looking up realm "ATL" for User-Name = "ATL\user" [ntdomain] No such realm "ATL" ++[ntdomain] returns noop [eap] EAP packet type response id 2 length 6 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP NAK [eap] EAP-NAK asked for EAP-Type/leap [eap] processing type leap rlm_eap_leap: Stage 2 rlm_eap_leap: Issuing AP Challenge rlm_eap_leap: Successfully initiated ++[eap] returns handled Sending Access-Challenge of id 89 to 192.168.103.10 port 32890 EAP-Message = 0x0103001c11010008765dcad2513ca14941544c5c7069706b696e5f6d Message-Authenticator = 0x State = 0x457c467c447f579ed7afaf432a46c660 Finished request 4. Going to the next request Waking up in 3.6 seconds. rad_recv: Access-Request packet from host 192.168.103.10 port 32890, id=90, length=203 User-Name = "ATL\\user" NAS-IP-Address = 192.168.103.10 NAS-Port = 6145 Called-Station-Id = "00-90-0B-0A-81-96:radtest" Calling-Station-Id = "00-26-C7-6F-FF-64" Framed-MTU = 900 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 802.11g" EAP-Message = 0x0203002c1101001887b03ee7af25d8731fec4765958f0f4b0775fd12760ca7a341544c5c7069706b696e5f6d State = 0x457c467c447f579ed7afaf432a46c660 Message-Authenticator = 0xcc373dbaa966a554c5a5a842877f7fed +- entering group authorize {...} ++[preprocess] returns ok [auth_log] expand: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/freeradius/radacct/192.168.103.10/auth-detail-20110516 [auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/192.168.103.10/auth-detail-20110516 [auth_log] expand: %t -> Mon May 16 15:28:43 2011 ++[auth_log] returns ok ++[chap] returns noop ++[mschap] returns noop [ntdomain] Looking up realm "ATL" for User-Name = "ATL\user" [ntdomain] No such realm "ATL" ++[ntdomain] returns noop [eap] EAP packet type response id 3 length 44 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated ++[files] returns noop ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = EAP +- entering group authenticate {...} [eap] Request found, released from the list [eap] EAP/leap [eap] processing type leap rlm_eap_leap: No Cleartext-Password or NT-Password configured for this user [eap] Handler failed in EAP/leap [eap] Failed in EAP select ++[eap] returns invalid Failed to authenticate the user. Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> ATL\user attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 5 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 5 Sending Access-Reject of id 90 to 192.168.103.10 port 32890 EAP-Message = 0x04030004 Message-Authenticator = 0x Flame on! Seriously though.. I'm going to keep working at this, just didn't know if someone would be able to help me out. Thanks. Mark PIpkin Systems Administrator Air2Web Office: +1 404 942 5365 E-mail: mark.pip...@air2web.com Mobilize your business. Find out how at www.air2web.com Follow us on Twitter @a2wmobile This message contains privileged and confidential information. If received in error, please delete immediately. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html