Access-Reject packet from host 127.0.0.1 port 1812, id=29, length=34
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
On Sat, Mar 13, 2010 at 8:14 PM, Suman Dash <sumandash@gmail.com> wrote:
+- entering group PAP {...} [pap] login attempt with password "hello" [pap] Using CRYPT encryption. [pap] Passwords don't match ++[pap] returns reject
I don't think you used a crypt password in your users file....
No, The Password is in Cleartext. How do i disable / Enable the CRYPT password ? On Sun, Mar 14, 2010 at 1:45 AM, YvesDM <ydmlog@gmail.com> wrote:
On Sat, Mar 13, 2010 at 8:14 PM, Suman Dash <sumandash@gmail.com> wrote:
+- entering group PAP {...} [pap] login attempt with password "hello" [pap] Using CRYPT encryption. [pap] Passwords don't match ++[pap] returns reject
I don't think you used a crypt password in your users file.... - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Sun, Mar 14, 2010 at 8:35 AM, Suman Dash <sumandash@gmail.com> wrote:
No, The Password is in Cleartext. How do i disable / Enable the CRYPT password ?
On the first day google was born.... http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg61708.h... kind regards
No Worries .. I managed to get past the error. Actually, i was using a same username that was in my /etc/shadow . I renamed the user and it worked. Cheers On Sun, Mar 14, 2010 at 7:04 PM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
Hi,
I am unable to locally authenticate a user from users file. Below is the log :
what does the entry in your users file look like?
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan Buxey -
Suman Dash -
YvesDM