Now Hiring: Are you a driven and motivated 1st Line IT Support Engineer?

Blog

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

其它内容

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

Leave your thought here

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

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare