authenticate fails

Spacelee fjctlzy at gmail.com
Tue Jun 8 10:42:29 CEST 2010


radtest says:

radtest test test localhost 2313 12345678
Sending Access-Request of id 142 to 127.0.0.1 port 1812
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 127.0.0.1
NAS-Port = 2313
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=142,
length=20


and the radius server says:
rad_recv: Access-Request packet from host 127.0.0.1 port 39501, id=142,
length=56
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 127.0.0.1
NAS-Port = 2313
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "test", 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 test at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] Found existing Auth-Type, not changing it.
++[pap] returns noop
Found Auth-Type = MSCHAP
+- entering group MS-CHAP {...}
[mschap] No MS-CHAP-Challenge in the request
++[mschap] returns reject
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> test
 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.
Sending delayed reject for request 0
Sending Access-Reject of id 142 to 127.0.0.1 port 39501
Waking up in 4.9 seconds.
Cleaning up request 0 ID 142 with timestamp +38
Ready to process requests.

I don't know why it fails
-- 
Spacelee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100608/99c81c93/attachment.html>


More information about the Freeradius-Users mailing list