- 论坛徽章:
- 0
|
本帖最后由 sem001 于 2010-08-19 11:54 编辑
我在表radcheck中 添加
id username attribute op value
1 myuser User-Password == mypass
然后客户端拨号,始终无法拨上去,提示用户名密码不对 错误:691
在radiusd -X 界面提示以下信息:
rad_recv: Access-Request packet from host 192.168.100.105 port 59294, id=40, length=122
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 37
NAS-Port-Type = Ethernet
User-Name = "myuser"
Calling-Station-Id = "00:23:54:5A:B9D"
Called-Station-Id = "service1"
NAS-Port-Id = "LAN_2"
User-Password = "mypass"
NAS-Identifier = "MikroTik"
NAS-IP-Address = 192.168.100.105
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "myuser", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns notfound
[files] users: Matched entry DEFAULT at line 173
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.
++[pap] returns noop
No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> myuser
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Request packet from host 192.168.100.105 port 59294, id=40, length=122
Waiting to send Access-Reject to client 192.168.100.105/32 port 59294 - ID: 40
Waking up in 0.6 seconds.
rad_recv: Access-Request packet from host 192.168.100.105 port 59294, id=40, length=122
Waiting to send Access-Reject to client 192.168.100.105/32 port 59294 - ID: 40
Waking up in 0.3 seconds.
Sending delayed reject for request 0
Sending Access-Reject of id 40 to 192.168.100.105 port 59294
Waking up in 4.9 seconds.
Cleaning up request 0 ID 40 with timestamp +7
Ready to process requests.
不知道问题在哪里,望指点下。谢谢。 |
|