问题描述
我正在尝试使用在Ubuntu 14.04上运行的Radiusd(FreeRADIUS v2.2.5)对CoovaChilli进行身份验证,但无法成功.
I'm trying to authenticate with CoovaChilli using Radiusd (FreeRADIUS v2.2.5) which is running on Ubuntu 14.04 and I can't succeed.
CoovaChilli除了使用ChilliSpot以外,还使用其他一些参数.
CoovaChilli is using some different parameters beside to ChilliSpot.
基于它是自己的文档,CoovaChili使用Auth:0或1Chillispot可与接受"或拒绝"一起使用.
Based on it's own documentation, CoovaChili works with Auth: 0 or 1Chillispot works with Accept or Reject.
问题是我尝试了两个版本,但仍然无法通过radius进行身份验证.我是否需要修改exec模块中的任何内容?我想继续使用这两个版本(chillispot,coovachilli)
The problem is that I've tried both versions and I still cannot authenticate with radius. Do I have to modify anything in exec module ? I want to keep working both versions (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
}
推荐答案
在
/etc/raddb/clients.conf
我用空格字符定义了客户端的密码.
I defined the password of the client with a whitespace character.
赞:
client myClient {
ipaddr = 999.999.999.999
secret = password 123
}
这篇关于CoovaChilli认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!