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

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


Hi,

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

Server :

rad_recv: Access-Request packet from host 127.0.0.1 port 37881, id=29,
length=57
        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 127.0.0.1 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.


Radtest

sudo radtest suman hello 127.0.0.1 0  testing123



Log


Sending Access-Request of id 203 to 127.0.0.1 port 1812
        User-Name = "suman"
        User-Password = "hello"
        NAS-IP-Address = 204.232.205.196
        NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=203,
length=34
        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: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100314/28d21155/attachment.html>


More information about the Freeradius-Users mailing list