my freeradius-2.1.6 is not auth with PIN only.

Ivan Kalik tnt at kalik.net
Fri Jun 12 11:36:04 CEST 2009


> 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




More information about the Freeradius-Users mailing list