ERROR: No authenticate method (Auth-Type) found for the request 解决

我以为碰到灵异问题了,
ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user
Failed to authenticate the user.

测试最新版的radiusd进行接入认证的时候
出这个错误,
Sending Access-Request of id 235 to 127.0.0.1 port 1812
User-Name = “user1”
User-Password = “pass1”
NAS-IP-Address = xx.xxx.xxx.xxx
NAS-Port = 1812
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=235, length=20
rad_verify: Received Access-Reject packet from home server 127.0.0.1 port 1812 with invalid signature! (Shared secret is incorrect.)
radclient: no response from server for ID 235 socket 3

经验主义害死人啊, 提示密匙不匹配,结果…….

最后在老外的论坛发现了
认证模式导致的错误

一个md5 一个是明文

解决方式
修改eap.conf
将 default_eap_type = md5
改为
default_eap_type = ttls

启动测试正常

[root@master ~]# radtest user1 pass1 localhost 1812 abcdefg
Sending Access-Request of id 174 to 127.0.0.1 port 1812
User-Name = “user1”
User-Password = “pass1”
NAS-IP-Address = xxx.xxx.xxx.xxx
NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=174, length=50
Framed-IP-Netmask = 255.255.255.255
Framed-IP-Address = 192.168.80.90
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-Compression = Van-Jacobson-TCP-IP

相关:

  • ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user
  • ERROR: No authenticate method (Auth-Type) found for the request: Rejecting t
  • Y1JW
  • rad_verify: Received Access-Reject packet from client 127 0 0 1 port 1812 with invalid signature (er
  • problemf6t
  • northyrp
  • No authenticate method (Auth-Type) found for the request: Rejecting the user Failed to authenticate the user
  • hollowmca
  • bat3t3
  • agreem2u

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Scroll to top