Hi Mariusz:

Please configure access from localhost in the
clients.conf file. You can test to make sure RADIUS 
is configured properly. Add:

client 127.0.0.1 {
secret = test
shortname = localhost
}


--- ww <[EMAIL PROTECTED]> wrote:
> Hello
> I have the problem with simple test. My
> configuration of freeradius:
> in "users" file:
> 
>  mario           Auth-Type:=Local,
> User-Password="mario"
>                  Reply-Message= "Hello durna palo"
> 
> in "clients" file:
> localhost               testing123
> 
> in "naslist" file:
> localhost               local           portslave
> 
> radiusd -X -f displays:
> 
> Module: Instantiated files (files)
> Module: Loaded Acct-Unique-Session-Id
>  acct_unique: key = "User-Name, Acct-Session-Id,
> NAS-IP-Address,
> Client-IP-Address, NAS-Port-Id"
> Module: Instantiated acct_unique (acct_unique)
> Module: Loaded detail
>  detail: detailfile =
>
"/home/plachnina/freerad/log/radacct/%{Client-IP-Address}/detail-%Y%m%d"
>  detail: detailperm = 384
>  detail: dirperm = 493
>  detail: locking = no
> Module: Instantiated detail (detail)
> Module: Loaded radutmp
>  radutmp: filename =
> "/home/plachnina/freerad/log/radutmp"
>  radutmp: username = "%{User-Name}"
>  radutmp: perm = 384
>  radutmp: callerid = yes
> Module: Instantiated radutmp (radutmp)
> Listening on IP address *, ports 1812/udp and
> 1813/udp, with proxy on
> 1814/udp.
> Ready to process requests.
> 
> [plachnina@matrix raddb]$ ~/freerad/bin/radtest
> mario mario localhost:1812
> 1900 testing123
> Sending Access-Request of id 151 to 127.0.0.1:1812
>         User-Name = "mario"
>         User-Password =
> "\005\021A\245`\370r\343\002\240\201t\327M\327\005"
>         NAS-IP-Address = matrix.pb.bialystok.pl
>         NAS-Port = 1900
> rad_recv: Access-Reject packet from host
> 127.0.0.1:1812, id=151, length=20
> 
> 
> and radiusd displays:
> rad_recv: Access-Request packet from host
> 127.0.0.1:32770, id=151, length=57
>         User-Name = "mario"
>         User-Password = "mario"
>         NAS-IP-Address = 255.255.255.255
>         NAS-Port = 1900
> modcall: entering group authorize
>   modcall[authorize]: module "preprocess" returns ok
> rlm_chap: Could not find proper Chap-Password
> attribute in request
>   modcall[authorize]: module "chap" returns noop
>   modcall[authorize]: module "mschap" returns
> notfound
>     rlm_realm: No '@' in User-Name = "mario",
> looking up realm NULL
>     rlm_realm: No such realm NULL
>   modcall[authorize]: module "suffix" returns noop
>     users: Matched DEFAULT at 213
>   modcall[authorize]: module "files" returns ok
> modcall: group authorize returns ok
> auth: No authenticate method (Auth-Type)
> configuration found for the
> request: Rejecting the user
> auth: Failed to validate the user.
> Delaying request 0 for 1 seconds
> Finished request 0
> 
> I suppose  radiusd has problem with
> Auth-Type:=local. What may be wrong?
> 
> regards
> Mariusz Bozewicz
> 
> 
> - 
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to