Access-Reject packet from host port 1812, id=29, length=34

Suman Dash sumandash at
Sat Mar 13 20:14:34 CET 2010


I am unable to locally authenticate a user from users file. Below is the log

Server :

rad_recv: Access-Request packet from host port 37881, id=29,
        User-Name = "suman"
        User-Password = "hello"
        NAS-IP-Address = 20x.20x.20x.20x
        NAS-Port = 0
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "suman", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns updated
[files] users: Matched entry suman at line 90
[files]         expand: Hello, %{User-Name} -> Hello, suman
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns updated
Found Auth-Type = PAP
+- entering group PAP {...}
[pap] login attempt with password "hello"
[pap] Using CRYPT encryption.
[pap] Passwords don't match
++[pap] returns reject
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject]     expand: %{User-Name} -> suman
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 2 for 1 seconds
Going to the next request
Waking up in 0.10 seconds.
Sending delayed reject for request 2
Sending Access-Reject of id 29 to port 37881
        Reply-Message = "Hello, suman"
Waking up in 4.9 seconds.
Cleaning up request 2 ID 29 with timestamp +164
Ready to process requests.


sudo radtest suman hello 0  testing123


Sending Access-Request of id 203 to port 1812
        User-Name = "suman"
        User-Password = "hello"
        NAS-IP-Address =
        NAS-Port = 0
rad_recv: Access-Reject packet from host port 1812, id=203,
        Reply-Message = "Hello, suman"

Please let me know what i am doing wrong as i am a complete starter.

Thanks and Regards
Suman Dash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list