<div dir="ltr">Hi Arran. Thanks for your help.<br><br><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
</div>You should only see the above entry with -C...</blockquote><div><br>But it happens with "radiusd -X".<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Modules which utilise a finite pool of connections to another server should not<br>
be loaded in config check mode, as instantiation may erroneously fail due to<br>
connection limits.<br>
<br>
Confirm you saw that in the output of '-X' and not '-C'.<br></blockquote><div><br></div><div>Confirmed.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><br>
> (0) [files] = ok<br>
> (0) ERROR: ldap_yyyyy : All ldap connections are in use<br>
> (0) [ldap_yyyyy] = fail<br>
> (0) } # authorize = fail<br>
<br>
</div>No, I cannot see any reason for that, and it works fine for me and others.<br>
<br>
Please provide full debug, and confirm you experienced that issue on the first<br>
request.<br></blockquote><div><br></div><div>Full debug:<br></div><div> <br clear="all"></div></div><span style="font-family:courier new,monospace">radiusd: FreeRADIUS Version 3.1.0, for host x86_64-unknown-linux-gnu, built on Jan 9 2014 at 11:37:24<br>
Copyright (C) 1999-2014 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>For more information about these matters, see the file named COPYRIGHT<br>Starting - reading configuration files ...<br>including dictionary file /usr/local/etc/raddb/dictionary<br>including configuration file /usr/local/etc/raddb/radiusd.conf<br>
including configuration file /usr/local/etc/raddb/proxy.conf<br>including configuration file /usr/local/etc/raddb/clients.conf<br>including files in directory /usr/local/etc/raddb/mods-enabled/<br>including configuration file /usr/local/etc/raddb/mods-enabled/ldap_deusto<br>
including configuration file /usr/local/etc/raddb/mods-enabled/realm<br>including configuration file /usr/local/etc/raddb/mods-enabled/ldap_opendeusto<br>including configuration file /usr/local/etc/raddb/mods-enabled/utf8<br>
including configuration file /usr/local/etc/raddb/mods-enabled/logintime<br>including configuration file /usr/local/etc/raddb/mods-enabled/digest<br>including configuration file /usr/local/etc/raddb/mods-enabled/linelog<br>
including configuration file /usr/local/etc/raddb/mods-enabled/passwd<br>including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth<br>including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients<br>
including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap<br>including configuration file /usr/local/etc/raddb/mods-enabled/exec<br>including configuration file /usr/local/etc/raddb/mods-enabled/expr<br>including configuration file /usr/local/etc/raddb/mods-enabled/dhcp<br>
including configuration file /usr/local/etc/raddb/mods-enabled/chap<br>including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp<br>including configuration file /usr/local/etc/raddb/mods-enabled/detail.log<br>
including configuration file /usr/local/etc/raddb/mods-enabled/detail<br>including configuration file /usr/local/etc/raddb/mods-enabled/preprocess<br>including configuration file /usr/local/etc/raddb/mods-enabled/echo<br>
including configuration file /usr/local/etc/raddb/mods-enabled/mschap<br>including configuration file /usr/local/etc/raddb/mods-enabled/radutmp<br>including configuration file /usr/local/etc/raddb/mods-enabled/unix<br>including configuration file /usr/local/etc/raddb/mods-enabled/expiration<br>
including configuration file /usr/local/etc/raddb/mods-enabled/pap<br>including configuration file /usr/local/etc/raddb/mods-enabled/replicate<br>including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter<br>
including configuration file /usr/local/etc/raddb/mods-enabled/eap<br>including configuration file /usr/local/etc/raddb/mods-enabled/files<br>including configuration file /usr/local/etc/raddb/mods-enabled/soh<br>including configuration file /usr/local/etc/raddb/mods-enabled/always<br>
including files in directory /usr/local/etc/raddb/policy.d/<br>including configuration file /usr/local/etc/raddb/policy.d/control<br>including configuration file /usr/local/etc/raddb/policy.d/accounting<br>including configuration file /usr/local/etc/raddb/policy.d/operator-name<br>
including configuration file /usr/local/etc/raddb/policy.d/canonicalization<br>including configuration file /usr/local/etc/raddb/policy.d/cui<br>including configuration file /usr/local/etc/raddb/policy.d/filter<br>including configuration file /usr/local/etc/raddb/policy.d/dhcp<br>
including configuration file /usr/local/etc/raddb/policy.d/eap<br>including files in directory /usr/local/etc/raddb/sites-enabled/<br>including configuration file /usr/local/etc/raddb/sites-enabled/default<br>including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel<br>
main {<br> security {<br> allow_core_dumps = no<br> }<br>}<br>main {<br> name = "radiusd"<br> prefix = "/usr/local"<br> localstatedir = "/usr/local/var"<br> sbindir = "/usr/local/sbin"<br>
logdir = "/usr/local/var/log/radius"<br> run_dir = "/usr/local/var/run/radiusd"<br> libdir = "/usr/local/lib"<br> radacctdir = "/usr/local/var/log/radius/radacct"<br> hostname_lookups = no<br>
max_request_time = 30<br> cleanup_delay = 5<br> max_requests = 1024<br> pidfile = "/usr/local/var/run/radiusd/radiusd.pid"<br> checkrad = "/usr/local/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> colourise = yes<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> zombie_period = 40<br>
status_check = "status-server"<br> ping_interval = 30<br> check_interval = 30<br> num_answers_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> limit {<br> max_connections = 16<br> max_requests = 0<br> lifetime = 0<br> idle_timeout = 0<br> }<br> }<br> home_server <edited> {<br>
ipaddr = <edited><br> port = 1812<br> type = "auth"<br> secret = "<edited>"<br> response_window = 20<br> max_outstanding = 65536<br> zombie_period = 40<br> status_check = "status-server"<br>
ping_interval = 30<br> check_interval = 30<br> num_answers_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> limit {<br> max_connections = 16<br> max_requests = 0<br> lifetime = 0<br> idle_timeout = 0<br> }<br> }<br> home_server <edited> {<br> ipaddr = 130.206.1.107<br> port = 1812<br>
type = "auth"<br> secret = "<edited>"<br> response_window = 20<br> max_outstanding = 65536<br> zombie_period = 40<br> status_check = "status-server"<br> ping_interval = 30<br>
check_interval = 30<br> num_answers_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> limit {<br>
max_connections = 16<br> max_requests = 0<br> lifetime = 0<br> idle_timeout = 0<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 <a href="http://deusto.es" target="_blank">deusto.es</a> {<br> nostrip<br> authhost = LOCAL<br> }<br> realm <a href="http://opendeusto.es" target="_blank">opendeusto.es</a> {<br>
nostrip<br> authhost = LOCAL<br>
}<br> realm LOCAL {<br> }<br> realm NULL {<br> }<br> home_server_pool eduroam_pool {<br> type = client-balance<br> home_server = <edited><br> home_server = <edited><br> }<br> realm DEFAULT {<br> auth_pool = eduroam_pool<br>
nostrip<br> }<br>radiusd: #### Loading Clients ####<br> client localhost {<br> ipaddr = 127.0.0.1<br> require_message_authenticator = no<br> secret = "testing123"<br> nas_type = "other"<br>
proto = "*"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client 192.168.250.250 {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client 192.168.250.248 {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client 192.168.250.246 {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client <edited> {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client <edited> {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client <edited> {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client 192.168.0.1 {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client 192.168.0.250 {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client 192.168.252.2 {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "vpn"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client 172.16.250.11 {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "urano"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client <edited> {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client <edited> {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br> client <edited> {<br> require_message_authenticator = no<br> secret = "<edited>"<br>
shortname = "eduroam"<br> limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br> }<br>radiusd: #### Instantiating modules ####<br> instantiate {<br> }<br> modules {<br>
# Loaded module rlm_ldap<br> # Skipping instantiation of ldap_deusto<br> ldap ldap_deusto {<br> server = "<edited>"<br> port = 636<br> password = "<edited>"<br> identity = "<a href="mailto:radius@deusto.es" target="_blank">radius@deusto.es</a>"<br>
user {<br> filter = "(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}})"<br> scope = "sub"<br> base_dn = "dc=deusto,dc=es"<br> access_positive = yes<br> }<br>
group {<br> filter = "(objectClass=posixGroup)"<br> scope = "sub"<br> base_dn = "dc=deusto,dc=es"<br> name_attribute = "cn"<br> membership_attribute = "memberOf"<br>
cacheable_name = no<br> cacheable_dn = no<br> }<br> client {<br> filter = "(objectClass=frClient)"<br> scope = "sub"<br> base_dn = "dc=deusto,dc=es"<br> attribute {<br>
identifier = "radiusClientIdentifier"<br> shortname = "cn"<br> secret = "radiusClientSecret"<br> }<br> }<br> profile {<br> filter = "(&)"<br>
}<br>
options {<br> ldap_debug = 40<br> chase_referrals = no<br> rebind = yes<br> net_timeout = 2<br> res_timeout = 20<br> srv_timelimit = 20<br> idle = 60<br> probes = 3<br> interval = 3<br>
}<br> tls {<br> ca_file = "/usr/local/etc/raddb/certs/<edited>.crt"<br> start_tls = no<br> require_cert = "demand"<br> }<br> }<br> # Loaded module rlm_realm<br> # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm<br>
realm IPASS {<br> format = "prefix"<br> delimiter = "/"<br> ignore_default = no<br> ignore_null = no<br> }<br> # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm<br>
realm suffix {<br> format = "suffix"<br> delimiter = "@"<br> ignore_default = no<br> ignore_null = no<br> }<br> # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm<br>
realm realmpercent {<br> format = "suffix"<br> delimiter = "%"<br> ignore_default = no<br> ignore_null = no<br> }<br> # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm<br>
realm ntdomain {<br> format = "prefix"<br> delimiter = "\"<br> ignore_default = no<br> ignore_null = no<br> }<br> # Skipping instantiation of ldap_opendeusto<br> ldap ldap_opendeusto {<br>
server = "<edited>"<br> port = 636<br> password = "<edited>"<br> identity = "<a href="mailto:radius@opendeusto.es" target="_blank">radius@opendeusto.es</a>"<br>
user {<br> filter = "(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}})"<br>
scope = "sub"<br> base_dn = "dc=opendeusto,dc=es"<br> access_positive = yes<br> }<br> group {<br> filter = "(objectClass=posixGroup)"<br> scope = "sub"<br>
base_dn = "dc=opendeusto,dc=es"<br> name_attribute = "cn"<br> membership_attribute = "memberOf"<br> cacheable_name = no<br> cacheable_dn = no<br> }<br> client {<br>
filter = "(objectClass=frClient)"<br> scope = "sub"<br> base_dn = "dc=opendeusto,dc=es"<br> attribute {<br> identifier = "radiusClientIdentifier"<br> shortname = "cn"<br>
secret = "radiusClientSecret"<br> }<br> }<br> profile {<br> filter = "(&)"<br> }<br> options {<br> ldap_debug = 40<br> chase_referrals = no<br> rebind = yes<br>
net_timeout = 2<br> res_timeout = 20<br> srv_timelimit = 20<br> idle = 60<br> probes = 3<br> interval = 3<br> }<br> tls {<br> ca_file = "/usr/local/etc/raddb/certs/<edited>.crt"<br>
start_tls = no<br> require_cert = "demand"<br> }<br> }<br> # Loaded module rlm_utf8<br> # Instantiating module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8<br> # Loaded module rlm_logintime<br>
# Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime<br> logintime {<br> minimum_timeout = 60<br> }<br> # Loaded module rlm_digest<br> # Instantiating module "digest" from file /usr/local/etc/raddb/mods-enabled/digest<br>
# Loaded module rlm_linelog<br> # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog<br> linelog {<br> filename = "/usr/local/var/log/radius/linelog"<br> permissions = 384<br>
format = "This is a log message for %{User-Name}"<br> reference = "%{%{Packet-Type}:-format}"<br> }<br> # Loaded module rlm_passwd<br> # Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd<br>
passwd etc_passwd {<br> filename = "/etc/passwd"<br> format = "*User-Name:Crypt-Password:"<br> delimiter = ":"<br> ignore_nislike = no<br> ignore_empty = yes<br> allow_multiple_keys = no<br>
hash_size = 100<br> }<br>rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no<br> # Loaded module rlm_exec<br> # Instantiating module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth<br>
exec ntlm_auth {<br> wait = yes<br> program = "/usr/bin/ntlm_auth --request-nt-key --domain=%{Realm} --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --password=%{User-Password}"<br> shell_escape = yes<br>
}<br> # Loaded module rlm_dynamic_clients<br> # Instantiating module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients<br> # Loaded module rlm_cache<br> # Skipping instantiation of cache_eap<br>
cache cache_eap {<br> key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"<br> ttl = 15<br> max_entries = 16384<br> epoch = 0<br> add_stats = no<br> }<br> # Instantiating module "exec" from file /usr/local/etc/raddb/mods-enabled/exec<br>
exec {<br> wait = no<br> input_pairs = "request"<br> shell_escape = yes<br> timeout = 10<br> }<br> # Loaded module rlm_expr<br> # Instantiating module "expr" from file /usr/local/etc/raddb/mods-enabled/expr<br>
expr {<br> safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"<br> }<br> # Loaded module rlm_dhcp<br> # Skipping instantiation of dhcp<br> # Loaded module rlm_chap<br>
# Instantiating module "chap" from file /usr/local/etc/raddb/mods-enabled/chap<br> # Loaded module rlm_radutmp<br> # Instantiating module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp<br>
radutmp sradutmp {<br> filename = "/usr/local/var/log/radius/sradutmp"<br> username = "%{User-Name}"<br> case_sensitive = yes<br> check_with_nas = yes<br> permissions = 420<br>
caller_id = no<br> }<br> # Loaded module rlm_detail<br> # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log<br> detail auth_log {<br> filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"<br>
header = "%t"<br> permissions = 384<br> dir_permissions = 493<br> locking = no<br> log_packet_header = no<br> }<br>rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output<br>
# Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log<br> detail reply_log {<br> filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"<br>
header = "%t"<br> permissions = 384<br> dir_permissions = 493<br> locking = no<br> log_packet_header = no<br> }<br> # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log<br>
detail pre_proxy_log {<br> filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"<br> header = "%t"<br> permissions = 384<br>
dir_permissions = 493<br> locking = no<br> log_packet_header = no<br> }<br> # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log<br> detail post_proxy_log {<br>
filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"<br> header = "%t"<br> permissions = 384<br> dir_permissions = 493<br>
locking = no<br> log_packet_header = no<br> }<br> # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail<br> detail {<br> filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"<br>
header = "%t"<br> permissions = 384<br> dir_permissions = 493<br> locking = no<br> log_packet_header = no<br> }<br> # Loaded module rlm_preprocess<br> # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess<br>
preprocess {<br> huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups"<br> hints = "/usr/local/etc/raddb/mods-config/preprocess/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>reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups<br>
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints<br> # Instantiating module "echo" from file /usr/local/etc/raddb/mods-enabled/echo<br> exec echo {<br> wait = yes<br> program = "/bin/echo %{User-Name}"<br>
input_pairs = "request"<br> output_pairs = "reply"<br> shell_escape = yes<br> }<br> # Loaded module rlm_mschap<br> # Skipping instantiation of mschap<br> mschap {<br> use_mppe = yes<br>
require_encryption = yes<br> require_strong = yes<br> with_ntdomain_hack = yes<br> ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --domain=%{Realm} --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}"<br>
passchange {<br> }<br> allow_retry = yes<br> }<br> # Instantiating module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp<br> radutmp {<br> filename = "/usr/local/var/log/radius/radutmp"<br>
username = "%{User-Name}"<br> case_sensitive = yes<br> check_with_nas = yes<br> permissions = 384<br> caller_id = yes<br> }<br> # Loaded module rlm_unix<br> # Instantiating module "unix" from file /usr/local/etc/raddb/mods-enabled/unix<br>
unix {<br> radwtmp = "/usr/local/var/log/radius/radwtmp"<br> }<br> # Loaded module rlm_expiration<br> # Skipping instantiation of expiration<br> # Loaded module rlm_pap<br> # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap<br>
pap {<br> auto_header = no<br> normalise = yes<br> }<br> # Loaded module rlm_replicate<br> # Instantiating module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate<br> # Loaded module rlm_attr_filter<br>
# Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter<br> attr_filter attr_filter.post-proxy {<br> filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy"<br>
key = "%{Realm}"<br> relaxed = no<br> }<br>reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy<br> # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter<br>
attr_filter attr_filter.pre-proxy {<br> filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy"<br> key = "%{Realm}"<br> relaxed = no<br> }<br>reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy<br>
# Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter<br> attr_filter attr_filter.access_reject {<br> filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject"<br>
key = "%{User-Name}"<br> relaxed = no<br> }<br>reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject<br> # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter<br>
attr_filter attr_filter.access_challenge {<br> filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge"<br> key = "%{User-Name}"<br> relaxed = no<br> }<br>reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge<br>
# Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter<br> attr_filter attr_filter.accounting_response {<br> filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response"<br>
key = "%{User-Name}"<br> relaxed = no<br> }<br>reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response<br> # Loaded module rlm_eap<br> # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap<br>
eap {<br> default_eap_type = "peap"<br> timer_expire = 60<br> ignore_unknown_eap_types = no<br> mod_accounting_username_bug = no<br> max_sessions = 4096<br> }<br> # Linked to sub-module rlm_eap_md5<br>
# Linked to sub-module rlm_eap_leap<br> # Linked to sub-module rlm_eap_gtc<br> gtc {<br> challenge = "Password: "<br> auth_type = "PAP"<br> }<br> # Linked to sub-module rlm_eap_tls<br>
tls {<br> tls = "tls-common"<br> }<br> tls-config tls-common {<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 = "/usr/local/etc/raddb/certs"<br> pem_file_type = yes<br> private_key_file = "/usr/local/etc/raddb/certs/<edited>.key"<br> certificate_file = "/usr/local/etc/raddb/certs/<edited>.crt"<br>
ca_file = "/usr/local/etc/raddb/certs/terena.crt"<br> private_key_password = "<edited>"<br> dh_file = "/usr/local/etc/raddb/certs/dh"<br> fragment_size = 1024<br>
include_length = yes<br> check_crl = no<br> cipher_list = "DEFAULT"<br> ecdh_curve = "prime256v1"<br> cache {<br> enable = yes<br> lifetime = 2<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> use_nonce = yes<br>
timeout = 0<br> softfail = yes<br> }<br> }<br> # Linked to sub-module rlm_eap_ttls<br> ttls {<br> tls = "tls-common"<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> require_client_cert = no<br> }<br>Using cached TLS configuration from previous invocation<br> # Linked to sub-module rlm_eap_peap<br>
peap {<br> tls = "tls-common"<br> default_method = "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> require_client_cert = no<br> }<br>Using cached TLS configuration from previous invocation<br> # Linked to sub-module rlm_eap_mschapv2<br> mschapv2 {<br> with_ntdomain_hack = no<br> send_error = no<br>
}<br> # Loaded module rlm_files<br> # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files<br> files {<br> filename = "/usr/local/etc/raddb/mods-config/files/authorize"<br>
usersfile = "/usr/local/etc/raddb/mods-config/files/authorize"<br> acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting"<br> preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy"<br>
compat = "no"<br> }<br>reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize<br>reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize<br>reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting<br>
reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy<br> # Loaded module rlm_soh<br> # Skipping instantiation of soh<br> soh {<br> dhcp = yes<br> }<br> # Loaded module rlm_always<br> # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always<br>
always fail {<br> rcode = "fail"<br> simulcount = 0<br> mpp = no<br> }<br> # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always<br> always reject {<br>
rcode = "reject"<br> simulcount = 0<br> mpp = no<br> }<br> # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always<br> always noop {<br> rcode = "noop"<br>
simulcount = 0<br> mpp = no<br> }<br> # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always<br> always handled {<br> rcode = "handled"<br> simulcount = 0<br>
mpp = no<br> }<br> # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always<br> always updated {<br> rcode = "updated"<br> simulcount = 0<br> mpp = no<br>
}<br> # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always<br> always notfound {<br> rcode = "notfound"<br> simulcount = 0<br> mpp = no<br> }<br> # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always<br>
always ok {<br> rcode = "ok"<br> simulcount = 0<br> mpp = no<br> }<br> } # modules<br>radiusd: #### Loading Virtual Servers ####<br>server { # from file /usr/local/etc/raddb/radiusd.conf<br>} # server<br>
server default { # from file /usr/local/etc/raddb/sites-enabled/default<br> # Creating Auth-Type = digest<br> # Loading authenticate {...}<br> # Loading authorize {...}<br> # Loading virtual module filter_username<br> # Loading preacct {...}<br>
# Loading virtual module acct_unique<br> # Loading accounting {...}<br>WARNING: Ignoring "sql" (see raddb/mods-available/README.rst)<br> # Loading post-proxy {...}<br> # Loading post-auth {...}<br>WARNING: Ignoring "sql" (see raddb/mods-available/README.rst)<br>
# Loading virtual module remove_reply_message_if_eap<br> # Loading virtual module remove_reply_message_if_eap<br>} # server default<br>server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel<br>
# Loading authenticate {...}<br> # Loading authorize {...}<br>WARNING: Ignoring "sql" (see raddb/mods-available/README.rst)<br> # Loading session {...}<br> # Loading post-proxy {...}<br> # Loading post-auth {...}<br>
WARNING: Ignoring "sql" (see raddb/mods-available/README.rst)<br>} # server inner-tunnel<br>radiusd: #### Opening IP addresses and Ports ####<br>listen {<br> type = "auth"<br> ipaddr = *<br>
port = 0<br>
limit {<br> max_connections = 16<br> lifetime = 0<br> idle_timeout = 30<br> }<br>}<br>listen {<br> type = "acct"<br> ipaddr = *<br> port = 0<br> limit {<br> max_connections = 16<br>
lifetime = 0<br> idle_timeout = 30<br> }<br>}<br>listen {<br> type = "auth"<br> ipaddr = 127.0.0.1<br> port = 18120<br>}<br>Listening on auth address * port 1812 as server default<br>
Listening on acct address * port 1813 as server default<br>Listening on auth address 127.0.0.1 port 18120 as server inner-tunnel<br>Opening new proxy address * port 1814<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 36417, id=18, length=92<br> User-Name = 'nagios'<br> User-Password = '<edited>'<br> NAS-IP-Address = <edited><br> NAS-Port = 1812<br>
Message-Authenticator = 0x64556e4fd5987e51d649edf493c2e0a2<br>(0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default<br>(0) authorize {<br>(0) filter_username filter_username {<br>
(0) ? if (!User-Name) <br>
(0) ? if (!User-Name) -> FALSE<br>(0) ? if (User-Name != "%{tolower:%{User-Name}}") <br>(0) expand: "%{tolower:%{User-Name}}" -> 'nagios'<br>(0) ? if (User-Name != "%{tolower:%{User-Name}}") -> FALSE<br>
(0) ? if (User-Name =~ / /) <br>(0) ? if (User-Name =~ / /) -> FALSE<br>(0) ? if (User-Name =~ /@.*@/ ) <br>(0) ? if (User-Name =~ /@.*@/ ) -> FALSE<br>(0) ? if (User-Name =~ /\\.\\./ ) <br>(0) ? if (User-Name =~ /\\.\\./ ) -> FALSE<br>
(0) ? if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) <br>(0) ? if ((User-Name =~ /@/) && (User-Name !~ /@(.+)\\.(.+)$/)) -> FALSE<br>(0) ? if (User-Name =~ /\\.$/) <br>(0) ? if (User-Name =~ /\\.$/) -> FALSE<br>
(0) ? if (User-Name =~ /@\\./) <br>(0) ? if (User-Name =~ /@\\./) -> FALSE<br>(0) } # filter_username filter_username = notfound<br>(0) [preprocess] = ok<br>(0) [chap] = noop<br>(0) [mschap] = noop<br>
(0) [digest] = noop<br>(0) suffix : No '@' in User-Name = "nagios", looking up realm NULL<br>(0) suffix : Found realm "NULL"<br>(0) suffix : Adding Stripped-User-Name = "nagios"<br>
(0) suffix : Adding Realm = "NULL"<br>(0) suffix : Authentication realm is LOCAL<br>(0) [suffix] = ok<br>(0) eap : No EAP-Message, not doing EAP<br>(0) [eap] = noop<br>(0) files : users: Matched entry nagios at line 108<br>
(0) [files] = ok<br>(0) ERROR: ldap_opendeusto : All ldap connections are in use<br>(0) [ldap_opendeusto] = fail<br>(0) } # authorize = fail<br>(0) Using Post-Auth-Type Reject<br>(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default<br>
(0) Post-Auth-Type REJECT {<br>(0) attr_filter.access_reject : expand: "%{User-Name}" -> 'nagios'<br>(0) attr_filter.access_reject : Matched entry DEFAULT at line 11<br>(0) [attr_filter.access_reject] = updated<br>
(0) eap : Request didn't contain an EAP-Message, not inserting EAP-Failure<br>(0) [eap] = noop<br>(0) remove_reply_message_if_eap remove_reply_message_if_eap {<br>(0) ? if (reply:EAP-Message && reply:Reply-Message) <br>
(0) ? if (reply:EAP-Message && reply:Reply-Message) -> FALSE<br>(0) else else {<br>(0) [noop] = noop<br>(0) } # else else = noop<br>(0) } # remove_reply_message_if_eap remove_reply_message_if_eap = noop<br>
(0) } # Post-Auth-Type REJECT = updated<br>(0) Finished request 0.<br>Waking up in 0.3 seconds.<br>Waking up in 0.6 seconds.<br>(0) Sending delayed reject<br>Sending Access-Reject of id 18 from 127.0.0.1 port 1812 to 127.0.0.1 port 36417<br>
Reply-Message = 'OK'<br>Waking up in 4.9 seconds.<br>(0) Cleaning up request packet ID 18 with timestamp +2<br>Ready to process requests</span><br><br></div><div class="gmail_extra">As you can see, it's the first request.<br>
<br></div><div class="gmail_extra">Hope it helps you helping me O:)<br><br></div></div>