<div dir="ltr">Hi, the changes i have done in FreeRadius configuration:<div><br></div><div style>I have read than client and user files are not necesary, the others files are:</div><div style><br></div><div>/etc/raddb/eap.conf </div>
<div><br></div><div style>##tls part<br></div><div><div> tls {</div><div> certdir = ${confdir}/certs<br></div><div> cadir = ${confdir}/certs</div><div> private_key_password = newpassword ### (i have change the password when i make new certificates, the .cnf files were changed in certs folder)<br>
</div><div> private_key_file = ${certdir}/server.pem</div></div><div><div> certificate_file = ${certdir}/server.pem</div></div><div> CA_file = ${cadir}/ca.pem<br>
</div><div><div> dh_file = ${certdir}/dh</div><div> random_file = ${certdir}/random</div></div><div> CA_path = ${cadir}<br></div><div><div> cipher_list = "DEFAULT"</div>
</div><div> }</div><div><br></div><div style>/etc/raddb/modules/ldap</div><div><div>ldap {</div><div><br></div><div> server = "192.168.200.2"</div><div> basedn = "ou=Usuarios,dc=escuelassj"</div>
<div> identity = "cn=user,dc=escuelassj"</div><div> password = passwd</div></div><div> ldap_connections_number = 5<br></div><div> timeout = 4 </div><div class="gmail_extra"> timelimit = 3</div>
<div class="gmail_extra"> net_timeout = 1</div><div class="gmail_extra"><div class="gmail_extra"> tls {</div><div class="gmail_extra"> start_tls = no<br></div><div class="gmail_extra"> }</div>
<div> dictionary_mapping = ${confdir}/ldap.attrmap<br></div><div> edir_account_policy_check = no<br></div><div><div> keepalive {</div><div> idle = 60</div><div> probes = 3</div>
<div> interval = 3</div><div> }</div><div>}</div></div><div><br></div><div style>/etc/raddb/sites-avaible/default</div><div style><br></div><div style><div>authorize {</div><div> preprocess</div>
<div> chap</div><div> mschap</div><div> digest</div><div> suffix</div><div> eap {</div><div> ok = return</div><div> }</div><div> files</div><div> ldap</div>
<div> expiration</div><div> logintime</div><div> pap</div><div>}</div><div><div>authenticate {</div><div> Auth-Type PAP {</div><div> pap</div><div> }</div><div> Auth-Type CHAP {</div>
<div> chap</div><div> }</div><div> Auth-Type MS-CHAP {</div><div> mschap</div><div> }</div><div> digest</div><div> unix</div><div> eap</div><div>}</div>
</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">preacct {</div><div class="gmail_extra"> preprocess</div><div class="gmail_extra"><br></div><div class="gmail_extra">
acct_unique</div><div class="gmail_extra"> suffix</div><div class="gmail_extra"> files</div><div class="gmail_extra">}</div><div><div>accounting {</div><div> detail</div><div> unix</div>
<div> radutmp</div><div> exec</div><div> attr_filter.accounting_response</div><div>}</div></div><div><br></div></div><div class="gmail_extra"><br></div><br><div class="gmail_quote">
2013/5/31 Roberto Ortega Ramiro <span dir="ltr"><<a href="mailto:roberto.ortega@esj.es" target="_blank">roberto.ortega@esj.es</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div>I have read many times the <a href="http://deployingradius.com" target="_blank">deployingradius.com</a> guide, i have visit<br>
this site many times too.<br>
I'm no able to enable wpa_supplicant, but every test with radtest are<br>
good i have config freeradius for ldap.<br>
<br>
I attach the debbug file radiusd -X<br>
<br>
I have take the file ca.pem in the validation asistan in gnome, i'm<br>
using ubuntu.<br>
<br>
What is wrong? Any idea?<br>
<br>
Thank you.<br>
<br>
PD: sorry about my bad inglish, it's posible that my bad english is<br>
the reason becouse i'm not able to configure freeradius properly.<br>
<br>
<br>
<br>
FreeRADIUS Version 2.1.12, for host x86_64-redhat-linux-gnu, built on<br>
Jan 9 2013 at 05:03:12<br>
Copyright (C) 1999-2009 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 v2.<br>
Starting - reading configuration files ...<br>
including configuration file /etc/raddb/radiusd.conf<br>
including configuration file /etc/raddb/proxy.conf<br>
including configuration file /etc/raddb/clients.conf<br>
including files in directory /etc/raddb/modules/<br>
including configuration file /etc/raddb/modules/smbpasswd<br>
including configuration file /etc/raddb/modules/opendirectory<br>
including configuration file /etc/raddb/modules/ippool<br>
including configuration file /etc/raddb/modules/wimax<br>
including configuration file /etc/raddb/modules/inner-eap<br>
including configuration file /etc/raddb/modules/pam<br>
including configuration file /etc/raddb/modules/logintime<br>
including configuration file /etc/raddb/modules/files<br>
including configuration file /etc/raddb/modules/acct_unique<br>
including configuration file /etc/raddb/modules/redis<br>
including configuration file /etc/raddb/modules/unix<br>
including configuration file /etc/raddb/modules/attr_rewrite<br>
including configuration file /etc/raddb/modules/etc_group<br>
including configuration file /etc/raddb/modules/realm<br>
including configuration file /etc/raddb/modules/<a href="http://detail.example.com" target="_blank">detail.example.com</a><br>
including configuration file /etc/raddb/modules/soh<br>
including configuration file /etc/raddb/modules/sradutmp<br>
including configuration file /etc/raddb/modules/counter<br>
including configuration file /etc/raddb/modules/detail<br>
including configuration file /etc/raddb/modules/mac2ip<br>
including configuration file /etc/raddb/modules/otp<br>
including configuration file /etc/raddb/modules/echo<br>
including configuration file /etc/raddb/modules/always<br>
including configuration file /etc/raddb/modules/sqlcounter_expire_on_login<br>
including configuration file /etc/raddb/modules/linelog<br>
including configuration file /etc/raddb/modules/passwd<br>
including configuration file /etc/raddb/modules/ntlm_auth<br>
including configuration file /etc/raddb/modules/chap<br>
including configuration file /etc/raddb/modules/sql_log<br>
including configuration file /etc/raddb/modules/ldap<br>
including configuration file /etc/raddb/modules/policy<br>
including configuration file /etc/raddb/modules/cui<br>
including configuration file /etc/raddb/modules/pap<br>
including configuration file /etc/raddb/modules/expiration<br>
including configuration file /etc/raddb/modules/mac2vlan<br>
including configuration file /etc/raddb/modules/dynamic_clients<br>
including configuration file /etc/raddb/modules/replicate<br>
including configuration file /etc/raddb/modules/expr<br>
including configuration file /etc/raddb/modules/checkval<br>
including configuration file /etc/raddb/modules/detail.log<br>
including configuration file /etc/raddb/modules/rediswho<br>
including configuration file /etc/raddb/modules/exec<br>
including configuration file /etc/raddb/modules/radutmp<br>
including configuration file /etc/raddb/modules/smsotp<br>
including configuration file /etc/raddb/modules/perl<br>
including configuration file /etc/raddb/modules/preprocess<br>
including configuration file /etc/raddb/modules/mschap<br>
including configuration file /etc/raddb/modules/attr_filter<br>
including configuration file /etc/raddb/modules/digest<br>
including configuration file /etc/raddb/eap.conf<br>
including configuration file /etc/raddb/policy.conf<br>
including files in directory /etc/raddb/sites-enabled/<br>
including configuration file /etc/raddb/sites-enabled/inner-tunnel<br>
including configuration file /etc/raddb/sites-enabled/control-socket<br>
including configuration file /etc/raddb/sites-enabled/default<br>
main {<br>
user = "radiusd"<br>
group = "radiusd"<br>
allow_core_dumps = no<br>
}<br>
including dictionary file /etc/raddb/dictionary<br>
main {<br>
name = "radiusd"<br>
prefix = "/usr"<br>
localstatedir = "/var"<br>
sbindir = "/usr/sbin"<br>
logdir = "/var/log/radius"<br>
run_dir = "/var/run/radiusd"<br>
libdir = "/usr/lib64/freeradius"<br>
radacctdir = "/var/log/radius/radacct"<br>
hostname_lookups = no<br>
max_request_time = 30<br>
cleanup_delay = 5<br>
max_requests = 1024<br>
pidfile = "/var/run/radiusd/radiusd.pid"<br>
checkrad = "/usr/sbin/checkrad"<br>
debug_level = 0<br>
proxy_requests = yes<br>
log {<br>
stripped_names = no<br>
auth = no<br>
auth_badpass = no<br>
auth_goodpass = no<br>
}<br>
security {<br>
max_attributes = 200<br>
reject_delay = 1<br>
status_server = yes<br>
}<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>
require_message_authenticator = yes<br>
zombie_period = 40<br>
status_check = "status-server"<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>
coa {<br>
irt = 2<br>
mrt = 16<br>
mrc = 5<br>
mrd = 30<br>
}<br>
}<br>
home_server_pool my_auth_failover {<br>
type = fail-over<br>
home_server = localhost<br>
}<br>
realm <a href="http://example.com" target="_blank">example.com</a> {<br>
auth_pool = my_auth_failover<br>
}<br>
realm LOCAL {<br>
}<br>
radiusd: #### Loading Clients ####<br>
client localhost {<br>
ipaddr = 127.0.0.1<br>
require_message_authenticator = no<br>
secret = "testing123"<br>
nastype = "other"<br>
}<br>
client <a href="http://192.168.120.0/23" target="_blank">192.168.120.0/23</a> {<br>
require_message_authenticator = no<br>
secret = "test"<br>
shortname = "private-network-2"<br>
}<br>
client 192.168.202.252 {<br>
require_message_authenticator = no<br>
secret = "test"<br>
shortname = "ldap"<br>
}<br>
radiusd: #### Instantiating modules ####<br>
instantiate {<br>
Module: Linked to module rlm_exec<br>
Module: Instantiating module "exec" from file /etc/raddb/modules/exec<br>
exec {<br>
wait = no<br>
input_pairs = "request"<br>
shell_escape = yes<br>
}<br>
Module: Linked to module rlm_expr<br>
Module: Instantiating module "expr" from file /etc/raddb/modules/expr<br>
Module: Linked to module rlm_expiration<br>
Module: Instantiating module "expiration" from file<br>
/etc/raddb/modules/expiration<br>
expiration {<br>
reply-message = "Password Has Expired "<br>
}<br>
Module: Linked to module rlm_logintime<br>
Module: Instantiating module "logintime" from file /etc/raddb/modules/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 { # from file /etc/raddb/radiusd.conf<br>
modules {<br>
Module: Creating Auth-Type = digest<br>
Module: Creating Post-Auth-Type = REJECT<br>
Module: Checking authenticate {...} for more modules to load<br>
Module: Linked to module rlm_pap<br>
Module: Instantiating module "pap" from file /etc/raddb/modules/pap<br>
pap {<br>
encryption_scheme = "auto"<br>
auto_header = no<br>
}<br>
Module: Linked to module rlm_chap<br>
Module: Instantiating module "chap" from file /etc/raddb/modules/chap<br>
Module: Linked to module rlm_mschap<br>
Module: Instantiating module "mschap" from file /etc/raddb/modules/mschap<br>
mschap {<br>
use_mppe = yes<br>
require_encryption = no<br>
require_strong = no<br>
with_ntdomain_hack = no<br>
allow_retry = yes<br>
}<br>
Module: Linked to module rlm_digest<br>
Module: Instantiating module "digest" from file /etc/raddb/modules/digest<br>
Module: Linked to module rlm_unix<br>
Module: Instantiating module "unix" from file /etc/raddb/modules/unix<br>
unix {<br>
radwtmp = "/var/log/radius/radwtmp"<br>
}<br>
Module: Linked to module rlm_eap<br>
Module: Instantiating module "eap" from file /etc/raddb/eap.conf<br>
eap {<br>
default_eap_type = "md5"<br>
timer_expire = 60<br>
ignore_unknown_eap_types = no<br>
cisco_accounting_username_bug = no<br>
max_sessions = 4096<br>
}<br>
Module: Linked to sub-module rlm_eap_md5<br>
Module: Instantiating eap-md5<br>
Module: Linked to sub-module rlm_eap_leap<br>
Module: Instantiating eap-leap<br>
Module: Linked to sub-module rlm_eap_gtc<br>
Module: Instantiating eap-gtc<br>
gtc {<br>
challenge = "Password: "<br>
auth_type = "PAP"<br>
}<br>
Module: Linked to sub-module rlm_eap_tls<br>
Module: Instantiating eap-tls<br>
tls {<br>
rsa_key_exchange = no<br>
dh_key_exchange = yes<br>
rsa_key_length = 512<br>
dh_key_length = 512<br>
verify_depth = 0<br>
CA_path = "/etc/raddb/certs"<br>
pem_file_type = yes<br>
private_key_file = "/etc/raddb/certs/server.pem"<br>
certificate_file = "/etc/raddb/certs/server.pem"<br>
CA_file = "/etc/raddb/certs/ca.pem"<br>
private_key_password = "escuelas"<br>
dh_file = "/etc/raddb/certs/dh"<br>
random_file = "/etc/raddb/certs/random"<br>
fragment_size = 1024<br>
include_length = yes<br>
check_crl = no<br>
cipher_list = "DEFAULT"<br>
cache {<br>
enable = no<br>
lifetime = 24<br>
max_entries = 255<br>
}<br>
verify {<br>
}<br>
ocsp {<br>
enable = no<br>
override_cert_url = yes<br>
url = "<a href="http://127.0.0.1/ocsp/" target="_blank">http://127.0.0.1/ocsp/</a>"<br>
}<br>
}<br>
Module: Linked to sub-module rlm_eap_ttls<br>
Module: Instantiating eap-ttls<br>
ttls {<br>
default_eap_type = "md5"<br>
copy_request_to_tunnel = no<br>
use_tunneled_reply = no<br>
virtual_server = "inner-tunnel"<br>
include_length = yes<br>
}<br>
Module: Linked to sub-module rlm_eap_peap<br>
Module: Instantiating eap-peap<br>
peap {<br>
default_eap_type = "mschapv2"<br>
copy_request_to_tunnel = no<br>
use_tunneled_reply = no<br>
proxy_tunneled_request_as_eap = yes<br>
virtual_server = "inner-tunnel"<br>
soh = no<br>
}<br>
Module: Linked to sub-module rlm_eap_mschapv2<br>
Module: Instantiating eap-mschapv2<br>
mschapv2 {<br>
with_ntdomain_hack = no<br>
send_error = no<br>
}<br>
Module: Checking authorize {...} for more modules to load<br>
Module: Linked to module rlm_preprocess<br>
Module: Instantiating module "preprocess" from file<br>
/etc/raddb/modules/preprocess<br>
preprocess {<br>
huntgroups = "/etc/raddb/huntgroups"<br>
hints = "/etc/raddb/hints"<br>
with_ascend_hack = no<br>
ascend_channels_per_line = 23<br>
with_ntdomain_hack = no<br>
with_specialix_jetstream_hack = no<br>
with_cisco_vsa_hack = no<br>
with_alvarion_vsa_hack = no<br>
}<br>
Module: Linked to module rlm_realm<br>
Module: Instantiating module "suffix" from file /etc/raddb/modules/realm<br>
realm suffix {<br>
format = "suffix"<br>
delimiter = "@"<br>
ignore_default = no<br>
ignore_null = no<br>
}<br>
Module: Linked to module rlm_files<br>
Module: Instantiating module "files" from file /etc/raddb/modules/files<br>
files {<br>
usersfile = "/etc/raddb/users"<br>
acctusersfile = "/etc/raddb/acct_users"<br>
preproxy_usersfile = "/etc/raddb/preproxy_users"<br>
compat = "no"<br>
}<br>
Module: Linked to module rlm_ldap<br>
Module: Instantiating module "ldap" from file /etc/raddb/modules/ldap<br>
ldap {<br>
server = "ldap.server"<br>
port = 389<br>
password = "passwd"<br>
identity = "domineUSer"<br>
net_timeout = 1<br>
timeout = 4<br>
timelimit = 3<br>
tls_mode = no<br>
start_tls = no<br>
tls_require_cert = "allow"<br>
tls {<br>
start_tls = no<br>
require_cert = "allow"<br>
}<br>
basedn = "ou=Usuarios,dc=escuelassj"<br>
filter = "(uid=%u)"<br>
base_filter = "(objectclass=radiusprofile)"<br>
auto_header = no<br>
access_attr_used_for_allow = yes<br>
groupname_attribute = "cn"<br>
groupmembership_filter =<br>
"(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"<br>
dictionary_mapping = "/etc/raddb/ldap.attrmap"<br>
ldap_debug = 0<br>
ldap_connections_number = 5<br>
compare_check_items = no<br>
do_xlat = yes<br>
set_auth_type = yes<br>
keepalive {<br>
interval = 3<br>
}<br>
}<br>
rlm_ldap: Registering ldap_groupcmp for Ldap-Group<br>
rlm_ldap: Registering ldap_xlat with xlat_name ldap<br>
rlm_ldap: Over-riding set_auth_type, as there is no module ldap listed<br>
in the "authenticate" section.<br>
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap<br>
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$<br>
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$<br>
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type<br>
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use<br>
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id<br>
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id<br>
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password<br>
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password<br>
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password<br>
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password<br>
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password<br>
rlm_ldap: LDAP userPassword mapped to RADIUS Password-With-Header<br>
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT<br>
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration<br>
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address<br>
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type<br>
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol<br>
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address<br>
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask<br>
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route<br>
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing<br>
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id<br>
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU<br>
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression<br>
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host<br>
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service<br>
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port<br>
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number<br>
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id<br>
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network<br>
rlm_ldap: LDAP radiusClass mapped to RADIUS Class<br>
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout<br>
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout<br>
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action<br>
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service<br>
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node<br>
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group<br>
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link<br>
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS<br>
Framed-AppleTalk-Network<br>
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone<br>
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit<br>
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port<br>
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message<br>
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type<br>
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type<br>
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS<br>
Tunnel-Private-Group-Id<br>
conns: 0x2addb70564d0<br>
Module: Checking preacct {...} for more modules to load<br>
Module: Linked to module rlm_acct_unique<br>
Module: Instantiating module "acct_unique" from file<br>
/etc/raddb/modules/acct_unique<br>
acct_unique {<br>
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"<br>
}<br>
Module: Checking accounting {...} for more modules to load<br>
Module: Linked to module rlm_detail<br>
Module: Instantiating module "detail" from file /etc/raddb/modules/detail<br>
detail {<br>
detailfile = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"<br>
header = "%t"<br>
detailperm = 384<br>
dirperm = 493<br>
locking = no<br>
log_packet_header = no<br>
}<br>
Module: Linked to module rlm_radutmp<br>
Module: Instantiating module "radutmp" from file /etc/raddb/modules/radutmp<br>
radutmp {<br>
filename = "/var/log/radius/radutmp"<br>
username = "%{User-Name}"<br>
case_sensitive = yes<br>
check_with_nas = yes<br>
perm = 384<br>
callerid = yes<br>
}<br>
Module: Linked to module rlm_attr_filter<br>
Module: Instantiating module "attr_filter.accounting_response" from<br>
file /etc/raddb/modules/attr_filter<br>
attr_filter attr_filter.accounting_response {<br>
attrsfile = "/etc/raddb/attrs.accounting_response"<br>
key = "%{User-Name}"<br>
relaxed = no<br>
}<br>
Module: Checking session {...} for more modules to load<br>
Module: Checking post-proxy {...} for more modules to load<br>
Module: Checking post-auth {...} for more modules to load<br>
Module: Instantiating module "attr_filter.access_reject" from file<br>
/etc/raddb/modules/attr_filter<br>
attr_filter attr_filter.access_reject {<br>
attrsfile = "/etc/raddb/attrs.access_reject"<br>
key = "%{User-Name}"<br>
relaxed = no<br>
}<br>
} # modules<br>
} # server<br>
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel<br>
modules {<br>
Module: Checking authenticate {...} for more modules to load<br>
Module: Checking authorize {...} for more modules to load<br>
Module: Checking session {...} for more modules to load<br>
Module: Checking post-proxy {...} for more modules to load<br>
Module: Checking post-auth {...} for more modules to load<br>
} # modules<br>
} # server<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>
listen {<br>
type = "control"<br>
listen {<br>
socket = "/var/run/radiusd/radiusd.sock"<br>
}<br>
}<br>
listen {<br>
type = "auth"<br>
ipaddr = 127.0.0.1<br>
port = 18120<br>
}<br>
... adding new socket proxy address * port 52539<br>
Listening on authentication address * port 1812<br>
Listening on accounting address * port 1813<br>
Listening on command file /var/run/radiusd/radiusd.sock<br>
Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel<br>
Listening on proxy address * port 1814<br>
Ready to process requests.<br>
rad_recv: Access-Request packet from host 192.168.202.252 port 46850,<br>
id=177, length=178<br>
User-Name = "clemente.blanch"<br>
NAS-IP-Address = 192.168.202.252<br>
NAS-Port = 2049<br>
Called-Station-Id = "00-90-0B-23-2E-BF:Escuelas-Radius"<br>
Calling-Station-Id = "4C-ED-DE-2C-9C-B2"<br>
Framed-MTU = 1250<br>
NAS-Port-Type = Wireless-802.11<br>
Framed-Compression = None<br>
Connect-Info = "CONNECT 802.11g"<br>
EAP-Message = 0x0201001401636c656d656e74652e626c616e6368<br>
Message-Authenticator = 0x0be07d35efe547bae8a31bfa7dc9b644<br>
# Executing section authorize from file /etc/raddb/sites-enabled/default<br>
+- entering group authorize {...}<br>
++[preprocess] returns ok<br>
++[chap] returns noop<br>
++[mschap] returns noop<br>
++[digest] returns noop<br>
[suffix] No '@' in User-Name = "clemente.blanch", looking up realm NULL<br>
[suffix] No such realm "NULL"<br>
++[suffix] returns noop<br>
[eap] EAP packet type response id 1 length 20<br>
[eap] No EAP Start, assuming it's an on-going EAP conversation<br>
++[eap] returns updated<br>
++[files] returns noop<br>
[ldap] performing user authorization for clemente.blanch<br>
[ldap] expand: (uid=%u) -> (uid=clemente.blanch)<br>
[ldap] expand: ou=Usuarios,dc=escuelassj -> ou=Usuarios,dc=escuelassj<br>
[ldap] ldap_get_conn: Checking Id: 0<br>
[ldap] ldap_get_conn: Got Id: 0<br>
[ldap] attempting LDAP reconnection<br>
[ldap] (re)connect to <a href="http://192.168.200.208:389" target="_blank">192.168.200.208:389</a>, authentication 0<br>
[ldap] bind as cn=root,dc=escuelassj/passwd to <a href="http://192.168.200.208:389" target="_blank">192.168.200.208:389</a><br>
[ldap] waiting for bind result ...<br>
[ldap] Bind was successful<br>
[ldap] performing search in ou=Usuarios,dc=escuelassj, with filter<br>
(uid=clemente.blanch)<br>
[ldap] looking for check items in directory...<br>
[ldap] userPassword -> Password-With-Header ==<br>
"{SSHA}ZUTv0zmZc619XgoJHvSJpoHV4edmdVc0"<br>
[ldap] sambaNtPassword -> NT-Password ==<br>
0x3130363939383944313338324335343830464532353633374646303236314138<br>
[ldap] sambaLmPassword -> LM-Password ==<br>
0x3836333231454630413134313242443441414433423433354235313430344545<br>
[ldap] looking for reply items in directory...<br>
[ldap] user clemente.blanch authorized to use remote access<br>
[ldap] ldap_release_conn: Release Id: 0<br>
++[ldap] returns ok<br>
++[expiration] returns noop<br>
++[logintime] returns noop<br>
[pap] Normalizing NT-Password from hex encoding<br>
[pap] Normalizing LM-Password from hex encoding<br>
[pap] Normalizing SSHA1-Password from base64 encoding<br>
[pap] WARNING: Auth-Type already set. Not setting to PAP<br>
++[pap] returns noop<br>
Found Auth-Type = EAP<br>
# Executing group from file /etc/raddb/sites-enabled/default<br>
+- entering group authenticate {...}<br>
[eap] EAP Identity<br>
[eap] processing type md5<br>
rlm_eap_md5: Issuing Challenge<br>
++[eap] returns handled<br>
Sending Access-Challenge of id 177 to 192.168.202.252 port 46850<br>
EAP-Message = 0x01020016041029ef720b1fc4b5d33ad93db3b7440dd1<br>
Message-Authenticator = 0x00000000000000000000000000000000<br>
State = 0x4300b9324302bd785bc66cf0b8940050<br>
Finished request 0.<br>
Going to the next request<br>
Waking up in 4.9 seconds.<br>
rad_recv: Access-Request packet from host 192.168.202.252 port 46850,<br>
id=178, length=182<br>
User-Name = "clemente.blanch"<br>
NAS-IP-Address = 192.168.202.252<br>
NAS-Port = 2049<br>
Called-Station-Id = "00-90-0B-23-2E-BF:Escuelas-Radius"<br>
Calling-Station-Id = "4C-ED-DE-2C-9C-B2"<br>
Framed-MTU = 1250<br>
NAS-Port-Type = Wireless-802.11<br>
Framed-Compression = None<br>
Connect-Info = "CONNECT 802.11g"<br>
EAP-Message = 0x020200060315<br>
State = 0x4300b9324302bd785bc66cf0b8940050<br>
Message-Authenticator = 0x85b25270b6ad4a02c4a441365de04f9b<br>
# Executing section authorize from file /etc/raddb/sites-enabled/default<br>
+- entering group authorize {...}<br>
++[preprocess] returns ok<br>
++[chap] returns noop<br>
++[mschap] returns noop<br>
++[digest] returns noop<br>
[suffix] No '@' in User-Name = "clemente.blanch", looking up realm NULL<br>
[suffix] No such realm "NULL"<br>
++[suffix] returns noop<br>
[eap] EAP packet type response id 2 length 6<br>
[eap] No EAP Start, assuming it's an on-going EAP conversation<br>
++[eap] returns updated<br>
++[files] returns noop<br>
[ldap] performing user authorization for clemente.blanch<br>
[ldap] expand: (uid=%u) -> (uid=clemente.blanch)<br>
[ldap] expand: ou=Usuarios,dc=escuelassj -> ou=Usuarios,dc=escuelassj<br>
[ldap] ldap_get_conn: Checking Id: 0<br>
[ldap] ldap_get_conn: Got Id: 0<br>
[ldap] performing search in ou=Usuarios,dc=escuelassj, with filter<br>
(uid=clemente.blanch)<br>
[ldap] looking for check items in directory...<br>
[ldap] userPassword -> Password-With-Header ==<br>
"{SSHA}ZUTv0zmZc619XgoJHvSJpoHV4edmdVc0"<br>
[ldap] sambaNtPassword -> NT-Password ==<br>
0x3130363939383944313338324335343830464532353633374646303236314138<br>
[ldap] sambaLmPassword -> LM-Password ==<br>
0x3836333231454630413134313242443441414433423433354235313430344545<br>
[ldap] looking for reply items in directory...<br>
[ldap] user clemente.blanch authorized to use remote access<br>
[ldap] ldap_release_conn: Release Id: 0<br>
++[ldap] returns ok<br>
++[expiration] returns noop<br>
++[logintime] returns noop<br>
[pap] Normalizing NT-Password from hex encoding<br>
[pap] Normalizing LM-Password from hex encoding<br>
[pap] Normalizing SSHA1-Password from base64 encoding<br>
[pap] WARNING: Auth-Type already set. Not setting to PAP<br>
++[pap] returns noop<br>
Found Auth-Type = EAP<br>
# Executing group from file /etc/raddb/sites-enabled/default<br>
+- entering group authenticate {...}<br>
[eap] Request found, released from the list<br>
[eap] EAP NAK<br>
[eap] EAP-NAK asked for EAP-Type/ttls<br>
[eap] processing type tls<br>
[tls] Initiate<br>
[tls] Start returned 1<br>
++[eap] returns handled<br>
Sending Access-Challenge of id 178 to 192.168.202.252 port 46850<br>
EAP-Message = 0x010300061520<br>
Message-Authenticator = 0x00000000000000000000000000000000<br>
State = 0x4300b9324203ac785bc66cf0b8940050<br>
Finished request 1.<br>
Going to the next request<br>
Waking up in 4.9 seconds.<br>
rad_recv: Access-Request packet from host 192.168.202.252 port 46850,<br>
id=179, length=403<br>
User-Name = "clemente.blanch"<br>
NAS-IP-Address = 192.168.202.252<br>
NAS-Port = 2049<br>
Called-Station-Id = "00-90-0B-23-2E-BF:Escuelas-Radius"<br>
Calling-Station-Id = "4C-ED-DE-2C-9C-B2"<br>
Framed-MTU = 1250<br>
NAS-Port-Type = Wireless-802.11<br>
Framed-Compression = None<br>
Connect-Info = "CONNECT 802.11g"<br>
EAP-Message = 0x020300e3150016030100d8010000d4030151a7502728b223adfd9d1576a726a7311af75bde6d41eb7f51784e34c0cbadf0000066c014c00ac022c0210039003800880087c00fc00500350084c012c008c01cc01b00160013c00dc003000ac013c009c01fc01e00330032009a009900450044c00ec004002f00960041c011c007c00cc002000500040015001200090014001100080006000300ff01000045000b000403000102000a00340032000e000d0019000b000c00180009000a00160017000800060007001400150004000500120013000100020003000f00100011000f000101<br>
State = 0x4300b9324203ac785bc66cf0b8940050<br>
Message-Authenticator = 0xd439255984d72e6b31e8784decf1ff44<br>
# Executing section authorize from file /etc/raddb/sites-enabled/default<br>
+- entering group authorize {...}<br>
++[preprocess] returns ok<br>
++[chap] returns noop<br>
++[mschap] returns noop<br>
++[digest] returns noop<br>
[suffix] No '@' in User-Name = "clemente.blanch", looking up realm NULL<br>
[suffix] No such realm "NULL"<br>
++[suffix] returns noop<br>
[eap] EAP packet type response id 3 length 227<br>
[eap] Continuing tunnel setup.<br>
++[eap] returns ok<br>
Found Auth-Type = EAP<br>
# Executing group from file /etc/raddb/sites-enabled/default<br>
+- entering group authenticate {...}<br>
[eap] Request found, released from the list<br>
[eap] EAP/ttls<br>
[eap] processing type ttls<br>
[ttls] Authenticate<br>
[ttls] processing EAP-TLS<br>
[ttls] eaptls_verify returned 7<br>
[ttls] Done initial handshake<br>
[ttls] (other): before/accept initialization<br>
[ttls] TLS_accept: before/accept initialization<br>
[ttls] <<< TLS 1.0 Handshake [length 00d8], ClientHello<br>
[ttls] TLS_accept: SSLv3 read client hello A<br>
[ttls] >>> TLS 1.0 Handshake [length 0031], ServerHello<br>
[ttls] TLS_accept: SSLv3 write server hello A<br>
[ttls] >>> TLS 1.0 Handshake [length 0855], Certificate<br>
[ttls] TLS_accept: SSLv3 write certificate A<br>
[ttls] >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange<br>
[ttls] TLS_accept: SSLv3 write key exchange A<br>
[ttls] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone<br>
[ttls] TLS_accept: SSLv3 write server done A<br>
[ttls] TLS_accept: SSLv3 flush data<br>
[ttls] TLS_accept: Need to read more data: SSLv3 read client certificate A<br>
In SSL Handshake Phase<br>
In SSL Accept mode<br>
[ttls] eaptls_process returned 13<br>
++[eap] returns handled<br>
Sending Access-Challenge of id 179 to 192.168.202.252 port 46850<br>
EAP-Message = 0x0104040015c000000aab16030100310200002d030151a750ed0547e728fd9d71bd88fadc86c81419914f3a933ee608dcdea733e659000039000005ff0100010016030108550b00085100084e0003a33082039f30820287a003020102020102300d06092a864886f70d0101050500308191310b3009060355040613024553310f300d060355040813065261646975733111300f0603550407130845736375656c617331133011060355040a130a45736375656c6173534a3121301f06092a864886f70d01090116127469634065736375656c6173736a2e636f6d312630240603550403131d4578616d706c652043657274696669636174652041757468<br>
EAP-Message = 0x6f72697479301e170d3133303533303038313533385a170d3133303732393038313533385a307b310b3009060355040613024553310f300d0603550408130652616469757331133011060355040a130a45736375656c6173534a312330210603550403131a4578616d706c65205365727665722043657274696669636174653121301f06092a864886f70d01090116127469634065736375656c6173736a2e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100da2ee41a3103ca68a0b812cf637622771ad5a420a11ad5ad3b887e25adff6834b9fdf5f243b1d73d443fc9f4dd5579a3070307a7058bea050c78<br>
EAP-Message = 0xdea7d32cbbeea4ca1ea4222623aa523a3fb31dfbcdd99dd2ddff2ec555f1b436a3fb30e01c59e2ce5f235123b26a1691444bf9d220f2a7206cf1aff7bd0d9c8424e7a5b0fa4e29e1ebcc41afcbcccddfbd5efff783ff776ee995b9b6e6e0dd6c97baa2b0c75edaa6ec1a299bbbfe0021add88f4d4fcf17502531900ab8daf392faafb104e731e080128f98a55e02e673597bb7167234387c8afd359cbbf8d57d164085228fcd8e0dd3110af0509800e3b2671a157861083aa8df7f8d4170a0ecac11ff0a42050203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d010105050003820101008a58a5f334<br>
EAP-Message = 0x9ca353f303574f334fc3be5d67ce9f2cc2937c1c7bf0fc0830490530378c7e88951569ff84589ab51f906cc98841ba1c37a610d8f071fca9bddb50dde4d733c212bf0300f9d0002867a8feaf90f6b7fae3603d3f79de4354ceae63e54a9c08a59df6438576961b991178477349830439eb1f2671973c2d7cb3cc2d3ff3aba1cb2c90c1f681928b39307747fa9e59cc49e22feca88b4f57eaafd97180edd0d4304ef5cb494903c0888e7744168d5303dceacf339c061badc5d626faca2a8b0e47b5e22eef3e337e9bcfd51c4ba440755777f061a3460b8e3a9e006a4f9a6021e0c4de48e6f016394cbdfbc764ded630342b6a0efe3c05ef629690e10004<br>
EAP-Message = 0xa5308204a130820389a00302<br>
Message-Authenticator = 0x00000000000000000000000000000000<br>
State = 0x4300b9324104ac785bc66cf0b8940050<br>
Finished request 2.<br>
Going to the next request<br>
Waking up in 4.9 seconds.<br>
rad_recv: Access-Request packet from host 192.168.202.252 port 46850,<br>
id=180, length=182<br>
User-Name = "clemente.blanch"<br>
NAS-IP-Address = 192.168.202.252<br>
NAS-Port = 2049<br>
Called-Station-Id = "00-90-0B-23-2E-BF:Escuelas-Radius"<br>
Calling-Station-Id = "4C-ED-DE-2C-9C-B2"<br>
Framed-MTU = 1250<br>
NAS-Port-Type = Wireless-802.11<br>
Framed-Compression = None<br>
Connect-Info = "CONNECT 802.11g"<br>
EAP-Message = 0x020400061500<br>
State = 0x4300b9324104ac785bc66cf0b8940050<br>
Message-Authenticator = 0xe55d4634e860825f7eed8857971a2223<br>
# Executing section authorize from file /etc/raddb/sites-enabled/default<br>
+- entering group authorize {...}<br>
++[preprocess] returns ok<br>
++[chap] returns noop<br>
++[mschap] returns noop<br>
++[digest] returns noop<br>
[suffix] No '@' in User-Name = "clemente.blanch", looking up realm NULL<br>
[suffix] No such realm "NULL"<br>
++[suffix] returns noop<br>
[eap] EAP packet type response id 4 length 6<br>
[eap] Continuing tunnel setup.<br>
++[eap] returns ok<br>
Found Auth-Type = EAP<br>
# Executing group from file /etc/raddb/sites-enabled/default<br>
+- entering group authenticate {...}/<br>
[eap] Request found, released from the list<br>
[eap] EAP/ttls<br>
[eap] processing type ttls<br>
[ttls] Authenticate<br>
[ttls] processing EAP-TLS<br>
[ttls] Received TLS ACK<br>
[ttls] ACK handshake fragment handler<br>
[ttls] eaptls_verify returned 1<br>
[ttls] eaptls_process returned 13<br>
++[eap] returns handled<br>
Sending Access-Challenge of id 180 to 192.168.202.252 port 46850<br>
EAP-Message = 0x0105040015c000000aab0102020900efd0613949b1baab300d06092a864886f70d0101050500308191310b3009060355040613024553310f300d060355040813065261646975733111300f0603550407130845736375656c617331133011060355040a130a45736375656c6173534a3121301f06092a864886f70d01090116127469634065736375656c6173736a2e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3133303533303038313533385a170d3133303732393038313533385a308191310b3009060355040613024553310f300d060355040813065261646975733111<br>
EAP-Message = 0x300f0603550407130845736375656c617331133011060355040a130a45736375656c6173534a3121301f06092a864886f70d01090116127469634065736375656c6173736a2e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100b4038637d9aaab4bc725afe37405268509a155c83ff93ce77ea1009cc5fd8870c1a9da1d80bfdc7425f6a7487822c3cd67b2ce25def5ea1eb92cb9426151aa1af3545aa0ee144e4e8fecfcad2375da868eb97b0c891b53a7b93fb75599171dded6a8103df106aeb3b8d2ba<br>
EAP-Message = 0x2378c42fb79dfe3ea604f8685af42d3061b26a28f6a3d5ddd5cc5791a11841f93fc94f722cecd6e149fc22df5578b708f1ca2fdfa542ff88ffc9d9ada134dcc995537e8ac728352a769db3183d5a2f4201840a3c374674e50433e6a2354c3b9128777cd6d87607972077d2f018672438515b4ee44238e07f53cc2b1864b245bdaded300c59081e93096d6fa48ef6a53ffc85f59cdb0203010001a381f93081f6301d0603551d0e041604142abebda37fff69e3d2e86331827670f67d284ced3081c60603551d230481be3081bb80142abebda37fff69e3d2e86331827670f67d284ceda18197a48194308191310b3009060355040613024553310f300d<br>
EAP-Message = 0x060355040813065261646975733111300f0603550407130845736375656c617331133011060355040a130a45736375656c6173534a3121301f06092a864886f70d01090116127469634065736375656c6173736a2e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820900efd0613949b1baab300c0603551d13040530030101ff300d06092a864886f70d010105050003820101001f2f907fe03918e01039a2ada650daf223dcacd123e17b1a605c91c390c944b9a71096ba93917d5c7e61274394af291b4933b4e12071c826a5daf0654a67f48108f9bc7f2751a59ae54ce9d788a8b719<br>
EAP-Message = 0x83f82d312c7744ab946edc5e<br>
Message-Authenticator = 0x00000000000000000000000000000000<br>
State = 0x4300b9324005ac785bc66cf0b8940050<br>
Finished request 3.<br>
<br>
--<br>
--<br>
Un saludo.<br>
____________________<br>
<br>
Roberto Ortega<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Un saludo.<br>____________________<br><br>Roberto Ortega<br>Profesor de Informática.<br><a href="http://www.proyectoret.es" target="_blank">http://www.proyectoret.es</a><br>
<br>Escuelas San José Valencia<br>Avd.Cortes Valencianas nº1<br>46015 Valencia<br>R4600489A<br>Tf:<a href="tel:963499011%20ext.%20262" value="+34963499011" target="_blank">963499011 ext. 262</a><br>Fax:<a href="tel:963488835" value="+34963488835" target="_blank">963488835</a><br>
<a href="http://www.escuelassj.com" target="_blank">http://www.escuelassj.com</a><br>
<br>No imprimas este correo si no es necesario. Protejamos el medio ambiente.<br>
</div></div>