2014-12-04 155 views
1

我试图使用在Ubuntu 14.04上运行的Radiusd(FreeRADIUS v2.2.5)与CoovaChilli进行身份验证,但无法成功。CoovaChilli身份验证

CoovaChilli在ChilliSpot旁边使用了一些不同的参数。

根据it's own documentation,CoovaChili使用Auth:0或1 Chillispot使用Accept或Reject。

问题是我已经尝试了两个版本,我仍然无法使用radius进行身份验证。 我需要修改exec模块中的任何东西吗?我要继续工作两个版本(chillispot,coovachilli)

半径误差收到

... 
Found Auth-Type = Local 
WARNING: Please update your configuration, and remove 'Auth-Type = Local' 
WARNING: Use the PAP or CHAP modules instead. 
No "known good" password was configured for the user. 
As a result, we cannot authenticate the user. 
Failed to authenticate the user. 
    WARNING: Unprintable characters in the password. Double-check the shared secret on the server and the NAS! 
Using Post-Auth-Type REJECT 
... 

授权部分

authorize { 
... 
     exec 
     update control { 
       Auth-Type := "%{reply:Auth-Type}" 
     } 
... 
} 

执行模块

exec { 
     wait = yes 
     program = "authenticate.php" 
     input_pairs = request 
     shell_escape = yes 
     output = none 
     timeout = 10 
     output_pairs = reply 
} 

回答

0

如果您收到上述错误,那么您的共享密码不正确。 Access-Accept或Access-Reject使用共享密钥进行签名,所以如果不对,Chillispot将忽略该响应。

0

/etc/raddb/clients.conf 

我有一个空白字符定义客户端的密码我得到这个错误。

像:

client myClient { 
    ipaddr = 999.999.999.999 
    secret = password 123 
}