Check certificate revocation when using LDAP/TLS
Hello, My FreeRADIUS is talking to an LDAP directory (OpenLDAP) over TLS and I need to check the revocation status of the LDAP server's certificate using a CRL. I tried adding check_crl in the tls section (of the LDAP module) but to no avail (see debug output below : check_crl is ignored when parsing the configuration) : tls { # Set this to 'yes' to use TLS encrypted connections # to the LDAP database by using the StartTLS extended # operation. # # The StartTLS operation is supposed to be # used with normal ldap connections instead of # using ldaps (port 636) connections start_tls = yes # ca_file = /etc/ssl/certs/ca-bundle.crt ca_path = /etc/ssl/certs certificate_file = ${certdir}/radsrv1.crt private_key_file = ${certdir}/radsrv1.key check_crl = yes # random_file = /dev/urandom # Certificate Verification requirements. Can be: # 'never' (do not even bother trying) # 'allow' (try, but don't fail if the certificate # cannot be verified) # 'demand' (fail if the certificate does not verify) # 'hard' (similar to 'demand' but fails if TLS # cannot negotiate) # # The default is libldap's default, which varies based # on the contents of ldap.conf. require_cert = 'demand' } Verifying the LDAP server's certificate using OpenSSL (using the -crl_check option) works as expected (the certificate is flagged as revoked) as everything (CRL and CA) has been c_rehash'd in /etc/ssl/certs. The full debug output when I start FreeRADIUS is the following (using -xX because the line stating that check_crl is ignored is not included with just -X) : Wed Mar 8 11:03:22 2023 : Debug: Server was built with: Wed Mar 8 11:03:22 2023 : Debug: accounting : yes Wed Mar 8 11:03:22 2023 : Debug: authentication : yes Wed Mar 8 11:03:22 2023 : Debug: ascend-binary-attributes : yes Wed Mar 8 11:03:22 2023 : Debug: coa : yes Wed Mar 8 11:03:22 2023 : Debug: control-socket : yes Wed Mar 8 11:03:22 2023 : Debug: detail : yes Wed Mar 8 11:03:22 2023 : Debug: dhcp : yes Wed Mar 8 11:03:22 2023 : Debug: dynamic-clients : yes Wed Mar 8 11:03:22 2023 : Debug: osfc2 : no Wed Mar 8 11:03:22 2023 : Debug: proxy : yes Wed Mar 8 11:03:22 2023 : Debug: regex-pcre : yes Wed Mar 8 11:03:22 2023 : Debug: regex-posix : no Wed Mar 8 11:03:22 2023 : Debug: regex-posix-extended : no Wed Mar 8 11:03:22 2023 : Debug: session-management : yes Wed Mar 8 11:03:22 2023 : Debug: stats : yes Wed Mar 8 11:03:22 2023 : Debug: systemd : no Wed Mar 8 11:03:22 2023 : Debug: tcp : yes Wed Mar 8 11:03:22 2023 : Debug: threads : yes Wed Mar 8 11:03:22 2023 : Debug: tls : yes Wed Mar 8 11:03:22 2023 : Debug: unlang : yes Wed Mar 8 11:03:22 2023 : Debug: vmps : yes Wed Mar 8 11:03:22 2023 : Debug: developer : no Wed Mar 8 11:03:22 2023 : Debug: Server core libs: Wed Mar 8 11:03:22 2023 : Debug: freeradius-server : 3.0.20 Wed Mar 8 11:03:22 2023 : Debug: talloc : 2.3.* Wed Mar 8 11:03:22 2023 : Debug: ssl : 1.1.1k release Wed Mar 8 11:03:22 2023 : Debug: pcre : 8.42 2018-03-20 Wed Mar 8 11:03:22 2023 : Debug: Endianness: Wed Mar 8 11:03:22 2023 : Debug: little Wed Mar 8 11:03:22 2023 : Debug: Compilation flags: Wed Mar 8 11:03:22 2023 : Debug: cppflags : Wed Mar 8 11:03:22 2023 : Debug: cflags : -I. -Isrc -include src/freeradius-devel/autoconf.h -include src/freeradius-devel/build.h -include src/freeradius-devel/features.h -include src/freeradius-devel/radpaths.h -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -DNDEBUG -DIS_MODULE=1 Wed Mar 8 11:03:22 2023 : Debug: ldflags : -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Wed Mar 8 11:03:22 2023 : Debug: libs : -lcrypto -lssl -ltalloc -lpcre -lresolv -ldl -lpthread -lreadline Wed Mar 8 11:03:22 2023 : Debug: Wed Mar 8 11:03:22 2023 : Info: FreeRADIUS Version 3.0.20 Wed Mar 8 11:03:22 2023 : Info: Copyright (C) 1999-2019 The FreeRADIUS server project and contributors Wed Mar 8 11:03:22 2023 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Wed Mar 8 11:03:22 2023 : Info: PARTICULAR PURPOSE Wed Mar 8 11:03:22 2023 : Info: You may redistribute copies of FreeRADIUS under the terms of the Wed Mar 8 11:03:22 2023 : Info: GNU General Public License Wed Mar 8 11:03:22 2023 : Info: For more information about these matters, see the file named COPYRIGHT Wed Mar 8 11:03:22 2023 : Info: Starting - reading configuration files ... Wed Mar 8 11:03:22 2023 : Debug: including dictionary file /usr/share/freeradius/dictionary Wed Mar 8 11:03:22 2023 : Debug: including dictionary file /usr/share/freeradius/dictionary.dhcp Wed Mar 8 11:03:22 2023 : Debug: including dictionary file /usr/share/freeradius/dictionary.vqp Wed Mar 8 11:03:22 2023 : Debug: including dictionary file /etc/raddb/dictionary Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/radiusd.conf Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/proxy.conf Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/clients.conf Wed Mar 8 11:03:22 2023 : Debug: including files in directory /etc/raddb/mods-enabled/ Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/cache_eap Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/chap Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/date Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/detail Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/digest Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/dynamic_clients Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/eap Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/echo Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/exec Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/expiration Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/expr Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/files Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/linelog Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/logintime Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/mschap Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/ntlm_auth Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/pap Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/passwd Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/preprocess Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/radutmp Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/replicate Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/soh Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/sradutmp Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/unix Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/unpack Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/utf8 Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/mods-enabled/ldap Wed Mar 8 11:03:22 2023 : Debug: including files in directory /etc/raddb/policy.d/ Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/accounting Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/canonicalization Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/control Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/cui Wed Mar 8 11:03:22 2023 : Debug: OPTIMIZING (${policy.cui_require_operator_name} == yes) --> FALSE Wed Mar 8 11:03:22 2023 : Debug: OPTIMIZING (no == yes) --> FALSE Wed Mar 8 11:03:22 2023 : Debug: OPTIMIZING (${policy.cui_require_operator_name} == yes) --> FALSE Wed Mar 8 11:03:22 2023 : Debug: OPTIMIZING (no == yes) --> FALSE Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/debug Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/dhcp Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/eap Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/filter Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/operator-name Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/policy.d/rfc7542 Wed Mar 8 11:03:22 2023 : Debug: including files in directory /etc/raddb/sites-enabled/ Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/sites-enabled/default Wed Mar 8 11:03:22 2023 : Debug: including configuration file /etc/raddb/sites-enabled/inner-tunnel Wed Mar 8 11:03:22 2023 : Debug: main { Wed Mar 8 11:03:22 2023 : Debug: security { Wed Mar 8 11:03:22 2023 : Debug: user = "radiusd" Wed Mar 8 11:03:22 2023 : Debug: group = "radiusd" Wed Mar 8 11:03:22 2023 : Debug: allow_core_dumps = no Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[526]: The item 'max_attributes' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[544]: The item 'reject_delay' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[564]: The item 'status_server' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: name = "radiusd" Wed Mar 8 11:03:22 2023 : Debug: prefix = "/usr" Wed Mar 8 11:03:22 2023 : Debug: localstatedir = "/var" Wed Mar 8 11:03:22 2023 : Debug: logdir = "/var/log/radius" Wed Mar 8 11:03:22 2023 : Debug: run_dir = "/var/run/radiusd" Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[84]: The item 'exec_prefix' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[97]: The item 'confdir' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[103]: The item 'db_dir' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[137]: The item 'libdir' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[148]: The item 'pidfile' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[169]: The item 'correct_escapes' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[223]: The item 'max_request_time' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[242]: The item 'cleanup_delay' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[279]: The item 'hostname_lookups' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[382]: The item 'checkrad' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[585]: The item 'proxy_requests' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: main { Wed Mar 8 11:03:22 2023 : Debug: name = "radiusd" Wed Mar 8 11:03:22 2023 : Debug: prefix = "/usr" Wed Mar 8 11:03:22 2023 : Debug: localstatedir = "/var" Wed Mar 8 11:03:22 2023 : Debug: sbindir = "/usr/sbin" Wed Mar 8 11:03:22 2023 : Debug: logdir = "/var/log/radius" Wed Mar 8 11:03:22 2023 : Debug: run_dir = "/var/run/radiusd" Wed Mar 8 11:03:22 2023 : Debug: libdir = "/usr/lib64/freeradius" Wed Mar 8 11:03:22 2023 : Debug: radacctdir = "/var/log/radius/radacct" Wed Mar 8 11:03:22 2023 : Debug: hostname_lookups = no Wed Mar 8 11:03:22 2023 : Debug: max_request_time = 30 Wed Mar 8 11:03:22 2023 : Debug: cleanup_delay = 5 Wed Mar 8 11:03:22 2023 : Debug: max_requests = 16384 Wed Mar 8 11:03:22 2023 : Debug: pidfile = "/var/run/radiusd/radiusd.pid" Wed Mar 8 11:03:22 2023 : Debug: checkrad = "/usr/sbin/checkrad" Wed Mar 8 11:03:22 2023 : Debug: debug_level = 0 Wed Mar 8 11:03:22 2023 : Debug: proxy_requests = yes Wed Mar 8 11:03:22 2023 : Debug: log { Wed Mar 8 11:03:22 2023 : Debug: stripped_names = no Wed Mar 8 11:03:22 2023 : Debug: auth = no Wed Mar 8 11:03:22 2023 : Debug: auth_badpass = no Wed Mar 8 11:03:22 2023 : Debug: auth_goodpass = no Wed Mar 8 11:03:22 2023 : Debug: colourise = yes Wed Mar 8 11:03:22 2023 : Debug: msg_denied = "You are already logged in - access denied" Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[297]: The item 'destination' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[314]: The item 'file' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[322]: The item 'syslog_facility' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: resources { Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: security { Wed Mar 8 11:03:22 2023 : Debug: max_attributes = 200 Wed Mar 8 11:03:22 2023 : Debug: reject_delay = 1.000000 Wed Mar 8 11:03:22 2023 : Debug: status_server = yes Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[84]: The item 'exec_prefix' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[97]: The item 'confdir' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[103]: The item 'db_dir' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/radiusd.conf[169]: The item 'correct_escapes' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: radiusd: #### Loading Realms and Home Servers #### Wed Mar 8 11:03:22 2023 : Debug: proxy server { Wed Mar 8 11:03:22 2023 : Debug: retry_delay = 5 Wed Mar 8 11:03:22 2023 : Debug: retry_count = 3 Wed Mar 8 11:03:22 2023 : Debug: default_fallback = no Wed Mar 8 11:03:22 2023 : Debug: dead_time = 120 Wed Mar 8 11:03:22 2023 : Debug: wake_all_if_all_dead = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: home_server localhost { Wed Mar 8 11:03:22 2023 : Debug: ipaddr = 127.0.0.1 Wed Mar 8 11:03:22 2023 : Debug: port = 1812 Wed Mar 8 11:03:22 2023 : Debug: type = "auth" Wed Mar 8 11:03:22 2023 : Debug: secret = "testing123" Wed Mar 8 11:03:22 2023 : Debug: response_window = 20.000000 Wed Mar 8 11:03:22 2023 : Debug: response_timeouts = 1 Wed Mar 8 11:03:22 2023 : Debug: max_outstanding = 65536 Wed Mar 8 11:03:22 2023 : Debug: zombie_period = 40 Wed Mar 8 11:03:22 2023 : Debug: status_check = "status-server" Wed Mar 8 11:03:22 2023 : Debug: ping_interval = 30 Wed Mar 8 11:03:22 2023 : Debug: check_interval = 30 Wed Mar 8 11:03:22 2023 : Debug: check_timeout = 4 Wed Mar 8 11:03:22 2023 : Debug: num_answers_to_alive = 3 Wed Mar 8 11:03:22 2023 : Debug: revive_interval = 120 Wed Mar 8 11:03:22 2023 : Debug: limit { Wed Mar 8 11:03:22 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:22 2023 : Debug: max_requests = 0 Wed Mar 8 11:03:22 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:22 2023 : Debug: idle_timeout = 0 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: coa { Wed Mar 8 11:03:22 2023 : Debug: irt = 2 Wed Mar 8 11:03:22 2023 : Debug: mrt = 16 Wed Mar 8 11:03:22 2023 : Debug: mrc = 5 Wed Mar 8 11:03:22 2023 : Debug: mrd = 30 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: home_server_pool my_auth_failover { Wed Mar 8 11:03:22 2023 : Debug: type = fail-over Wed Mar 8 11:03:22 2023 : Debug: home_server = localhost Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: realm example.com { Wed Mar 8 11:03:22 2023 : Debug: auth_pool = my_auth_failover Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: realm LOCAL { Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: radiusd: #### Loading Clients #### Wed Mar 8 11:03:22 2023 : Debug: client localhost { Wed Mar 8 11:03:22 2023 : Debug: ipaddr = 127.0.0.1 Wed Mar 8 11:03:22 2023 : Debug: require_message_authenticator = no Wed Mar 8 11:03:22 2023 : Debug: secret = "testing123" Wed Mar 8 11:03:22 2023 : Debug: nas_type = "other" Wed Mar 8 11:03:22 2023 : Debug: proto = "*" Wed Mar 8 11:03:22 2023 : Debug: limit { Wed Mar 8 11:03:22 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:22 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:22 2023 : Debug: idle_timeout = 30 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Adding client 127.0.0.1/32 (127.0.0.1) to prefix tree 32 Wed Mar 8 11:03:22 2023 : Debug: client localhost_ipv6 { Wed Mar 8 11:03:22 2023 : Debug: ipv6addr = ::1 Wed Mar 8 11:03:22 2023 : Debug: require_message_authenticator = no Wed Mar 8 11:03:22 2023 : Debug: secret = "testing123" Wed Mar 8 11:03:22 2023 : Debug: limit { Wed Mar 8 11:03:22 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:22 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:22 2023 : Debug: idle_timeout = 30 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Adding client ::1/128 (::1) to prefix tree 128 Wed Mar 8 11:03:22 2023 : Debug: client radclient { Wed Mar 8 11:03:22 2023 : Debug: ipaddr = 192.168.222.131 Wed Mar 8 11:03:22 2023 : Debug: require_message_authenticator = no Wed Mar 8 11:03:22 2023 : Debug: secret = "radsecret" Wed Mar 8 11:03:22 2023 : Debug: limit { Wed Mar 8 11:03:22 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:22 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:22 2023 : Debug: idle_timeout = 30 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Adding client 192.168.222.131/32 (192.168.222.131) to prefix tree 32 Wed Mar 8 11:03:22 2023 : Info: Debugger not attached Wed Mar 8 11:03:22 2023 : Debug: # Creating Auth-Type = mschap Wed Mar 8 11:03:22 2023 : Debug: # Creating Auth-Type = digest Wed Mar 8 11:03:22 2023 : Debug: # Creating Auth-Type = eap Wed Mar 8 11:03:22 2023 : Debug: # Creating Auth-Type = PAP Wed Mar 8 11:03:22 2023 : Debug: # Creating Auth-Type = CHAP Wed Mar 8 11:03:22 2023 : Debug: # Creating Auth-Type = MS-CHAP Wed Mar 8 11:03:22 2023 : Debug: radiusd: #### Instantiating modules #### Wed Mar 8 11:03:22 2023 : Debug: modules { Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_always, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_always Wed Mar 8 11:03:22 2023 : Debug: # Loading module "reject" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always reject { Wed Mar 8 11:03:22 2023 : Debug: rcode = "reject" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "fail" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always fail { Wed Mar 8 11:03:22 2023 : Debug: rcode = "fail" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "ok" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always ok { Wed Mar 8 11:03:22 2023 : Debug: rcode = "ok" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "handled" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always handled { Wed Mar 8 11:03:22 2023 : Debug: rcode = "handled" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "invalid" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always invalid { Wed Mar 8 11:03:22 2023 : Debug: rcode = "invalid" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "userlock" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always userlock { Wed Mar 8 11:03:22 2023 : Debug: rcode = "userlock" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "notfound" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always notfound { Wed Mar 8 11:03:22 2023 : Debug: rcode = "notfound" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "noop" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always noop { Wed Mar 8 11:03:22 2023 : Debug: rcode = "noop" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "updated" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: always updated { Wed Mar 8 11:03:22 2023 : Debug: rcode = "updated" Wed Mar 8 11:03:22 2023 : Debug: simulcount = 0 Wed Mar 8 11:03:22 2023 : Debug: mpp = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_attr_filter, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_attr_filter Wed Mar 8 11:03:22 2023 : Debug: # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: attr_filter attr_filter.post-proxy { Wed Mar 8 11:03:22 2023 : Debug: filename = "/etc/raddb/mods-config/attr_filter/post-proxy" Wed Mar 8 11:03:22 2023 : Debug: key = "%{Realm}" Wed Mar 8 11:03:22 2023 : Debug: relaxed = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: attr_filter attr_filter.pre-proxy { Wed Mar 8 11:03:22 2023 : Debug: filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" Wed Mar 8 11:03:22 2023 : Debug: key = "%{Realm}" Wed Mar 8 11:03:22 2023 : Debug: relaxed = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: attr_filter attr_filter.access_reject { Wed Mar 8 11:03:22 2023 : Debug: filename = "/etc/raddb/mods-config/attr_filter/access_reject" Wed Mar 8 11:03:22 2023 : Debug: key = "%{User-Name}" Wed Mar 8 11:03:22 2023 : Debug: relaxed = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: attr_filter attr_filter.access_challenge { Wed Mar 8 11:03:22 2023 : Debug: filename = "/etc/raddb/mods-config/attr_filter/access_challenge" Wed Mar 8 11:03:22 2023 : Debug: key = "%{User-Name}" Wed Mar 8 11:03:22 2023 : Debug: relaxed = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: attr_filter attr_filter.accounting_response { Wed Mar 8 11:03:22 2023 : Debug: filename = "/etc/raddb/mods-config/attr_filter/accounting_response" Wed Mar 8 11:03:22 2023 : Debug: key = "%{User-Name}" Wed Mar 8 11:03:22 2023 : Debug: relaxed = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_cache, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_cache Wed Mar 8 11:03:22 2023 : Debug: # Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap Wed Mar 8 11:03:22 2023 : Debug: cache cache_eap { Wed Mar 8 11:03:22 2023 : Debug: driver = "rlm_cache_rbtree" Wed Mar 8 11:03:22 2023 : Debug: key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" Wed Mar 8 11:03:22 2023 : Debug: ttl = 15 Wed Mar 8 11:03:22 2023 : Debug: max_entries = 0 Wed Mar 8 11:03:22 2023 : Debug: epoch = 0 Wed Mar 8 11:03:22 2023 : Debug: add_stats = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_chap, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_chap Wed Mar 8 11:03:22 2023 : Debug: # Loading module "chap" from file /etc/raddb/mods-enabled/chap Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_date, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_date Wed Mar 8 11:03:22 2023 : Debug: # Loading module "date" from file /etc/raddb/mods-enabled/date Wed Mar 8 11:03:22 2023 : Debug: date { Wed Mar 8 11:03:22 2023 : Debug: format = "%b %e %Y %H:%M:%S %Z" Wed Mar 8 11:03:22 2023 : Debug: utc = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "wispr2date" from file /etc/raddb/mods-enabled/date Wed Mar 8 11:03:22 2023 : Debug: date wispr2date { Wed Mar 8 11:03:22 2023 : Debug: format = "%Y-%m-%dT%H:%M:%S" Wed Mar 8 11:03:22 2023 : Debug: utc = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_detail, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_detail Wed Mar 8 11:03:22 2023 : Debug: # Loading module "detail" from file /etc/raddb/mods-enabled/detail Wed Mar 8 11:03:22 2023 : Debug: detail { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" Wed Mar 8 11:03:22 2023 : Debug: header = "%t" Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: locking = no Wed Mar 8 11:03:22 2023 : Debug: escape_filenames = no Wed Mar 8 11:03:22 2023 : Debug: log_packet_header = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: detail auth_log { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" Wed Mar 8 11:03:22 2023 : Debug: header = "%t" Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: locking = no Wed Mar 8 11:03:22 2023 : Debug: escape_filenames = no Wed Mar 8 11:03:22 2023 : Debug: log_packet_header = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: detail reply_log { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" Wed Mar 8 11:03:22 2023 : Debug: header = "%t" Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: locking = no Wed Mar 8 11:03:22 2023 : Debug: escape_filenames = no Wed Mar 8 11:03:22 2023 : Debug: log_packet_header = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: detail pre_proxy_log { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" Wed Mar 8 11:03:22 2023 : Debug: header = "%t" Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: locking = no Wed Mar 8 11:03:22 2023 : Debug: escape_filenames = no Wed Mar 8 11:03:22 2023 : Debug: log_packet_header = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: detail post_proxy_log { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" Wed Mar 8 11:03:22 2023 : Debug: header = "%t" Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: locking = no Wed Mar 8 11:03:22 2023 : Debug: escape_filenames = no Wed Mar 8 11:03:22 2023 : Debug: log_packet_header = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_digest, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_digest Wed Mar 8 11:03:22 2023 : Debug: # Loading module "digest" from file /etc/raddb/mods-enabled/digest Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_dynamic_clients, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_dynamic_clients Wed Mar 8 11:03:22 2023 : Debug: # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_eap, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_eap Wed Mar 8 11:03:22 2023 : Debug: # Loading module "eap" from file /etc/raddb/mods-enabled/eap Wed Mar 8 11:03:22 2023 : Debug: eap { Wed Mar 8 11:03:22 2023 : Debug: default_eap_type = "md5" Wed Mar 8 11:03:22 2023 : Debug: timer_expire = 60 Wed Mar 8 11:03:22 2023 : Debug: ignore_unknown_eap_types = no Wed Mar 8 11:03:22 2023 : Debug: cisco_accounting_username_bug = no Wed Mar 8 11:03:22 2023 : Debug: max_sessions = 16384 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_exec, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_exec Wed Mar 8 11:03:22 2023 : Debug: # Loading module "echo" from file /etc/raddb/mods-enabled/echo Wed Mar 8 11:03:22 2023 : Debug: exec echo { Wed Mar 8 11:03:22 2023 : Debug: wait = yes Wed Mar 8 11:03:22 2023 : Debug: program = "/bin/echo %{User-Name}" Wed Mar 8 11:03:22 2023 : Debug: input_pairs = "request" Wed Mar 8 11:03:22 2023 : Debug: output_pairs = "reply" Wed Mar 8 11:03:22 2023 : Debug: shell_escape = yes Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "exec" from file /etc/raddb/mods-enabled/exec Wed Mar 8 11:03:22 2023 : Debug: exec { Wed Mar 8 11:03:22 2023 : Debug: wait = no Wed Mar 8 11:03:22 2023 : Debug: input_pairs = "request" Wed Mar 8 11:03:22 2023 : Debug: shell_escape = yes Wed Mar 8 11:03:22 2023 : Debug: timeout = 10 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_expiration, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_expiration Wed Mar 8 11:03:22 2023 : Debug: # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_expr, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_expr Wed Mar 8 11:03:22 2023 : Debug: # Loading module "expr" from file /etc/raddb/mods-enabled/expr Wed Mar 8 11:03:22 2023 : Debug: expr { Wed Mar 8 11:03:22 2023 : Debug: safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_files, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_files Wed Mar 8 11:03:22 2023 : Debug: # Loading module "files" from file /etc/raddb/mods-enabled/files Wed Mar 8 11:03:22 2023 : Debug: files { Wed Mar 8 11:03:22 2023 : Debug: filename = "/etc/raddb/mods-config/files/authorize" Wed Mar 8 11:03:22 2023 : Debug: acctusersfile = "/etc/raddb/mods-config/files/accounting" Wed Mar 8 11:03:22 2023 : Debug: preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_linelog, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_linelog Wed Mar 8 11:03:22 2023 : Debug: # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog Wed Mar 8 11:03:22 2023 : Debug: linelog { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/linelog" Wed Mar 8 11:03:22 2023 : Debug: escape_filenames = no Wed Mar 8 11:03:22 2023 : Debug: syslog_severity = "info" Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: format = "This is a log message for %{User-Name}" Wed Mar 8 11:03:22 2023 : Debug: reference = "messages.%{%{reply:Packet-Type}:-default}" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog Wed Mar 8 11:03:22 2023 : Debug: linelog log_accounting { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/linelog-accounting" Wed Mar 8 11:03:22 2023 : Debug: escape_filenames = no Wed Mar 8 11:03:22 2023 : Debug: syslog_severity = "info" Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: format = "" Wed Mar 8 11:03:22 2023 : Debug: reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_logintime, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_logintime Wed Mar 8 11:03:22 2023 : Debug: # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime Wed Mar 8 11:03:22 2023 : Debug: logintime { Wed Mar 8 11:03:22 2023 : Debug: minimum_timeout = 60 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_mschap, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_mschap Wed Mar 8 11:03:22 2023 : Debug: # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap Wed Mar 8 11:03:22 2023 : Debug: mschap { Wed Mar 8 11:03:22 2023 : Debug: use_mppe = yes Wed Mar 8 11:03:22 2023 : Debug: require_encryption = no Wed Mar 8 11:03:22 2023 : Debug: require_strong = no Wed Mar 8 11:03:22 2023 : Debug: with_ntdomain_hack = yes Wed Mar 8 11:03:22 2023 : Debug: passchange { Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: allow_retry = yes Wed Mar 8 11:03:22 2023 : Debug: winbind_retry_with_normalised_username = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth Wed Mar 8 11:03:22 2023 : Debug: exec ntlm_auth { Wed Mar 8 11:03:22 2023 : Debug: wait = yes Wed Mar 8 11:03:22 2023 : Debug: program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" Wed Mar 8 11:03:22 2023 : Debug: shell_escape = yes Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_pap, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_pap Wed Mar 8 11:03:22 2023 : Debug: # Loading module "pap" from file /etc/raddb/mods-enabled/pap Wed Mar 8 11:03:22 2023 : Debug: pap { Wed Mar 8 11:03:22 2023 : Debug: normalise = yes Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_passwd, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_passwd Wed Mar 8 11:03:22 2023 : Debug: # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd Wed Mar 8 11:03:22 2023 : Debug: passwd etc_passwd { Wed Mar 8 11:03:22 2023 : Debug: filename = "/etc/passwd" Wed Mar 8 11:03:22 2023 : Debug: format = "*User-Name:Crypt-Password:" Wed Mar 8 11:03:22 2023 : Debug: delimiter = ":" Wed Mar 8 11:03:22 2023 : Debug: ignore_nislike = no Wed Mar 8 11:03:22 2023 : Debug: ignore_empty = yes Wed Mar 8 11:03:22 2023 : Debug: allow_multiple_keys = no Wed Mar 8 11:03:22 2023 : Debug: hash_size = 100 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_preprocess, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_preprocess Wed Mar 8 11:03:22 2023 : Debug: # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess Wed Mar 8 11:03:22 2023 : Debug: preprocess { Wed Mar 8 11:03:22 2023 : Debug: huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" Wed Mar 8 11:03:22 2023 : Debug: hints = "/etc/raddb/mods-config/preprocess/hints" Wed Mar 8 11:03:22 2023 : Debug: with_ascend_hack = no Wed Mar 8 11:03:22 2023 : Debug: ascend_channels_per_line = 23 Wed Mar 8 11:03:22 2023 : Debug: with_ntdomain_hack = no Wed Mar 8 11:03:22 2023 : Debug: with_specialix_jetstream_hack = no Wed Mar 8 11:03:22 2023 : Debug: with_cisco_vsa_hack = no Wed Mar 8 11:03:22 2023 : Debug: with_alvarion_vsa_hack = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_radutmp, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_radutmp Wed Mar 8 11:03:22 2023 : Debug: # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp Wed Mar 8 11:03:22 2023 : Debug: radutmp { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/radutmp" Wed Mar 8 11:03:22 2023 : Debug: username = "%{User-Name}" Wed Mar 8 11:03:22 2023 : Debug: case_sensitive = yes Wed Mar 8 11:03:22 2023 : Debug: check_with_nas = yes Wed Mar 8 11:03:22 2023 : Debug: permissions = 384 Wed Mar 8 11:03:22 2023 : Debug: caller_id = yes Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_realm, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_realm Wed Mar 8 11:03:22 2023 : Debug: # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: realm IPASS { Wed Mar 8 11:03:22 2023 : Debug: format = "prefix" Wed Mar 8 11:03:22 2023 : Debug: delimiter = "/" Wed Mar 8 11:03:22 2023 : Debug: ignore_default = no Wed Mar 8 11:03:22 2023 : Debug: ignore_null = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "suffix" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: realm suffix { Wed Mar 8 11:03:22 2023 : Debug: format = "suffix" Wed Mar 8 11:03:22 2023 : Debug: delimiter = "@" Wed Mar 8 11:03:22 2023 : Debug: ignore_default = no Wed Mar 8 11:03:22 2023 : Debug: ignore_null = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "bangpath" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: realm bangpath { Wed Mar 8 11:03:22 2023 : Debug: format = "prefix" Wed Mar 8 11:03:22 2023 : Debug: delimiter = "!" Wed Mar 8 11:03:22 2023 : Debug: ignore_default = no Wed Mar 8 11:03:22 2023 : Debug: ignore_null = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: realm realmpercent { Wed Mar 8 11:03:22 2023 : Debug: format = "suffix" Wed Mar 8 11:03:22 2023 : Debug: delimiter = "%" Wed Mar 8 11:03:22 2023 : Debug: ignore_default = no Wed Mar 8 11:03:22 2023 : Debug: ignore_null = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: realm ntdomain { Wed Mar 8 11:03:22 2023 : Debug: format = "prefix" Wed Mar 8 11:03:22 2023 : Debug: delimiter = "\\" Wed Mar 8 11:03:22 2023 : Debug: ignore_default = no Wed Mar 8 11:03:22 2023 : Debug: ignore_null = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_replicate, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_replicate Wed Mar 8 11:03:22 2023 : Debug: # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_soh, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_soh Wed Mar 8 11:03:22 2023 : Debug: # Loading module "soh" from file /etc/raddb/mods-enabled/soh Wed Mar 8 11:03:22 2023 : Debug: soh { Wed Mar 8 11:03:22 2023 : Debug: dhcp = yes Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp Wed Mar 8 11:03:22 2023 : Debug: radutmp sradutmp { Wed Mar 8 11:03:22 2023 : Debug: filename = "/var/log/radius/sradutmp" Wed Mar 8 11:03:22 2023 : Debug: username = "%{User-Name}" Wed Mar 8 11:03:22 2023 : Debug: case_sensitive = yes Wed Mar 8 11:03:22 2023 : Debug: check_with_nas = yes Wed Mar 8 11:03:22 2023 : Debug: permissions = 420 Wed Mar 8 11:03:22 2023 : Debug: caller_id = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_unix, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_unix Wed Mar 8 11:03:22 2023 : Debug: # Loading module "unix" from file /etc/raddb/mods-enabled/unix Wed Mar 8 11:03:22 2023 : Debug: unix { Wed Mar 8 11:03:22 2023 : Debug: radwtmp = "/var/log/radius/radwtmp" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Creating attribute Unix-Group Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_unpack, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_unpack Wed Mar 8 11:03:22 2023 : Debug: # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_utf8, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_utf8 Wed Mar 8 11:03:22 2023 : Debug: # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 Wed Mar 8 11:03:22 2023 : Debug: Loaded rlm_ldap, checking if it's valid Wed Mar 8 11:03:22 2023 : Debug: # Loaded module rlm_ldap Wed Mar 8 11:03:22 2023 : Debug: # Loading module "ldap" from file /etc/raddb/mods-enabled/ldap Wed Mar 8 11:03:22 2023 : Debug: ldap { Wed Mar 8 11:03:22 2023 : Debug: server = "ldapsrv1.lab.fr" Wed Mar 8 11:03:22 2023 : Debug: identity = "cn=manager,o=lab" Wed Mar 8 11:03:22 2023 : Debug: password = "manager" Wed Mar 8 11:03:22 2023 : Debug: sasl { Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: user_dn = "LDAP-UserDn" Wed Mar 8 11:03:22 2023 : Debug: user { Wed Mar 8 11:03:22 2023 : Debug: scope = "sub" Wed Mar 8 11:03:22 2023 : Debug: access_positive = yes Wed Mar 8 11:03:22 2023 : Debug: sasl { Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: group { Wed Mar 8 11:03:22 2023 : Debug: filter = "(objectClass=posixGroup)" Wed Mar 8 11:03:22 2023 : Debug: scope = "sub" Wed Mar 8 11:03:22 2023 : Debug: name_attribute = "cn" Wed Mar 8 11:03:22 2023 : Debug: membership_attribute = "memberOf" Wed Mar 8 11:03:22 2023 : Debug: cacheable_name = no Wed Mar 8 11:03:22 2023 : Debug: cacheable_dn = no Wed Mar 8 11:03:22 2023 : Debug: allow_dangling_group_ref = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: client { Wed Mar 8 11:03:22 2023 : Debug: filter = "(objectClass=radiusClient)" Wed Mar 8 11:03:22 2023 : Debug: scope = "sub" Wed Mar 8 11:03:22 2023 : Debug: base_dn = "o=lab" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: profile { Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: options { Wed Mar 8 11:03:22 2023 : Debug: ldap_debug = 40 Wed Mar 8 11:03:22 2023 : Debug: chase_referrals = yes Wed Mar 8 11:03:22 2023 : Debug: rebind = yes Wed Mar 8 11:03:22 2023 : Debug: net_timeout = 1 Wed Mar 8 11:03:22 2023 : Debug: res_timeout = 10 Wed Mar 8 11:03:22 2023 : Debug: srv_timelimit = 3 Wed Mar 8 11:03:22 2023 : Debug: idle = 60 Wed Mar 8 11:03:22 2023 : Debug: probes = 3 Wed Mar 8 11:03:22 2023 : Debug: interval = 3 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: tls { Wed Mar 8 11:03:22 2023 : Debug: ca_path = "/etc/ssl/certs" Wed Mar 8 11:03:22 2023 : Debug: certificate_file = "/etc/raddb/certs/radsrv1.crt" Wed Mar 8 11:03:22 2023 : Debug: private_key_file = "/etc/raddb/certs/radsrv1.key" Wed Mar 8 11:03:22 2023 : Debug: start_tls = yes Wed Mar 8 11:03:22 2023 : Debug: require_cert = "demand" Wed Mar 8 11:03:22 2023 : Warning: /etc/raddb/mods-enabled/ldap[564]: The item 'check_crl' is defined, but is unused by the configuration Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: Creating attribute LDAP-Group Wed Mar 8 11:03:22 2023 : Debug: instantiate { Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "reject" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "fail" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "ok" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "handled" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "noop" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "updated" from file /etc/raddb/mods-enabled/always Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap Wed Mar 8 11:03:22 2023 : Debug: rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap Wed Mar 8 11:03:22 2023 : Debug: # Linked to sub-module rlm_eap_md5 Wed Mar 8 11:03:22 2023 : Debug: # Linked to sub-module rlm_eap_leap Wed Mar 8 11:03:22 2023 : Debug: # Linked to sub-module rlm_eap_gtc Wed Mar 8 11:03:22 2023 : Debug: gtc { Wed Mar 8 11:03:22 2023 : Debug: challenge = "Password: " Wed Mar 8 11:03:22 2023 : Debug: auth_type = "PAP" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Linked to sub-module rlm_eap_tls Wed Mar 8 11:03:22 2023 : Debug: tls { Wed Mar 8 11:03:22 2023 : Debug: tls = "tls-common" Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: tls-config tls-common { Wed Mar 8 11:03:22 2023 : Debug: verify_depth = 0 Wed Mar 8 11:03:22 2023 : Debug: ca_path = "/etc/raddb/certs" Wed Mar 8 11:03:22 2023 : Debug: pem_file_type = yes Wed Mar 8 11:03:22 2023 : Debug: private_key_file = "/etc/raddb/certs/server.pem" Wed Mar 8 11:03:22 2023 : Debug: certificate_file = "/etc/raddb/certs/server.pem" Wed Mar 8 11:03:22 2023 : Debug: ca_file = "/etc/raddb/certs/ca.pem" Wed Mar 8 11:03:22 2023 : Debug: private_key_password = "whatever" Wed Mar 8 11:03:22 2023 : Debug: dh_file = "/etc/raddb/certs/dh" Wed Mar 8 11:03:22 2023 : Debug: fragment_size = 1024 Wed Mar 8 11:03:22 2023 : Debug: include_length = yes Wed Mar 8 11:03:22 2023 : Debug: auto_chain = yes Wed Mar 8 11:03:22 2023 : Debug: check_crl = no Wed Mar 8 11:03:22 2023 : Debug: check_all_crl = no Wed Mar 8 11:03:22 2023 : Debug: cipher_list = "PROFILE=SYSTEM" Wed Mar 8 11:03:22 2023 : Debug: cipher_server_preference = no Wed Mar 8 11:03:22 2023 : Debug: ecdh_curve = "prime256v1" Wed Mar 8 11:03:22 2023 : Debug: disable_tlsv1 = yes Wed Mar 8 11:03:22 2023 : Debug: disable_tlsv1_1 = yes Wed Mar 8 11:03:22 2023 : Debug: tls_max_version = "1.2" Wed Mar 8 11:03:22 2023 : Debug: tls_min_version = "1.2" Wed Mar 8 11:03:22 2023 : Debug: cache { Wed Mar 8 11:03:22 2023 : Debug: enable = no Wed Mar 8 11:03:22 2023 : Debug: lifetime = 24 Wed Mar 8 11:03:22 2023 : Debug: max_entries = 255 Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: verify { Wed Mar 8 11:03:22 2023 : Debug: skip_if_ocsp_ok = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: ocsp { Wed Mar 8 11:03:22 2023 : Debug: enable = no Wed Mar 8 11:03:22 2023 : Debug: override_cert_url = yes Wed Mar 8 11:03:22 2023 : Debug: url = "http://127.0.0.1/ocsp/" Wed Mar 8 11:03:22 2023 : Debug: use_nonce = yes Wed Mar 8 11:03:22 2023 : Debug: timeout = 0 Wed Mar 8 11:03:22 2023 : Debug: softfail = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Warning: Please use tls_min_version and tls_max_version instead of disable_tlsv1 Wed Mar 8 11:03:22 2023 : Warning: Please use tls_min_version and tls_max_version instead of disable_tlsv1_2 Wed Mar 8 11:03:22 2023 : Debug: # Linked to sub-module rlm_eap_ttls Wed Mar 8 11:03:22 2023 : Debug: ttls { Wed Mar 8 11:03:22 2023 : Debug: tls = "tls-common" Wed Mar 8 11:03:22 2023 : Debug: default_eap_type = "md5" Wed Mar 8 11:03:22 2023 : Debug: copy_request_to_tunnel = no Wed Mar 8 11:03:22 2023 : Debug: use_tunneled_reply = no Wed Mar 8 11:03:22 2023 : Debug: virtual_server = "inner-tunnel" Wed Mar 8 11:03:22 2023 : Debug: include_length = yes Wed Mar 8 11:03:22 2023 : Debug: require_client_cert = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: tls: Using cached TLS configuration from previous invocation Wed Mar 8 11:03:22 2023 : Debug: # Linked to sub-module rlm_eap_peap Wed Mar 8 11:03:22 2023 : Debug: peap { Wed Mar 8 11:03:22 2023 : Debug: tls = "tls-common" Wed Mar 8 11:03:22 2023 : Debug: default_eap_type = "mschapv2" Wed Mar 8 11:03:22 2023 : Debug: copy_request_to_tunnel = no Wed Mar 8 11:03:22 2023 : Debug: use_tunneled_reply = no Wed Mar 8 11:03:22 2023 : Debug: proxy_tunneled_request_as_eap = yes Wed Mar 8 11:03:22 2023 : Debug: virtual_server = "inner-tunnel" Wed Mar 8 11:03:22 2023 : Debug: soh = no Wed Mar 8 11:03:22 2023 : Debug: require_client_cert = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: tls: Using cached TLS configuration from previous invocation Wed Mar 8 11:03:22 2023 : Debug: # Linked to sub-module rlm_eap_mschapv2 Wed Mar 8 11:03:22 2023 : Debug: mschapv2 { Wed Mar 8 11:03:22 2023 : Debug: with_ntdomain_hack = no Wed Mar 8 11:03:22 2023 : Debug: send_error = no Wed Mar 8 11:03:22 2023 : Debug: } Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "files" from file /etc/raddb/mods-enabled/files Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/files/authorize Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/files/accounting Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/files/pre-proxy Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap Wed Mar 8 11:03:22 2023 : Debug: rlm_mschap (mschap): using internal authentication Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd Wed Mar 8 11:03:22 2023 : Debug: rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups Wed Mar 8 11:03:22 2023 : Debug: reading pairlist file /etc/raddb/mods-config/preprocess/hints Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm Wed Mar 8 11:03:22 2023 : Debug: # Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap Wed Mar 8 11:03:42 2023 : Info: rlm_ldap: libldap vendor: OpenLDAP, version: 20446 Wed Mar 8 11:03:42 2023 : Debug: accounting { Wed Mar 8 11:03:42 2023 : Debug: reference = "%{tolower:type.%{Acct-Status-Type}}" Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: post-auth { Wed Mar 8 11:03:42 2023 : Debug: reference = "." Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Initialising connection pool Wed Mar 8 11:03:42 2023 : Debug: pool { Wed Mar 8 11:03:42 2023 : Debug: start = 5 Wed Mar 8 11:03:42 2023 : Debug: min = 3 Wed Mar 8 11:03:42 2023 : Debug: max = 32 Wed Mar 8 11:03:42 2023 : Debug: spare = 10 Wed Mar 8 11:03:42 2023 : Debug: uses = 0 Wed Mar 8 11:03:42 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:42 2023 : Debug: cleanup_interval = 30 Wed Mar 8 11:03:42 2023 : Debug: idle_timeout = 60 Wed Mar 8 11:03:42 2023 : Debug: retry_delay = 30 Wed Mar 8 11:03:42 2023 : Debug: spread = no Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Info: rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Connecting to ldap://ldapsrv1.lab.fr:389 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): New libldap handle 0x55f13631fd30 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Waiting for bind result... Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Bind successful Wed Mar 8 11:03:42 2023 : Info: rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Connecting to ldap://ldapsrv1.lab.fr:389 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): New libldap handle 0x55f136364840 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Waiting for bind result... Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Bind successful Wed Mar 8 11:03:42 2023 : Info: rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Connecting to ldap://ldapsrv1.lab.fr:389 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): New libldap handle 0x55f13644b720 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Waiting for bind result... Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Bind successful Wed Mar 8 11:03:42 2023 : Info: rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Connecting to ldap://ldapsrv1.lab.fr:389 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): New libldap handle 0x55f136531400 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Waiting for bind result... Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Bind successful Wed Mar 8 11:03:42 2023 : Info: rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Connecting to ldap://ldapsrv1.lab.fr:389 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): New libldap handle 0x55f1366178a0 Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Waiting for bind result... Wed Mar 8 11:03:42 2023 : Debug: rlm_ldap (ldap): Bind successful Wed Mar 8 11:03:42 2023 : Debug: } # modules Wed Mar 8 11:03:42 2023 : Debug: radiusd: #### Loading Virtual Servers #### Wed Mar 8 11:03:42 2023 : Debug: server { # from file /etc/raddb/radiusd.conf Wed Mar 8 11:03:42 2023 : Debug: } # server Wed Mar 8 11:03:42 2023 : Debug: server default { # from file /etc/raddb/sites-enabled/default Wed Mar 8 11:03:42 2023 : Debug: # Loading authenticate {...} Wed Mar 8 11:03:42 2023 : Debug: mschap Wed Mar 8 11:03:42 2023 : Debug: digest Wed Mar 8 11:03:42 2023 : Debug: eap Wed Mar 8 11:03:42 2023 : Debug: # Loading authorize {...} Wed Mar 8 11:03:42 2023 : Debug: policy filter_username { Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name) { Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ / /) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains whitespace' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /@[^@]*@/) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Multiple @ in User-Name' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /\.\./) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains multiple ..s' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /@/ && !&User-Name =~ /@(.+)\.(.+)$/) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Realm does not have at least one dot separator' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /\.$/) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Realm ends with a dot' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /@\./) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Realm begins with a dot' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: preprocess Wed Mar 8 11:03:42 2023 : Debug: chap Wed Mar 8 11:03:42 2023 : Debug: mschap Wed Mar 8 11:03:42 2023 : Debug: digest Wed Mar 8 11:03:42 2023 : Debug: suffix Wed Mar 8 11:03:42 2023 : Debug: eap Wed Mar 8 11:03:42 2023 : Debug: files Wed Mar 8 11:03:42 2023 : Warning: Ignoring "sql" (see raddb/mods-available/README.rst) Wed Mar 8 11:03:42 2023 : Debug: ldap Wed Mar 8 11:03:42 2023 : Debug: expiration Wed Mar 8 11:03:42 2023 : Debug: logintime Wed Mar 8 11:03:42 2023 : Debug: pap Wed Mar 8 11:03:42 2023 : Debug: # Loading preacct {...} Wed Mar 8 11:03:42 2023 : Debug: preprocess Wed Mar 8 11:03:42 2023 : Debug: policy acct_unique { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Tmp-String-9 := "ai:" Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if ("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/ && "%{string:&Class}" =~ /^ai:([0-9a-f]{32})/) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Acct-Unique-Session-Id := "%{md5:%{1},%{Acct-Session-ID}}" Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: else { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Acct-Unique-Session-Id := "%{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}" Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: suffix Wed Mar 8 11:03:42 2023 : Debug: files Wed Mar 8 11:03:42 2023 : Debug: # Loading accounting {...} Wed Mar 8 11:03:42 2023 : Debug: detail Wed Mar 8 11:03:42 2023 : Debug: unix Wed Mar 8 11:03:42 2023 : Debug: exec Wed Mar 8 11:03:42 2023 : Debug: attr_filter.accounting_response Wed Mar 8 11:03:42 2023 : Debug: # Loading post-proxy {...} Wed Mar 8 11:03:42 2023 : Debug: eap Wed Mar 8 11:03:42 2023 : Debug: # Loading post-auth {...} Wed Mar 8 11:03:42 2023 : Debug: if (&session-state:User-Name && &reply:User-Name && &User-Name && &reply:User-Name == &User-Name) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &reply:User-Name !* ANY Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &reply:[*] += &session-state:[*] Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: exec Wed Mar 8 11:03:42 2023 : Debug: policy remove_reply_message_if_eap { Wed Mar 8 11:03:42 2023 : Debug: if (&reply:EAP-Message && &reply:Reply-Message) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &reply:Reply-Message !* ANY Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: else { Wed Mar 8 11:03:42 2023 : Debug: noop Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } # server default Wed Mar 8 11:03:42 2023 : Debug: server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel Wed Mar 8 11:03:42 2023 : Debug: # Loading authenticate {...} Wed Mar 8 11:03:42 2023 : Debug: mschap Wed Mar 8 11:03:42 2023 : Debug: eap Wed Mar 8 11:03:42 2023 : Debug: # Loading authorize {...} Wed Mar 8 11:03:42 2023 : Debug: policy filter_username { Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name) { Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ / /) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains whitespace' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /@[^@]*@/) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Multiple @ in User-Name' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /\.\./) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: User-Name contains multiple ..s' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /@/ && !&User-Name =~ /@(.+)\.(.+)$/) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Realm does not have at least one dot separator' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /\.$/) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Realm ends with a dot' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: if (&User-Name =~ /@\./) { Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &Module-Failure-Message += 'Rejected: Realm begins with a dot' Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: reject Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: chap Wed Mar 8 11:03:42 2023 : Debug: mschap Wed Mar 8 11:03:42 2023 : Debug: suffix Wed Mar 8 11:03:42 2023 : Debug: update { Wed Mar 8 11:03:42 2023 : Debug: &control:Proxy-To-Realm := LOCAL Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: eap Wed Mar 8 11:03:42 2023 : Debug: files Wed Mar 8 11:03:42 2023 : Debug: ldap Wed Mar 8 11:03:42 2023 : Debug: expiration Wed Mar 8 11:03:42 2023 : Debug: logintime Wed Mar 8 11:03:42 2023 : Debug: pap Wed Mar 8 11:03:42 2023 : Debug: # Loading session {...} Wed Mar 8 11:03:42 2023 : Debug: radutmp Wed Mar 8 11:03:42 2023 : Debug: # Loading post-proxy {...} Wed Mar 8 11:03:42 2023 : Debug: eap Wed Mar 8 11:03:42 2023 : Debug: # Loading post-auth {...} Wed Mar 8 11:03:42 2023 : Info: # Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:336 Wed Mar 8 11:03:42 2023 : Debug: if (false) { Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } # server inner-tunnel Wed Mar 8 11:03:42 2023 : Debug: radiusd: #### Opening IP addresses and Ports #### Wed Mar 8 11:03:42 2023 : Debug: listen { Wed Mar 8 11:03:42 2023 : Debug: type = "auth" Wed Mar 8 11:03:42 2023 : Debug: ipaddr = * Wed Mar 8 11:03:42 2023 : Debug: port = 0 Wed Mar 8 11:03:42 2023 : Debug: limit { Wed Mar 8 11:03:42 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:42 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:42 2023 : Debug: idle_timeout = 30 Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: listen { Wed Mar 8 11:03:42 2023 : Debug: type = "acct" Wed Mar 8 11:03:42 2023 : Debug: ipaddr = * Wed Mar 8 11:03:42 2023 : Debug: port = 0 Wed Mar 8 11:03:42 2023 : Debug: limit { Wed Mar 8 11:03:42 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:42 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:42 2023 : Debug: idle_timeout = 30 Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: listen { Wed Mar 8 11:03:42 2023 : Debug: type = "auth" Wed Mar 8 11:03:42 2023 : Debug: ipv6addr = :: Wed Mar 8 11:03:42 2023 : Debug: port = 0 Wed Mar 8 11:03:42 2023 : Debug: limit { Wed Mar 8 11:03:42 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:42 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:42 2023 : Debug: idle_timeout = 30 Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: listen { Wed Mar 8 11:03:42 2023 : Debug: type = "acct" Wed Mar 8 11:03:42 2023 : Debug: ipv6addr = :: Wed Mar 8 11:03:42 2023 : Debug: port = 0 Wed Mar 8 11:03:42 2023 : Debug: limit { Wed Mar 8 11:03:42 2023 : Debug: max_connections = 16 Wed Mar 8 11:03:42 2023 : Debug: lifetime = 0 Wed Mar 8 11:03:42 2023 : Debug: idle_timeout = 30 Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: listen { Wed Mar 8 11:03:42 2023 : Debug: type = "auth" Wed Mar 8 11:03:42 2023 : Debug: ipaddr = 127.0.0.1 Wed Mar 8 11:03:42 2023 : Debug: port = 18120 Wed Mar 8 11:03:42 2023 : Debug: } Wed Mar 8 11:03:42 2023 : Debug: Listening on auth address * port 1812 bound to server default Wed Mar 8 11:03:42 2023 : Debug: Listening on acct address * port 1813 bound to server default Wed Mar 8 11:03:42 2023 : Debug: Listening on auth address :: port 1812 bound to server default Wed Mar 8 11:03:42 2023 : Debug: Listening on acct address :: port 1813 bound to server default Wed Mar 8 11:03:42 2023 : Debug: Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Wed Mar 8 11:03:42 2023 : Debug: Opened new proxy socket 'proxy address * port 33378' Wed Mar 8 11:03:42 2023 : Debug: Listening on proxy address * port 33378 Wed Mar 8 11:03:42 2023 : Debug: Opened new proxy socket 'proxy address :: port 33848' Wed Mar 8 11:03:42 2023 : Debug: Listening on proxy address :: port 33848 Wed Mar 8 11:03:42 2023 : Info: Ready to process requests I know checking the revocation status of EAP client's certificate is well supported (in mods-available/eap) but I was wondering whether checking the revocation status of "backend" servers' certificates was as well and if so what I did wrong. Have a good day, Benjamin
On Mar 8, 2023, at 8:30 AM, Benjamin Bouilhac <bouilhac.benjamin@outlook.fr> wrote:
My FreeRADIUS is talking to an LDAP directory (OpenLDAP) over TLS and I need to check the revocation status of the LDAP server's certificate using a CRL.
That is really a property of the libldap library and its APIs. That library handles all of the TLS magic for the LDAP protocol. The FreeRADIUS "tls" configuration just maps the configuration items to libldap API parameters.
I tried adding check_crl in the tls section (of the LDAP module) but to no avail (see debug output below : check_crl is ignored when parsing the configuration) :
Yes. If it's not documented as working, it doesn't work. A little google-fu shows this: https://stackoverflow.com/questions/44409029/openldap-enabling-crl-check-for... So it is possible to do, it just requires more code in rlm_ldap. Patches are always welcome...
I know checking the revocation status of EAP client's certificate is well supported (in mods-available/eap) but I was wondering whether checking the revocation status of "backend" servers' certificates was as well and if so what I did wrong.
You did nothing wrong. It's not just implemented. For EAP and RADIUS/TLS, FreeRADIUS implements EAP, RADIUS. and the interaction with TLS. For LDAP, we just hand everything off to OpenLDAP, and it does the work. So if we implement some TLS checks for EAP, they pretty much work for free in RADIUS/TLS. And we can't leverage that work for libldap, because the APIs are completely different. Alan DeKok.
Thanks for the fast feedback Alan ! I'll look more into that ________________________________ De : Freeradius-Users <freeradius-users-bounces+bouilhac.benjamin=outlook.fr@lists.freeradius.org> de la part de Alan DeKok <aland@deployingradius.com> Envoyé : mercredi 8 mars 2023 14:38 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Check certificate revocation when using LDAP/TLS On Mar 8, 2023, at 8:30 AM, Benjamin Bouilhac <bouilhac.benjamin@outlook.fr> wrote:
My FreeRADIUS is talking to an LDAP directory (OpenLDAP) over TLS and I need to check the revocation status of the LDAP server's certificate using a CRL.
That is really a property of the libldap library and its APIs. That library handles all of the TLS magic for the LDAP protocol. The FreeRADIUS "tls" configuration just maps the configuration items to libldap API parameters.
I tried adding check_crl in the tls section (of the LDAP module) but to no avail (see debug output below : check_crl is ignored when parsing the configuration) :
Yes. If it's not documented as working, it doesn't work. A little google-fu shows this: https://stackoverflow.com/questions/44409029/openldap-enabling-crl-check-for... So it is possible to do, it just requires more code in rlm_ldap. Patches are always welcome...
I know checking the revocation status of EAP client's certificate is well supported (in mods-available/eap) but I was wondering whether checking the revocation status of "backend" servers' certificates was as well and if so what I did wrong.
You did nothing wrong. It's not just implemented. For EAP and RADIUS/TLS, FreeRADIUS implements EAP, RADIUS. and the interaction with TLS. For LDAP, we just hand everything off to OpenLDAP, and it does the work. So if we implement some TLS checks for EAP, they pretty much work for free in RADIUS/TLS. And we can't leverage that work for libldap, because the APIs are completely different. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Benjamin Bouilhac