半径服务器无响应是怎么回事,response - 鱿鱼半径认证“ RADIUS服务器无响应” - 堆栈内存溢出...

我已经用mysql成功配置了freeradius。 我可以使用命令radtest:

sudo radtest alice password 192.168.2.3 1812 testing123

Sending Access-Request of id 187 to 192.168.2.3 port 1812

User-Name = "alice"

User-Password = "password"

NAS-IP-Address = 127.0.1.1

NAS-Port = 1812

Message-Authenticator = 0x00000000000000000000000000000000

rad_recv: Access-Accept packet from host 192.168.2.3 port 1812, id=187, length=20

现在,我尝试使用半径认证的鱿鱼。

我从以下步骤开始:

但是我在cache.log上收到错误消息日志

Warning: Received invalid reply digest from server

Warning: Received invalid reply digest from server

Warning: Received invalid reply digest from server

squid_rad_auth: No response from RADIUS server

在radius -X debug上,有以下错误消息,例如:

Sending duplicate reply to client localprivate port 42003 – ID: 2

Sending Access-Reject of id 2 to 192.168.2.3 port 42003

Waking up in 2.9 seconds.

rad_recv: Access-Request packet from host 192.168.2.3 port 42003, id=2, length=63

Sending duplicate reply to client localprivate port 42003 – ID: 2

Sending Access-Reject of id 2 to 192.168.2.3 port 42003

Waking up in 0.9 seconds.

Found Auth-Type = PAP

# Executing group from file /usr/local/etc/raddb/sites-enabled/default

+- entering group PAP {…}

[pap] login attempt with password “b9?I? +�(�Ч�Y�?”

[pap] Using clear text password “password”

[pap] Passwords don’t match

++[pap] returns reject

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

那是什么错误? 我该如何解决

谢谢

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值