Hello, I have installed debian lenny with freeradius 2.0.4-3:<br><br>/etc/freeradius# dpkg -l | grep freeradius<br>hi freeradius 2.0.4-3 a high-performance and highly configurable RADIUS server<br>
hi freeradius-common 2.0.4-3 FreeRadius common files<br>hi freeradius-ldap 2.0.4-3 LDAP module for FreeRADIUS server<br>hi freeradius-mysql 2.0.4-3 MySQL module for FreeRADIUS server<br>
hi freeradius-utils 2.0.4-3 FreeRadius client utilities<br>hi libfreeradius-dev 2.0.4-3 FreeRADIUS shared library development files<br>hi libfreeradius2 2.0.4-3 FreeRADIUS shared library<br>
<br> and I can't run the default configuration following this instructions <br clear="all"><br><a href="http://deployingradius.com/documents/configuration/pap.html">http://deployingradius.com/documents/configuration/pap.html</a><br>
<br>Here is my debug information:<br><br>/etc/freeradius# freeradius -X<br>FreeRADIUS Version 2.0.4, for host x86_64-pc-linux-gnu, built on Oct 20 2009 at 11:45:11<br>Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. <br>
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A <br>PARTICULAR PURPOSE. <br>You may redistribute copies of FreeRADIUS under the terms of the <br>GNU General Public License. <br>Starting - reading configuration files ...<br>
including configuration file /etc/freeradius/radiusd.conf<br>including configuration file /etc/freeradius/proxy.conf<br>including configuration file /etc/freeradius/clients.conf<br>including configuration file /etc/freeradius/snmp.conf<br>
including configuration file /etc/freeradius/eap.conf<br>including configuration file /etc/freeradius/policy.conf<br>including files in directory /etc/freeradius/sites-enabled/<br>including dictionary file /etc/freeradius/dictionary<br>
main {<br> prefix = "/usr"<br> localstatedir = "/var"<br> logdir = "/var/log/freeradius"<br> libdir = "/usr/lib/freeradius"<br> radacctdir = "/var/log/freeradius/radacct"<br>
hostname_lookups = no<br> max_request_time = 30<br> cleanup_delay = 5<br> max_requests = 1024<br> allow_core_dumps = no<br> pidfile = "/var/run/freeradius/freeradius.pid"<br> user = "freerad"<br>
group = "freerad"<br> checkrad = "/usr/sbin/checkrad"<br> debug_level = 0<br> proxy_requests = yes<br> security {<br> max_attributes = 200<br> reject_delay = 1<br> status_server = yes<br>
}<br>}<br> client localhost {<br> ipaddr = 127.0.0.1<br> require_message_authenticator = no<br> secret = "testing123"<br> nastype = "other"<br> }<br>radiusd: #### Loading Realms and Home Servers ####<br>
proxy server {<br> retry_delay = 5<br> retry_count = 3<br> default_fallback = no<br> dead_time = 120<br> wake_all_if_all_dead = no<br> }<br> home_server localhost {<br> ipaddr = 127.0.0.1<br> port = 1812<br>
type = "auth"<br> secret = "testing123"<br> response_window = 20<br> max_outstanding = 65536<br> zombie_period = 40<br> status_check = "status-server"<br> ping_check = "none"<br>
ping_interval = 30<br> check_interval = 30<br> num_answers_to_alive = 3<br> num_pings_to_alive = 3<br> revive_interval = 120<br> status_check_timeout = 4<br> }<br> home_server_pool my_auth_failover {<br>
type = fail-over<br> home_server = localhost<br> }<br> realm <a href="http://example.com">example.com</a> {<br> auth_pool = my_auth_failover<br> }<br> realm LOCAL {<br> }<br>radiusd: #### Instantiating modules ####<br>
instantiate {<br> Module: Linked to module rlm_exec<br> Module: Instantiating exec<br> exec {<br> wait = yes<br> input_pairs = "request"<br> shell_escape = yes<br> }<br> Module: Linked to module rlm_expr<br>
Module: Instantiating expr<br> Module: Linked to module rlm_expiration<br> Module: Instantiating expiration<br> expiration {<br> reply-message = "Password Has Expired "<br> }<br> Module: Linked to module rlm_logintime<br>
Module: Instantiating logintime<br> logintime {<br> reply-message = "You are calling outside your allowed timespan "<br> minimum-timeout = 60<br> }<br> }<br>radiusd: #### Loading Virtual Servers ####<br>
server {<br> modules {<br> }<br>}<br>radiusd: #### Opening IP addresses and Ports ####<br>listen {<br> type = "auth"<br> ipaddr = *<br> port = 0<br>}<br>listen {<br> type = "acct"<br> ipaddr = *<br>
port = 0<br>}<br>main {<br> snmp = no<br> smux_password = ""<br> snmp_write_access = no<br>}<br>Listening on authentication address * port 1812<br>Listening on accounting address * port 1813<br>Listening on proxy address * port 1814<br>
Ready to process requests.<br>rad_recv: Access-Request packet from host 127.0.0.1 port 53599, id=186, length=55<br> User-Name = "bob"<br> User-Password = "hello"<br> NAS-IP-Address = 127.0.1.1<br>
NAS-Port = 0<br>auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user<br>auth: Failed to validate the user.<br>Login incorrect: [bob/hello] (from client localhost port 0)<br>
Delaying reject of request 0 for 1 seconds<br>Going to the next request<br>Waking up in 0.9 seconds.<br>Sending delayed reject for request 0<br>Sending Access-Reject of id 186 to 127.0.0.1 port 53599<br>Waking up in 4.9 seconds.<br>
Cleaning up request 0 ID 186 with timestamp +4<br>Ready to process requests.<br><br>My request:<br><br>$ radtest bob hello localhost 0 testing123 <br>Sending Access-Request of id 186 to 127.0.0.1 port 1812<br> User-Name = "bob"<br>
User-Password = "hello"<br> NAS-IP-Address = 127.0.1.1<br> NAS-Port = 0<br>rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=186, length=20<br><br><br>Thankyou very much and sorry for my english<br>
<br>-- <br>____________________<br><br> Ana Gallardo Gómez<br>____________________<br>