Hi,
<br>
<br>I am unable to locally authenticate a user from users file. Below is the
log :
<br>
<br>Server :
<br>
<br>rad_recv: Access-Request packet from host 127.0.0.1 port 37881, id=29,
length=57
<br> User-Name = "suman"
<br> User-Password = "hello"
<br> NAS-IP-Address = 20x.20x.20x.20x
<br> NAS-Port = 0
<br>+- entering group authorize {...}
<br>++[preprocess] returns ok
<br>++[chap] returns noop
<br>++[mschap] returns noop
<br>[suffix] No '@' in User-Name = "suman", looking up realm NULL
<br>[suffix] No such realm "NULL"
<br>++[suffix] returns noop
<br>[eap] No EAP-Message, not doing EAP
<br>++[eap] returns noop
<br>++[unix] returns updated
<br>[files] users: Matched entry suman at line 90
<br>[files] expand: Hello, %{User-Name} -> Hello, suman
<br>++[files] returns ok
<br>++[expiration] returns noop
<br>++[logintime] returns noop
<br>++[pap] returns updated
<br>Found Auth-Type = PAP
<br>+- entering group PAP {...}
<br>[pap] login attempt with password "hello"
<br>[pap] Using CRYPT encryption.
<br>[pap] Passwords don't match
<br>++[pap] returns reject
<br>Failed to authenticate the user.
<br>Using Post-Auth-Type Reject
<br>+- entering group REJECT {...}
<br>[attr_filter.access_reject] expand: %{User-Name} -> suman
<br> attr_filter: Matched entry DEFAULT at line 11
<br>++[attr_filter.access_reject] returns updated
<br>Delaying reject of request 2 for 1 seconds
<br>Going to the next request
<br>Waking up in 0.10 seconds.
<br>Sending delayed reject for request 2
<br>Sending Access-Reject of id 29 to 127.0.0.1 port 37881
<br> Reply-Message = "Hello, suman"
<br>Waking up in 4.9 seconds.
<br>Cleaning up request 2 ID 29 with timestamp +164
<br>Ready to process requests.
<br>
<br>
<br>Radtest
<br>
<br>sudo radtest suman hello 127.0.0.1 0 testing123
<br>
<br>
<br>
<br>Log
<br>
<br>
<br>Sending Access-Request of id 203 to 127.0.0.1 port 1812
<br> User-Name = "suman"
<br> User-Password = "hello"
<br> NAS-IP-Address = 204.232.205.196
<br> NAS-Port = 0
<br>rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=203,
length=34
<br> Reply-Message = "Hello, suman"
<br>
<br>
<br>Please let me know what i am doing wrong as i am a complete starter.
<br>
<br>Thanks and Regards
<br>Suman Dash