radexample.c

Ibrar Ahmed abrar_ at yahoo.com
Sun Mar 25 12:39:39 CEST 2007


> > I have read the debug output it says "auth: Failed to validate the user". But when I have
> tried
> > same user/pass combination with radclient it works fine 
 
>   I know it's a lot of information, but reading it is the ONLY way you
> will solve the problem.

I have read all the information care fully and I have also added alot of debug messages in
radiusd.


> > auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the
> user
> > auth: Failed to validate the user.
> >   WARNING: Unprintable characters in the password. ?  Double-check the shared secret on the
> server
> > and the NAS!

I was thinking this was a secret issue. But I have cross checked it on my client and server side
both.

Here is packet output from radclient application (Works)


rad_recv: Access-Request packet from host 127.0.0.1:32844, id=223, length=49
        User-Name = "bob"
        User-Password = "bob"
        Framed-Protocol = PPP
  Processing the authorize section of radiusd.conf


and here is my radexample packet output (Do not works)


rad_recv: Access-Request packet from host 127.0.0.1:32855, id=223, length=55
        User-Name = "bob"
        User-Password = "\265\\VJ\250\\p\3515\216\230\3343\263HW"
        Service-Type = Authenticate-Only
        NAS-IP-Address = 127.0.0.1
  Processing the authorize section of radiusd.conf





>   Perhaps following those instructions would be useful.

Yup



>   Alan DeKok.
> --
>   http://deployingradius.com       - The web site of the book
>   http://deployingradius.com/blog/ - The blog
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 



 
____________________________________________________________________________________
Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather



More information about the Freeradius-Users mailing list