Thanks Ivan, i have discovered that and i removed the chillispot dictionary that i included and after that i was able to do the authentication. however, it is now complaining about my check-item pair as not being okay. How will i create the check-item value pair? i have appended the "ATTRIBUTE Max-Secs-Passed 3000 integer" to my radius dictionary file, Thanks for your help. On Fri, Jun 12, 2009 at 10:36 AM, Ivan Kalik <tnt@kalik.net> wrote:
However, the hotspotlogin,cgi is able to pass the param username to the radius
Sort of.
rad_recv: Access-Request packet from host 127.0.0.1 port 44600, id=0, length=189 ChilliSpot-Max-Input-Octets = 0x32333435363738393031 ChilliSpot-Max-Output-Octets = 0 NAS-IP-Address = 127.0.0.1 Service-Type = Login-User Framed-IP-Address = 192.168.182.2 Calling-Station-Id = "00-1F-29-80-62-F3" Called-Station-Id = "00-50-DA-0C-C9-B0" NAS-Identifier = "nas01" Acct-Session-Id = "4a2e6a7700000000" NAS-Port-Type = Wireless-802.11 NAS-Port = 0 Message-Authenticator = 0xf2ee6add34820fb96dcceef08c07bbc5 WISPr-Logoff-URL = "http://192.168.182.1:3990/logoff"
There is no User-Name in the packet.
but when the query is run against the database the "Tue Jun 9 14:59:48 2009 : Info: [sql] expand: %{User-Name} -> 0x32333435363738393031" the value of the username sent is changed.
Your dictionaries are badly broken. Whatever you have done - put it back. Chillispot dictionary is included by default in 2.1.6.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html