Failed to authenticate the user

George Innocent ginnocentus2002 at gmail.com
Tue Aug 7 12:05:13 CEST 2012


I have authenticated successfully locally but on trying the same from my
NAS using the same credentials it fails.
What could i be doing wrong>

rad_recv: Access-Request packet from host 10.250.0.7 port 43677, id=185,
length=70

NAS-IP-Address = 10.250.0.17

NAS-Identifier = "SAM-pst-clt"

NAS-Port = 1

User-Name = "admin"

User-Password = "admin"

Tue Aug 7 15:54:08 2012 : Info: # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default

Tue Aug 7 15:54:08 2012 : Info: +- entering group authorize {...}

Tue Aug 7 15:54:08 2012 : Info: ++[preprocess] returns ok

Tue Aug 7 15:54:08 2012 : Info: ++[chap] returns noop

Tue Aug 7 15:54:08 2012 : Info: ++[mschap] returns noop

Tue Aug 7 15:54:08 2012 : Info: ++[digest] returns noop

Tue Aug 7 15:54:08 2012 : Info: [suffix] No '@' in User-Name = "admin",
looking up realm NULL

Tue Aug 7 15:54:08 2012 : Info: [suffix] No such realm "NULL"

Tue Aug 7 15:54:08 2012 : Info: ++[suffix] returns noop

Tue Aug 7 15:54:08 2012 : Info: [eap] No EAP-Message, not doing EAP

Tue Aug 7 15:54:08 2012 : Info: ++[eap] returns noop

Tue Aug 7 15:54:08 2012 : Info: [files] users: Matched entry admin at line
6

Tue Aug 7 15:54:08 2012 : Info: ++[files] returns ok

Tue Aug 7 15:54:08 2012 : Info: ++[expiration] returns noop

Tue Aug 7 15:54:08 2012 : Info: ++[logintime] returns noop

Tue Aug 7 15:54:08 2012 : Info: [pap] WARNING: Auth-Type already set. Not
setting to PAP

Tue Aug 7 15:54:08 2012 : Info: ++[pap] returns noop

Tue Aug 7 15:54:08 2012 : Info: Found Auth-Type = PAP

Tue Aug 7 15:54:08 2012 : Info: # Executing group from file
/usr/local/etc/raddb/sites-enabled/default

Tue Aug 7 15:54:08 2012 : Info: +- entering group PAP {...}

Tue Aug 7 15:54:08 2012 : Info: [pap] login attempt with password "admin"

Tue Aug 7 15:54:08 2012 : Info: [pap] Using clear text password "testing"

Tue Aug 7 15:54:08 2012 : Info: [pap] Passwords don't match

Tue Aug 7 15:54:08 2012 : Info: ++[pap] returns reject

Tue Aug 7 15:54:08 2012 : Info: Failed to authenticate the user.

Tue Aug 7 15:54:08 2012 : Auth: Login incorrect (rlm_pap: CLEAR TEXT
password check failed): [admin/admin] (from client SAM-pst port 1)

Tue Aug 7 15:54:08 2012 : Info: Using Post-Auth-Type Reject

Tue Aug 7 15:54:08 2012 : Info: # Executing group from file
/usr/local/etc/raddb/sites-enabled/default

Tue Aug 7 15:54:08 2012 : Info: +- entering group REJECT {...}

Tue Aug 7 15:54:08 2012 : Info: [attr_filter.access_reject] expand:
%{User-Name} -> admin

Tue Aug 7 15:54:08 2012 : Debug: attr_filter: Matched entry DEFAULT at line
11

Tue Aug 7 15:54:08 2012 : Info: ++[attr_filter.access_reject] returns
updated

Tue Aug 7 15:54:08 2012 : Info: Delaying reject of request 43 for 1 seconds

Tue Aug 7 15:54:08 2012 : Debug: Going to the next request

Tue Aug 7 15:54:08 2012 : Debug: Waking up in 0.9 seconds.

Tue Aug 7 15:54:09 2012 : Info: Sending delayed reject for request 43

Sending Access-Reject of id 185 to 10.250.0.7 port 43677

Tue Aug 7 15:54:09 2012 : Debug: Waking up in 4.9 seconds.

Tue Aug 7 15:54:14 2012 : Info: Cleaning up request 43 ID 185 with
timestamp +519
Tue Aug 7 15:54:14 2012 : Info: Ready to process requests.

On Fri, Aug 3, 2012 at 6:58 PM, Alan DeKok <aland at deployingradius.com>wrote:

> George Innocent wrote:
> > I have checked on previous forums to this issue amended but still
> > finds errors on debug
> > Thanks to assist
>
>   We're trying.  You're not.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Regards:
George Innocent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120807/04323cd7/attachment.html>


More information about the Freeradius-Users mailing list