我试图使用在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
}