Computer/Machine Authentication almost working..
Dear All, I'm nearly there (I think) getting machine auth working via ntlm_auth, but after following the documentation from both FR and the Samba Wiki, ntlm_auth isn't authenticating and giving me an error: (7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' ntlm_auth is able to strip out the machine name correctly: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$ wbinfo tells me it's connected OK: # wbinfo -t checking the trust secret for domain MYDOMAIN via RPC calls succeeded # wbinfo -p Ping to winbindd succeeded The winbindd_privilege directory is correct: # ls -ld /var/lib/samba/winbindd_privileged/ drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/ Samba's config has this on the member (FR) server and all the DCs: ntlm auth = mschapv2-and-ntlmv2-only I understand ntlm_auth isn't supposed to be used on the CLI, so how can I test any further? Many thanks, Tim Full logs: FreeRADIUS Version 3.2.2 Copyright (C) 1999-2022 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/raddb/dictionary including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/date including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/ldap including configuration file /etc/raddb/mods-enabled/totp including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/ad_machine_auth including configuration file /etc/raddb/policy.d/abfab-tr including configuration file /etc/raddb/policy.d/canonicalization including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/moonshot-targeted-ids including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/rfc7542 including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 postauth_client_lost = no pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { nonblock = no ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } recv_coa { } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client localhost_ipv6 { ipv6addr = ::1 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client 192.168.4.0/24 { ipaddr = 192.168.4.0/24 require_message_authenticator = no secret = <<< secret >>> shortname = "wifi_APs" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached systemd watchdog is disabled # Creating Auth-Type = mschap # Creating Auth-Type = digest # Creating Auth-Type = ldap # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/raddb/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /etc/raddb/mods-enabled/date date wispr2date { format = "%Y-%m-%dT%H:%M:%S" utc = no } # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "peap" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}" passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/usr/bin/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/raddb/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_ldap # Loading module "ldap" from file /etc/raddb/mods-enabled/ldap ldap { server = "ldaps://DC01.MYDOMAIN.co.uk" identity = "cn=MYADMIN,cn=users,dc=MYDOMAIN,dc=co,dc=uk" password = <<< secret >>> sasl { } user_dn = "LDAP-UserDn" user { scope = "sub" access_positive = yes sasl { } } group { filter = "(objectClass=group)" scope = "sub" name_attribute = "cn" membership_attribute = "memberOf" cacheable_name = no cacheable_dn = no allow_dangling_group_ref = no } client { filter = "(objectClass=radiusClient)" scope = "sub" base_dn = "dc=MYDOMAIN,dc=co,dc=uk" } profile { } options { ldap_debug = 40 chase_referrals = yes rebind = yes net_timeout = 1 res_timeout = 10 srv_timelimit = 3 idle = 60 probes = 3 interval = 3 } tls { ca_file = "/etc/ssl/certs/dc01.pem" start_tls = no } } Creating attribute LDAP-Group # Loaded module rlm_totp # Loading module "totp" from file /etc/raddb/mods-enabled/totp instantiate { } # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/coa # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 rlm_eap (EAP): Ignoring EAP method 'leap', because it is no longer supported # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/server.pem" certificate_file = "/etc/raddb/certs/server.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "PROFILE=SYSTEM" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "prime256v1" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } tls: Setting DH parameters from /etc/raddb/certs/dh - this is no longer necessary. tls: You should comment out the 'dh_file' configuration item. # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = yes virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): authenticating by calling 'ntlm_auth' # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap rlm_ldap: libldap vendor: OpenLDAP, version: 20602 accounting { reference = "%{tolower:type.%{Acct-Status-Type}}" } post-auth { reference = "." } rlm_ldap (ldap): Initialising connection pool pool { start = 5 min = 3 max = 32 spare = 10 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 30 spread = no } rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type Compiling Auth-Type LDAP for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 60410 Listening on proxy address :: port 59954 Ready to process requests (0) Received Access-Request Id 202 from 192.168.4.183:40744 to 192.168.15.22:1812 length 250 (0) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (0) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (0) NAS-Port-Type = Wireless-802.11 (0) Service-Type = Framed-User (0) NAS-Port = 1 (0) Calling-Station-Id = "28-6B-35-4F-46-BF" (0) Connect-Info = "CONNECT 54Mbps 802.11a" (0) Acct-Session-Id = "7AF5DECDA3D1020E" (0) WLAN-Pairwise-Cipher = 1027076 (0) WLAN-Group-Cipher = 1027076 (0) WLAN-AKM-Suite = 1027073 (0) Framed-MTU = 1400 (0) EAP-Message = 0x02e0002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (0) Message-Authenticator = 0x45339dcf5ff0be628a0d52434270ef14 (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) policy filter_username { (0) if (&User-Name) { (0) if (&User-Name) -> TRUE (0) if (&User-Name) { (0) if (&User-Name =~ / /) { (0) if (&User-Name =~ / /) -> FALSE (0) if (&User-Name =~ /@[^@]*@/ ) { (0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (0) if (&User-Name =~ /\.\./ ) { (0) if (&User-Name =~ /\.\./ ) -> FALSE (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (0) if (&User-Name =~ /\.$/) { (0) if (&User-Name =~ /\.$/) -> FALSE (0) if (&User-Name =~ /@\./) { (0) if (&User-Name =~ /@\./) -> FALSE (0) } # if (&User-Name) = notfound (0) } # policy filter_username = notfound (0) [preprocess] = ok (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 224 length 41 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /etc/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_peap to process data (0) eap_peap: (TLS) Initiating new session (0) eap: Sending EAP Request (code 1) ID 225 length 6 (0) eap: EAP session adding &reply:State = 0xa2f91851a21801a2 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 994 (0) Sent Access-Challenge Id 202 from 192.168.15.22:1812 to 192.168.4.183:40744 length 64 (0) EAP-Message = 0x01e100061920 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xa2f91851a21801a2ba9496e09aa2d64c (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 203 from 192.168.4.183:40744 to 192.168.15.22:1812 length 490 (1) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (1) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (1) NAS-Port-Type = Wireless-802.11 (1) Service-Type = Framed-User (1) NAS-Port = 1 (1) Calling-Station-Id = "28-6B-35-4F-46-BF" (1) Connect-Info = "CONNECT 54Mbps 802.11a" (1) Acct-Session-Id = "7AF5DECDA3D1020E" (1) WLAN-Pairwise-Cipher = 1027076 (1) WLAN-Group-Cipher = 1027076 (1) WLAN-AKM-Suite = 1027073 (1) Framed-MTU = 1400 (1) EAP-Message = 0x02e101051980000000fb16030100f6010000f2030396d97a4ecef4aba29f04911ed89253b0309385bb706769b1b81e8d30403380c920e9cc5ced53531b828296dedf767263c450c57d582a2d2d78ff63c95766109325002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d00205a3b11f6621d1435940295fc49f8d11db7857a69b5c45afa0340438e3bbb040b0031000000170000ff01000100002d00020101 (1) State = 0xa2f91851a21801a2ba9496e09aa2d64c (1) Message-Authenticator = 0x30f9339b97df8bdf7f26f3b7d10837b2 (1) Restoring &session-state (1) &session-state:Framed-MTU = 994 (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) policy filter_username { (1) if (&User-Name) { (1) if (&User-Name) -> TRUE (1) if (&User-Name) { (1) if (&User-Name =~ / /) { (1) if (&User-Name =~ / /) -> FALSE (1) if (&User-Name =~ /@[^@]*@/ ) { (1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (1) if (&User-Name =~ /\.\./ ) { (1) if (&User-Name =~ /\.\./ ) -> FALSE (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (1) if (&User-Name =~ /\.$/) { (1) if (&User-Name =~ /\.$/) -> FALSE (1) if (&User-Name =~ /@\./) { (1) if (&User-Name =~ /@\./) -> FALSE (1) } # if (&User-Name) = notfound (1) } # policy filter_username = notfound (1) [preprocess] = ok (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 225 length 261 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0xa2f91851a21801a2 (1) eap: Finished EAP session with state 0xa2f91851a21801a2 (1) eap: Previous EAP request found for state 0xa2f91851a21801a2, released from the list (1) eap: Peer sent packet with method EAP PEAP (25) (1) eap: Calling submodule eap_peap to process data (1) eap_peap: (TLS) EAP Peer says that the final record size will be 251 bytes (1) eap_peap: (TLS) EAP Got all data (251 bytes) (1) eap_peap: (TLS) Handshake state - before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) recv TLS 1.3 Handshake, ClientHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, Certificate (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write certificate (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerKeyExchange (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write key exchange (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHelloDone (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (1) eap_peap: (TLS) Server : Need to read more data: SSLv3/TLS write server done (1) eap_peap: (TLS) In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 226 length 1004 (1) eap: EAP session adding &reply:State = 0xa2f91851a31b01a2 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 994 (1) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 203 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1068 (1) EAP-Message = 0x01e203ec19c000000ae216030300350200003103037686440b0ed4098a552c8832fd3e654bfcfe09eed4859e88969c9f758fbdd01800c030000009ff010001000017000016030309480b0009440009410004403082043c30820324a003020102020101300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341301e170d3233303430333132333730385a170d3333303230393132333730385a308182310b30090603550406130247423112301006035504080c094265726b736869726531183016060355040a0c0f4c616d62726f6f6b205363686f6f6c3118301606035504030c0f4c616d62726f6f (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 204 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (2) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (2) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (2) NAS-Port-Type = Wireless-802.11 (2) Service-Type = Framed-User (2) NAS-Port = 1 (2) Calling-Station-Id = "28-6B-35-4F-46-BF" (2) Connect-Info = "CONNECT 54Mbps 802.11a" (2) Acct-Session-Id = "7AF5DECDA3D1020E" (2) WLAN-Pairwise-Cipher = 1027076 (2) WLAN-Group-Cipher = 1027076 (2) WLAN-AKM-Suite = 1027073 (2) Framed-MTU = 1400 (2) EAP-Message = 0x02e200061900 (2) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (2) Message-Authenticator = 0xfea378d7277662d4cec6efee65f205db (2) Restoring &session-state (2) &session-state:Framed-MTU = 994 (2) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /etc/raddb/sites-enabled/default (2) authorize { (2) policy filter_username { (2) if (&User-Name) { (2) if (&User-Name) -> TRUE (2) if (&User-Name) { (2) if (&User-Name =~ / /) { (2) if (&User-Name =~ / /) -> FALSE (2) if (&User-Name =~ /@[^@]*@/ ) { (2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (2) if (&User-Name =~ /\.\./ ) { (2) if (&User-Name =~ /\.\./ ) -> FALSE (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (2) if (&User-Name =~ /\.$/) { (2) if (&User-Name =~ /\.$/) -> FALSE (2) if (&User-Name =~ /@\./) { (2) if (&User-Name =~ /@\./) -> FALSE (2) } # if (&User-Name) = notfound (2) } # policy filter_username = notfound (2) [preprocess] = ok (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix: Checking for suffix after "@" (2) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (2) suffix: No such realm "NULL" (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 226 length 6 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = eap (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0xa2f91851a31b01a2 (2) eap: Finished EAP session with state 0xa2f91851a31b01a2 (2) eap: Previous EAP request found for state 0xa2f91851a31b01a2, released from the list (2) eap: Peer sent packet with method EAP PEAP (25) (2) eap: Calling submodule eap_peap to process data (2) eap_peap: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 227 length 1000 (2) eap: EAP session adding &reply:State = 0xa2f91851a01a01a2 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 994 (2) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 204 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1064 (2) EAP-Message = 0x01e303e81940280e3b1582f004b30751d22255a115d4b1bb9f0c7ed9deec29772567e184f4cbd69303b359b44b064b47aa8e03109b518ffe3a68de1836d1fd4aa9a8f06f4ea34924cad3e1b5312e8f41863ef3ef88e2c112e6cf9ada87f2ceb8d3adef8271eebe180597e320e5d379b200501d491faef2fdef9698fc170cdac8a3294276bee4eadb925e41997732fe4fd98c2f6d273e9d6f5e98cde1e5326f33da674bbe8114225f1b2b7d25ee0004fb308204f7308203dfa00302010202147f171038d791383a6c25cf29f494f6dfc907b42d300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 205 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (3) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (3) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (3) NAS-Port-Type = Wireless-802.11 (3) Service-Type = Framed-User (3) NAS-Port = 1 (3) Calling-Station-Id = "28-6B-35-4F-46-BF" (3) Connect-Info = "CONNECT 54Mbps 802.11a" (3) Acct-Session-Id = "7AF5DECDA3D1020E" (3) WLAN-Pairwise-Cipher = 1027076 (3) WLAN-Group-Cipher = 1027076 (3) WLAN-AKM-Suite = 1027073 (3) Framed-MTU = 1400 (3) EAP-Message = 0x02e300061900 (3) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (3) Message-Authenticator = 0xb714bedc489537ab5e91cc8e6bad6172 (3) Restoring &session-state (3) &session-state:Framed-MTU = 994 (3) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /etc/raddb/sites-enabled/default (3) authorize { (3) policy filter_username { (3) if (&User-Name) { (3) if (&User-Name) -> TRUE (3) if (&User-Name) { (3) if (&User-Name =~ / /) { (3) if (&User-Name =~ / /) -> FALSE (3) if (&User-Name =~ /@[^@]*@/ ) { (3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (3) if (&User-Name =~ /\.\./ ) { (3) if (&User-Name =~ /\.\./ ) -> FALSE (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (3) if (&User-Name =~ /\.$/) { (3) if (&User-Name =~ /\.$/) -> FALSE (3) if (&User-Name =~ /@\./) { (3) if (&User-Name =~ /@\./) -> FALSE (3) } # if (&User-Name) = notfound (3) } # policy filter_username = notfound (3) [preprocess] = ok (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 227 length 6 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = eap (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0xa2f91851a01a01a2 (3) eap: Finished EAP session with state 0xa2f91851a01a01a2 (3) eap: Previous EAP request found for state 0xa2f91851a01a01a2, released from the list (3) eap: Peer sent packet with method EAP PEAP (25) (3) eap: Calling submodule eap_peap to process data (3) eap_peap: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 228 length 804 (3) eap: EAP session adding &reply:State = 0xa2f91851a11d01a2 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 994 (3) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 205 from 192.168.15.22:1812 to 192.168.4.183:40744 length 868 (3) EAP-Message = 0x01e4032419006d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b20434182147f171038d791383a6c25cf29f494f6dfc907b42d300f0603551d130101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b05000382010100849ca542ec2d6cfb37af8c4529b8d6a86d9c966170ebd7847133c6066fc1ae7d8114884d79888c9e5c32bc5f350c870f36fd15a4746a58a70e7703cb340341bd5b08a4db19e2e5f56c14edb844baf3a4f5db34f393a970c1641d05c8d117e17c063f92ddc535963bdacf1b3bff4b5a8012b54596e4747d29f8da2ee233f7a8e649ac85102def9800ce6b6b89e7e613b107e59acaffae0a9ff5eadd8551cf173ceb0ec9cfc0414f516ec35ef73597 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (3) Finished request Waking up in 4.9 seconds. (4) Received Access-Request Id 206 from 192.168.4.183:40744 to 192.168.15.22:1812 length 363 (4) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (4) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (4) NAS-Port-Type = Wireless-802.11 (4) Service-Type = Framed-User (4) NAS-Port = 1 (4) Calling-Station-Id = "28-6B-35-4F-46-BF" (4) Connect-Info = "CONNECT 54Mbps 802.11a" (4) Acct-Session-Id = "7AF5DECDA3D1020E" (4) WLAN-Pairwise-Cipher = 1027076 (4) WLAN-Group-Cipher = 1027076 (4) WLAN-AKM-Suite = 1027073 (4) Framed-MTU = 1400 (4) EAP-Message = 0x02e4008819800000007e1603030046100000424104fc700b1b8bfa32368426118e9a80c3f39ff815218590aed58e2c75581537f83192c25765f7180aee560c91d163e877dc0c291383f8b81220fe3e6f7575208c681403030001011603030028000000000000000018c81880c82d0c93acf0f409f08a98d6f7cdb13357292280e9ea23dce17c1c1f (4) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (4) Message-Authenticator = 0xf11fb09ed5dab5550ed5f5cb3162d479 (4) Restoring &session-state (4) &session-state:Framed-MTU = 994 (4) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /etc/raddb/sites-enabled/default (4) authorize { (4) policy filter_username { (4) if (&User-Name) { (4) if (&User-Name) -> TRUE (4) if (&User-Name) { (4) if (&User-Name =~ / /) { (4) if (&User-Name =~ / /) -> FALSE (4) if (&User-Name =~ /@[^@]*@/ ) { (4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (4) if (&User-Name =~ /\.\./ ) { (4) if (&User-Name =~ /\.\./ ) -> FALSE (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (4) if (&User-Name =~ /\.$/) { (4) if (&User-Name =~ /\.$/) -> FALSE (4) if (&User-Name =~ /@\./) { (4) if (&User-Name =~ /@\./) -> FALSE (4) } # if (&User-Name) = notfound (4) } # policy filter_username = notfound (4) [preprocess] = ok (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 228 length 136 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0xa2f91851a11d01a2 (4) eap: Finished EAP session with state 0xa2f91851a11d01a2 (4) eap: Previous EAP request found for state 0xa2f91851a11d01a2, released from the list (4) eap: Peer sent packet with method EAP PEAP (25) (4) eap: Calling submodule eap_peap to process data (4) eap_peap: (TLS) EAP Peer says that the final record size will be 126 bytes (4) eap_peap: (TLS) EAP Got all data (126 bytes) (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (4) eap_peap: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client key exchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_peap: (TLS) recv TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read finished (4) eap_peap: (TLS) send TLS 1.2 ChangeCipherSpec (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_peap: (TLS) send TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write finished (4) eap_peap: (TLS) Handshake state - SSL negotiation finished successfully (4) eap_peap: (TLS) Connection Established (4) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) eap_peap: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 229 length 57 (4) eap: EAP session adding &reply:State = 0xa2f91851a61c01a2 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 994 (4) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 206 from 192.168.15.22:1812 to 192.168.4.183:40744 length 115 (4) EAP-Message = 0x01e50039190014030300010116030300280292373b404e0822b6ddf83ac8081a30eb64150d72404bab3ca5526bb2d137e1875654b13c8fff88 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (4) Finished request Waking up in 4.9 seconds. (0) Cleaning up request packet ID 202 with timestamp +13 due to cleanup_delay was reached (1) Cleaning up request packet ID 203 with timestamp +13 due to cleanup_delay was reached (2) Cleaning up request packet ID 204 with timestamp +13 due to cleanup_delay was reached (3) Cleaning up request packet ID 205 with timestamp +13 due to cleanup_delay was reached (4) Cleaning up request packet ID 206 with timestamp +13 due to cleanup_delay was reached Ready to process requests (5) Received Access-Request Id 207 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (5) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (5) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (5) NAS-Port-Type = Wireless-802.11 (5) Service-Type = Framed-User (5) NAS-Port = 1 (5) Calling-Station-Id = "28-6B-35-4F-46-BF" (5) Connect-Info = "CONNECT 54Mbps 802.11a" (5) Acct-Session-Id = "7AF5DECDA3D1020E" (5) WLAN-Pairwise-Cipher = 1027076 (5) WLAN-Group-Cipher = 1027076 (5) WLAN-AKM-Suite = 1027073 (5) Framed-MTU = 1400 (5) EAP-Message = 0x02e500061900 (5) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (5) Message-Authenticator = 0x1d3e1b0836f981270aa2af2af7314781 (5) Restoring &session-state (5) &session-state:Framed-MTU = 994 (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /etc/raddb/sites-enabled/default (5) authorize { (5) policy filter_username { (5) if (&User-Name) { (5) if (&User-Name) -> TRUE (5) if (&User-Name) { (5) if (&User-Name =~ / /) { (5) if (&User-Name =~ / /) -> FALSE (5) if (&User-Name =~ /@[^@]*@/ ) { (5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (5) if (&User-Name =~ /\.\./ ) { (5) if (&User-Name =~ /\.\./ ) -> FALSE (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (5) if (&User-Name =~ /\.$/) { (5) if (&User-Name =~ /\.$/) -> FALSE (5) if (&User-Name =~ /@\./) { (5) if (&User-Name =~ /@\./) -> FALSE (5) } # if (&User-Name) = notfound (5) } # policy filter_username = notfound (5) [preprocess] = ok (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 229 length 6 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0xa2f91851a61c01a2 (5) eap: Finished EAP session with state 0xa2f91851a61c01a2 (5) eap: Previous EAP request found for state 0xa2f91851a61c01a2, released from the list (5) eap: Peer sent packet with method EAP PEAP (25) (5) eap: Calling submodule eap_peap to process data (5) eap_peap: (TLS) Peer ACKed our handshake fragment. handshake is finished (5) eap_peap: Session established. Decoding tunneled attributes (5) eap_peap: PEAP state TUNNEL ESTABLISHED (5) eap: Sending EAP Request (code 1) ID 230 length 40 (5) eap: EAP session adding &reply:State = 0xa2f91851a71f01a2 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) session-state: Saving cached attributes (5) Framed-MTU = 994 (5) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) TLS-Session-Version = "TLS 1.2" (5) Sent Access-Challenge Id 207 from 192.168.15.22:1812 to 192.168.4.183:40744 length 98 (5) EAP-Message = 0x01e600281900170303001d0292373b404e0823111eedee248c54e45d29e31b55efe08388ffb49d22 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (5) Finished request Waking up in 4.9 seconds. (6) Received Access-Request Id 208 from 192.168.4.183:40744 to 192.168.15.22:1812 length 299 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (6) NAS-Port-Type = Wireless-802.11 (6) Service-Type = Framed-User (6) NAS-Port = 1 (6) Calling-Station-Id = "28-6B-35-4F-46-BF" (6) Connect-Info = "CONNECT 54Mbps 802.11a" (6) Acct-Session-Id = "7AF5DECDA3D1020E" (6) WLAN-Pairwise-Cipher = 1027076 (6) WLAN-Group-Cipher = 1027076 (6) WLAN-AKM-Suite = 1027073 (6) Framed-MTU = 1400 (6) EAP-Message = 0x02e600481900170303003d000000000000000126dac151e748c5a28bcdde71e8e363af45675c1edb834d7414a4bafc3252d3c375b7322505386e598cbb1913ce51ffdf55ace14beb (6) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (6) Message-Authenticator = 0x5570ed7a63c1c77a44a515eb23753651 (6) Restoring &session-state (6) &session-state:Framed-MTU = 994 (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) &session-state:TLS-Session-Version = "TLS 1.2" (6) # Executing section authorize from file /etc/raddb/sites-enabled/default (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) [preprocess] = ok (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 72 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0xa2f91851a71f01a2 (6) eap: Finished EAP session with state 0xa2f91851a71f01a2 (6) eap: Previous EAP request found for state 0xa2f91851a71f01a2, released from the list (6) eap: Peer sent packet with method EAP PEAP (25) (6) eap: Calling submodule eap_peap to process data (6) eap_peap: (TLS) EAP Done initial handshake (6) eap_peap: Session established. Decoding tunneled attributes (6) eap_peap: PEAP state WAITING FOR INNER IDENTITY (6) eap_peap: Identity - host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Got inner identity 'host/SL-6S4BBS3.MYDOMAIN.co.uk' (6) eap_peap: Setting default EAP type for tunneled EAP session (6) eap_peap: Got tunneled request (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Sending tunneled request to inner-tunnel (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) WARNING: Outer and inner identities are the same. User privacy is compromised. (6) server inner-tunnel { (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) policy ad_computer_username { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) update request { (6) EXPAND %{1}$ (6) --> SL-6S4BBS3$ (6) &Stripped-User-Name := SL-6S4BBS3$ (6) } # update request = noop (6) if ("%{3}" != '') { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) if ("%{3}" != '') -> TRUE (6) if ("%{3}" != '') { (6) update request { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &Stripped-User-Domain = MYDOMAIN.co.uk (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &realm := MYDOMAIN.co.uk (6) } # update request = noop (6) } # if ("%{3}" != '') = noop (6) [updated] = updated (6) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (6) ... skipping else: Preceding "if" was taken (6) } # policy ad_computer_username = updated (6) policy filter_inner_identity { (6) if (!&outer.request:User-Name || !&User-Name) { (6) if (!&outer.request:User-Name || !&User-Name) -> FALSE (6) if (&outer.request:User-Name != &User-Name) { (6) if (&outer.request:User-Name != &User-Name) -> FALSE (6) } # policy filter_inner_identity = updated (6) [chap] = noop (6) [mschap] = noop (6) suffix: Request already has destination realm set. Ignoring (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 41 (6) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) authenticate { (6) eap: Peer sent packet with method EAP Identity (1) (6) eap: Calling submodule eap_mschapv2 to process data (6) eap_mschapv2: Issuing Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 42 (6) eap: EAP session adding &reply:State = 0xede77fe3ed00658b (6) [eap] = handled (6) } # authenticate = handled (6) } # server inner-tunnel (6) Virtual server sending reply (6) EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply RADIUS code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled Access-Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 73 (6) eap: EAP session adding &reply:State = 0xa2f91851a41e01a2 (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Challenge { ... } # empty sub-section is ignored (6) session-state: Saving cached attributes (6) Framed-MTU = 994 (6) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) TLS-Session-Version = "TLS 1.2" (6) Sent Access-Challenge Id 208 from 192.168.15.22:1812 to 192.168.4.183:40744 length 131 (6) EAP-Message = 0x01e700491900170303003e0292373b404e0824f68f6f9a55e22ab49ff88824830541895f006aace7eeff05416d88319fa5ff9a8f676fe7b7d1865a1a5dd5d02d8360dda3e2fa05f6f7 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (6) Finished request Waking up in 4.9 seconds. (7) Received Access-Request Id 209 from 192.168.4.183:40744 to 192.168.15.22:1812 length 353 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (7) NAS-Port-Type = Wireless-802.11 (7) Service-Type = Framed-User (7) NAS-Port = 1 (7) Calling-Station-Id = "28-6B-35-4F-46-BF" (7) Connect-Info = "CONNECT 54Mbps 802.11a" (7) Acct-Session-Id = "7AF5DECDA3D1020E" (7) WLAN-Pairwise-Cipher = 1027076 (7) WLAN-Group-Cipher = 1027076 (7) WLAN-AKM-Suite = 1027073 (7) Framed-MTU = 1400 (7) EAP-Message = 0x02e7007e1900170303007300000000000000027b9322e534889e59cf73b49f78b04f94dde670f8ab5b1498810d5c67eb341706c1481bdb3e899835ad498d113a934782396acee4975a42eff342319baabd11f32833e1bb90543f6569ab798880a12f9b696c2eaa0af0d1e4c8b09d9248a72ab408acde5ec010a39d71757b (7) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (7) Message-Authenticator = 0xa9e9e786e494d085735ff5c7c065a11f (7) Restoring &session-state (7) &session-state:Framed-MTU = 994 (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) &session-state:TLS-Session-Version = "TLS 1.2" (7) # Executing section authorize from file /etc/raddb/sites-enabled/default (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) [preprocess] = ok (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 126 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/default (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xa2f91851a41e01a2 (7) eap: Previous EAP request found for state 0xa2f91851a41e01a2, released from the list (7) eap: Peer sent packet with method EAP PEAP (25) (7) eap: Calling submodule eap_peap to process data (7) eap_peap: (TLS) EAP Done initial handshake (7) eap_peap: Session established. Decoding tunneled attributes (7) eap_peap: PEAP state phase2 (7) eap_peap: EAP method MSCHAPv2 (26) (7) eap_peap: Got tunneled request (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (7) eap_peap: Sending tunneled request to inner-tunnel (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (7) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) State = 0xede77fe3ed00658b2611adfefd1eb95e (7) WARNING: Outer and inner identities are the same. User privacy is compromised. (7) server inner-tunnel { (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) policy ad_computer_username { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) update request { (7) EXPAND %{1}$ (7) --> SL-6S4BBS3$ (7) &Stripped-User-Name := SL-6S4BBS3$ (7) } # update request = noop (7) if ("%{3}" != '') { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) if ("%{3}" != '') -> TRUE (7) if ("%{3}" != '') { (7) update request { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &Stripped-User-Domain = MYDOMAIN.co.uk (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &realm := MYDOMAIN.co.uk (7) } # update request = noop (7) } # if ("%{3}" != '') = noop (7) [updated] = updated (7) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (7) ... skipping else: Preceding "if" was taken (7) } # policy ad_computer_username = updated (7) policy filter_inner_identity { (7) if (!&outer.request:User-Name || !&User-Name) { (7) if (!&outer.request:User-Name || !&User-Name) -> FALSE (7) if (&outer.request:User-Name != &User-Name) { (7) if (&outer.request:User-Name != &User-Name) -> FALSE (7) } # policy filter_inner_identity = updated (7) [chap] = noop (7) [mschap] = noop (7) suffix: Request already has destination realm set. Ignoring (7) [suffix] = noop (7) update control { (7) &Proxy-To-Realm := LOCAL (7) } # update control = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 95 (7) eap: No EAP Start, assuming it's an on-going EAP conversation (7) [eap] = updated (7) files: Searching for user in group "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (0) (7) files: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) files: --> (samaccountname=SL-6S4BBS3$) (7) files: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) files: Waiting for search result... ber_get_next failed, errno=11. TLS certificate verification: Error, unable to get local issuer certificate rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (0) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (5), 1 of 27 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (1) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (1) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (6), 1 of 26 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (2) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN (7) files: User found in group DN "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk". Comparison between membership: dn, check: dn rlm_ldap (ldap): Released connection (2) (7) files: users: Matched entry DEFAULT at line 11 (7) [files] = ok rlm_ldap (ldap): Reserved connection (3) (7) ldap: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) ldap: --> (samaccountname=SL-6S4BBS3$) (7) ldap: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) ldap: Waiting for search result... rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) ldap: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) ldap: Processing user attributes (7) ldap: WARNING: No "known good" password added. Ensure the MYADMIN user has permission to read the password attribute (7) ldap: WARNING: PAP authentication will *NOT* work with Active Directory (if that is what you were trying to configure) rlm_ldap (ldap): Released connection (3) (7) [ldap] = ok (7) [expiration] = noop (7) [logintime] = noop (7) [pap] = noop (7) } # authorize = updated (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xede77fe3ed00658b (7) eap: Previous EAP request found for state 0xede77fe3ed00658b, released from the list (7) eap: Peer sent packet with method EAP MSCHAPv2 (26) (7) eap: Calling submodule eap_mschapv2 to process data (7) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) eap_mschapv2: authenticate { (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: Client is using MS-CHAPv2 (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$ (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: EXPAND --challenge=%{mschap:Challenge:-00} (7) mschap: --> --challenge=eab8de792c4017e7 (7) mschap: EXPAND --nt-response=%{mschap:NT-Response:-00} (7) mschap: --> --nt-response=a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd (7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' (7) mschap: External script failed (7) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (7) mschap: ERROR: MS-CHAP2-Response is incorrect (7) eap_mschapv2: [mschap] = reject (7) eap_mschapv2: } # authenticate = reject (7) eap: Sending EAP Failure (code 4) ID 231 length 4 (7) eap: Freeing handler (7) [eap] = reject (7) } # authenticate = reject (7) Failed to authenticate the user (7) Using Post-Auth-Type Reject (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) Post-Auth-Type REJECT { (7) attr_filter.access_reject: EXPAND %{User-Name} (7) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (7) attr_filter.access_reject: Matched entry DEFAULT at line 11 (7) [attr_filter.access_reject] = updated (7) update outer.session-state { (7) &Module-Failure-Message := &request:Module-Failure-Message -> 'mschap: Program returned code (1) and output \'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)\'' (7) } # update outer.session-state = noop (7) } # Post-Auth-Type REJECT = updated (7) } # server inner-tunnel (7) Virtual server sending reply (7) MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) EAP-Message = 0x04e70004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply RADIUS code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Tunneled authentication was rejected (7) eap_peap: FAILURE (7) eap: Sending EAP Request (code 1) ID 232 length 46 (7) eap: EAP session adding &reply:State = 0xa2f91851a51101a2 (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Challenge { ... } # empty sub-section is ignored (7) session-state: Saving cached attributes (7) Framed-MTU = 994 (7) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) TLS-Session-Version = "TLS 1.2" (7) Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (7) Sent Access-Challenge Id 209 from 192.168.15.22:1812 to 192.168.4.183:40744 length 104 (7) EAP-Message = 0x01e8002e190017030300230292373b404e0825e3a4e9c5f699e6fe4e5edeebdd618ae26ccc847c29515b2490b95f (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0xa2f91851a51101a2ba9496e09aa2d64c (7) Finished request Waking up in 4.6 seconds. (8) Received Access-Request Id 210 from 192.168.4.183:40744 to 192.168.15.22:1812 length 273 (8) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (8) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (8) NAS-Port-Type = Wireless-802.11 (8) Service-Type = Framed-User (8) NAS-Port = 1 (8) Calling-Station-Id = "28-6B-35-4F-46-BF" (8) Connect-Info = "CONNECT 54Mbps 802.11a" (8) Acct-Session-Id = "7AF5DECDA3D1020E" (8) WLAN-Pairwise-Cipher = 1027076 (8) WLAN-Group-Cipher = 1027076 (8) WLAN-AKM-Suite = 1027073 (8) Framed-MTU = 1400 (8) EAP-Message = 0x02e8002e190017030300230000000000000003ea33017147c3302fdd480b9bd7a1ca0fd7ba7737df755ffe4ea240 (8) State = 0xa2f91851a51101a2ba9496e09aa2d64c (8) Message-Authenticator = 0x03f0ffd538cbbb486e3851ef134e7a75 (8) Restoring &session-state (8) &session-state:Framed-MTU = 994 (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (8) &session-state:TLS-Session-Version = "TLS 1.2" (8) &session-state:Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (8) # Executing section authorize from file /etc/raddb/sites-enabled/default (8) authorize { (8) policy filter_username { (8) if (&User-Name) { (8) if (&User-Name) -> TRUE (8) if (&User-Name) { (8) if (&User-Name =~ / /) { (8) if (&User-Name =~ / /) -> FALSE (8) if (&User-Name =~ /@[^@]*@/ ) { (8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (8) if (&User-Name =~ /\.\./ ) { (8) if (&User-Name =~ /\.\./ ) -> FALSE (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (8) if (&User-Name =~ /\.$/) { (8) if (&User-Name =~ /\.$/) -> FALSE (8) if (&User-Name =~ /@\./) { (8) if (&User-Name =~ /@\./) -> FALSE (8) } # if (&User-Name) = notfound (8) } # policy filter_username = notfound (8) [preprocess] = ok (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 232 length 46 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = eap (8) # Executing group from file /etc/raddb/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0xa2f91851a51101a2 (8) eap: Finished EAP session with state 0xa2f91851a51101a2 (8) eap: Previous EAP request found for state 0xa2f91851a51101a2, released from the list (8) eap: Peer sent packet with method EAP PEAP (25) (8) eap: Calling submodule eap_peap to process data (8) eap_peap: (TLS) EAP Done initial handshake (8) eap_peap: Session established. Decoding tunneled attributes (8) eap_peap: PEAP state send tlv failure (8) eap_peap: Received EAP-TLV response (8) eap_peap: ERROR: The users session was previously rejected: returning reject (again.) (8) eap_peap: This means you need to read the PREVIOUS messages in the debug output (8) eap_peap: to find out the reason why the user was rejected (8) eap_peap: Look for "reject" or "fail". Those earlier messages will tell you (8) eap_peap: what went wrong, and how to fix the problem (8) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed (8) eap: Sending EAP Failure (code 4) ID 232 length 4 (8) eap: Failed in EAP select (8) [eap] = invalid (8) } # authenticate = invalid (8) Failed to authenticate the user (8) Using Post-Auth-Type Reject (8) # Executing group from file /etc/raddb/sites-enabled/default (8) Post-Auth-Type REJECT { (8) attr_filter.access_reject: EXPAND %{User-Name} (8) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (8) attr_filter.access_reject: Matched entry DEFAULT at line 11 (8) [attr_filter.access_reject] = updated (8) [eap] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # Post-Auth-Type REJECT = updated (8) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (8) Sending delayed response (8) Sent Access-Reject Id 210 from 192.168.15.22:1812 to 192.168.4.183:40744 length 44 (8) EAP-Message = 0x04e80004 (8) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.6 seconds. (5) Cleaning up request packet ID 207 with timestamp +24 due to cleanup_delay was reached (6) Cleaning up request packet ID 208 with timestamp +24 due to cleanup_delay was reached Waking up in 0.3 seconds. (7) Cleaning up request packet ID 209 with timestamp +24 due to cleanup_delay was reached (8) Cleaning up request packet ID 210 with timestamp +25 due to cleanup_delay was reached Ready to process requests
On 3 Apr 2023, at 15:20, Tim ODriscoll <tim.odriscoll@lambrookschool.co.uk> wrote:
Dear All,
I'm nearly there (I think) getting machine auth working via ntlm_auth, but after following the documentation from both FR and the Samba Wiki, ntlm_auth isn't authenticating and giving me an error:
(7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
ntlm_auth is able to strip out the machine name correctly: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$
wbinfo tells me it's connected OK: # wbinfo -t checking the trust secret for domain MYDOMAIN via RPC calls succeeded # wbinfo -p Ping to winbindd succeeded
The winbindd_privilege directory is correct: # ls -ld /var/lib/samba/winbindd_privileged/ drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/
Samba's config has this on the member (FR) server and all the DCs: ntlm auth = mschapv2-and-ntlmv2-only
I understand ntlm_auth isn't supposed to be used on the CLI, so how can I test any further?
Where did you get that from? ntlm_auth works just fine from the terminal: # ntlm_auth --username=testuser Password: NT_STATUS_OK: The operation completed successfully. (0x0)
Many thanks,
Tim
Full logs: FreeRADIUS Version 3.2.2 Copyright (C) 1999-2022 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/raddb/dictionary including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/date including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/ldap including configuration file /etc/raddb/mods-enabled/totp including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/ad_machine_auth including configuration file /etc/raddb/policy.d/abfab-tr including configuration file /etc/raddb/policy.d/canonicalization including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/moonshot-targeted-ids including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/rfc7542 including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 postauth_client_lost = no pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { nonblock = no ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } recv_coa { } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client localhost_ipv6 { ipv6addr = ::1 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client 192.168.4.0/24 { ipaddr = 192.168.4.0/24 require_message_authenticator = no secret = <<< secret >>> shortname = "wifi_APs" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached systemd watchdog is disabled # Creating Auth-Type = mschap # Creating Auth-Type = digest # Creating Auth-Type = ldap # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/raddb/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /etc/raddb/mods-enabled/date date wispr2date { format = "%Y-%m-%dT%H:%M:%S" utc = no } # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "peap" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}" passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/usr/bin/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/raddb/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_ldap # Loading module "ldap" from file /etc/raddb/mods-enabled/ldap ldap { server = "ldaps://DC01.MYDOMAIN.co.uk" identity = "cn=MYADMIN,cn=users,dc=MYDOMAIN,dc=co,dc=uk" password = <<< secret >>> sasl { } user_dn = "LDAP-UserDn" user { scope = "sub" access_positive = yes sasl { } } group { filter = "(objectClass=group)" scope = "sub" name_attribute = "cn" membership_attribute = "memberOf" cacheable_name = no cacheable_dn = no allow_dangling_group_ref = no } client { filter = "(objectClass=radiusClient)" scope = "sub" base_dn = "dc=MYDOMAIN,dc=co,dc=uk" } profile { } options { ldap_debug = 40 chase_referrals = yes rebind = yes net_timeout = 1 res_timeout = 10 srv_timelimit = 3 idle = 60 probes = 3 interval = 3 } tls { ca_file = "/etc/ssl/certs/dc01.pem" start_tls = no } } Creating attribute LDAP-Group # Loaded module rlm_totp # Loading module "totp" from file /etc/raddb/mods-enabled/totp instantiate { } # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/coa # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 rlm_eap (EAP): Ignoring EAP method 'leap', because it is no longer supported # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/server.pem" certificate_file = "/etc/raddb/certs/server.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "PROFILE=SYSTEM" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "prime256v1" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } tls: Setting DH parameters from /etc/raddb/certs/dh - this is no longer necessary. tls: You should comment out the 'dh_file' configuration item. # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = yes virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): authenticating by calling 'ntlm_auth' # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap rlm_ldap: libldap vendor: OpenLDAP, version: 20602 accounting { reference = "%{tolower:type.%{Acct-Status-Type}}" } post-auth { reference = "." } rlm_ldap (ldap): Initialising connection pool pool { start = 5 min = 3 max = 32 spare = 10 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 30 spread = no } rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type Compiling Auth-Type LDAP for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 60410 Listening on proxy address :: port 59954 Ready to process requests (0) Received Access-Request Id 202 from 192.168.4.183:40744 to 192.168.15.22:1812 length 250 (0) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (0) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (0) NAS-Port-Type = Wireless-802.11 (0) Service-Type = Framed-User (0) NAS-Port = 1 (0) Calling-Station-Id = "28-6B-35-4F-46-BF" (0) Connect-Info = "CONNECT 54Mbps 802.11a" (0) Acct-Session-Id = "7AF5DECDA3D1020E" (0) WLAN-Pairwise-Cipher = 1027076 (0) WLAN-Group-Cipher = 1027076 (0) WLAN-AKM-Suite = 1027073 (0) Framed-MTU = 1400 (0) EAP-Message = 0x02e0002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (0) Message-Authenticator = 0x45339dcf5ff0be628a0d52434270ef14 (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) policy filter_username { (0) if (&User-Name) { (0) if (&User-Name) -> TRUE (0) if (&User-Name) { (0) if (&User-Name =~ / /) { (0) if (&User-Name =~ / /) -> FALSE (0) if (&User-Name =~ /@[^@]*@/ ) { (0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (0) if (&User-Name =~ /\.\./ ) { (0) if (&User-Name =~ /\.\./ ) -> FALSE (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (0) if (&User-Name =~ /\.$/) { (0) if (&User-Name =~ /\.$/) -> FALSE (0) if (&User-Name =~ /@\./) { (0) if (&User-Name =~ /@\./) -> FALSE (0) } # if (&User-Name) = notfound (0) } # policy filter_username = notfound (0) [preprocess] = ok (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 224 length 41 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /etc/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_peap to process data (0) eap_peap: (TLS) Initiating new session (0) eap: Sending EAP Request (code 1) ID 225 length 6 (0) eap: EAP session adding &reply:State = 0xa2f91851a21801a2 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 994 (0) Sent Access-Challenge Id 202 from 192.168.15.22:1812 to 192.168.4.183:40744 length 64 (0) EAP-Message = 0x01e100061920 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xa2f91851a21801a2ba9496e09aa2d64c (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 203 from 192.168.4.183:40744 to 192.168.15.22:1812 length 490 (1) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (1) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (1) NAS-Port-Type = Wireless-802.11 (1) Service-Type = Framed-User (1) NAS-Port = 1 (1) Calling-Station-Id = "28-6B-35-4F-46-BF" (1) Connect-Info = "CONNECT 54Mbps 802.11a" (1) Acct-Session-Id = "7AF5DECDA3D1020E" (1) WLAN-Pairwise-Cipher = 1027076 (1) WLAN-Group-Cipher = 1027076 (1) WLAN-AKM-Suite = 1027073 (1) Framed-MTU = 1400 (1) EAP-Message = 0x02e101051980000000fb16030100f6010000f2030396d97a4ecef4aba29f04911ed89253b0309385bb706769b1b81e8d30403380c920e9cc5ced53531b828296dedf767263c450c57d582a2d2d78ff63c95766109325002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d00205a3b11f6621d1435940295fc49f8d11db7857a69b5c45afa0340438e3bbb040b0031000000170000ff01000100002d00020101 (1) State = 0xa2f91851a21801a2ba9496e09aa2d64c (1) Message-Authenticator = 0x30f9339b97df8bdf7f26f3b7d10837b2 (1) Restoring &session-state (1) &session-state:Framed-MTU = 994 (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) policy filter_username { (1) if (&User-Name) { (1) if (&User-Name) -> TRUE (1) if (&User-Name) { (1) if (&User-Name =~ / /) { (1) if (&User-Name =~ / /) -> FALSE (1) if (&User-Name =~ /@[^@]*@/ ) { (1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (1) if (&User-Name =~ /\.\./ ) { (1) if (&User-Name =~ /\.\./ ) -> FALSE (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (1) if (&User-Name =~ /\.$/) { (1) if (&User-Name =~ /\.$/) -> FALSE (1) if (&User-Name =~ /@\./) { (1) if (&User-Name =~ /@\./) -> FALSE (1) } # if (&User-Name) = notfound (1) } # policy filter_username = notfound (1) [preprocess] = ok (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 225 length 261 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0xa2f91851a21801a2 (1) eap: Finished EAP session with state 0xa2f91851a21801a2 (1) eap: Previous EAP request found for state 0xa2f91851a21801a2, released from the list (1) eap: Peer sent packet with method EAP PEAP (25) (1) eap: Calling submodule eap_peap to process data (1) eap_peap: (TLS) EAP Peer says that the final record size will be 251 bytes (1) eap_peap: (TLS) EAP Got all data (251 bytes) (1) eap_peap: (TLS) Handshake state - before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) recv TLS 1.3 Handshake, ClientHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, Certificate (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write certificate (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerKeyExchange (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write key exchange (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHelloDone (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (1) eap_peap: (TLS) Server : Need to read more data: SSLv3/TLS write server done (1) eap_peap: (TLS) In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 226 length 1004 (1) eap: EAP session adding &reply:State = 0xa2f91851a31b01a2 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 994 (1) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 203 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1068 (1) EAP-Message = 0x01e203ec19c000000ae216030300350200003103037686440b0ed4098a552c8832fd3e654bfcfe09eed4859e88969c9f758fbdd01800c030000009ff010001000017000016030309480b0009440009410004403082043c30820324a003020102020101300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341301e170d3233303430333132333730385a170d3333303230393132333730385a308182310b30090603550406130247423112301006035504080c094265726b736869726531183016060355040a0c0f4c616d62726f6f6b205363686f6f6c3118301606035504030c0f4c616d62726f6f (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 204 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (2) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (2) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (2) NAS-Port-Type = Wireless-802.11 (2) Service-Type = Framed-User (2) NAS-Port = 1 (2) Calling-Station-Id = "28-6B-35-4F-46-BF" (2) Connect-Info = "CONNECT 54Mbps 802.11a" (2) Acct-Session-Id = "7AF5DECDA3D1020E" (2) WLAN-Pairwise-Cipher = 1027076 (2) WLAN-Group-Cipher = 1027076 (2) WLAN-AKM-Suite = 1027073 (2) Framed-MTU = 1400 (2) EAP-Message = 0x02e200061900 (2) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (2) Message-Authenticator = 0xfea378d7277662d4cec6efee65f205db (2) Restoring &session-state (2) &session-state:Framed-MTU = 994 (2) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /etc/raddb/sites-enabled/default (2) authorize { (2) policy filter_username { (2) if (&User-Name) { (2) if (&User-Name) -> TRUE (2) if (&User-Name) { (2) if (&User-Name =~ / /) { (2) if (&User-Name =~ / /) -> FALSE (2) if (&User-Name =~ /@[^@]*@/ ) { (2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (2) if (&User-Name =~ /\.\./ ) { (2) if (&User-Name =~ /\.\./ ) -> FALSE (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (2) if (&User-Name =~ /\.$/) { (2) if (&User-Name =~ /\.$/) -> FALSE (2) if (&User-Name =~ /@\./) { (2) if (&User-Name =~ /@\./) -> FALSE (2) } # if (&User-Name) = notfound (2) } # policy filter_username = notfound (2) [preprocess] = ok (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix: Checking for suffix after "@" (2) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (2) suffix: No such realm "NULL" (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 226 length 6 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = eap (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0xa2f91851a31b01a2 (2) eap: Finished EAP session with state 0xa2f91851a31b01a2 (2) eap: Previous EAP request found for state 0xa2f91851a31b01a2, released from the list (2) eap: Peer sent packet with method EAP PEAP (25) (2) eap: Calling submodule eap_peap to process data (2) eap_peap: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 227 length 1000 (2) eap: EAP session adding &reply:State = 0xa2f91851a01a01a2 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 994 (2) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 204 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1064 (2) EAP-Message = 0x01e303e81940280e3b1582f004b30751d22255a115d4b1bb9f0c7ed9deec29772567e184f4cbd69303b359b44b064b47aa8e03109b518ffe3a68de1836d1fd4aa9a8f06f4ea34924cad3e1b5312e8f41863ef3ef88e2c112e6cf9ada87f2ceb8d3adef8271eebe180597e320e5d379b200501d491faef2fdef9698fc170cdac8a3294276bee4eadb925e41997732fe4fd98c2f6d273e9d6f5e98cde1e5326f33da674bbe8114225f1b2b7d25ee0004fb308204f7308203dfa00302010202147f171038d791383a6c25cf29f494f6dfc907b42d300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 205 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (3) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (3) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (3) NAS-Port-Type = Wireless-802.11 (3) Service-Type = Framed-User (3) NAS-Port = 1 (3) Calling-Station-Id = "28-6B-35-4F-46-BF" (3) Connect-Info = "CONNECT 54Mbps 802.11a" (3) Acct-Session-Id = "7AF5DECDA3D1020E" (3) WLAN-Pairwise-Cipher = 1027076 (3) WLAN-Group-Cipher = 1027076 (3) WLAN-AKM-Suite = 1027073 (3) Framed-MTU = 1400 (3) EAP-Message = 0x02e300061900 (3) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (3) Message-Authenticator = 0xb714bedc489537ab5e91cc8e6bad6172 (3) Restoring &session-state (3) &session-state:Framed-MTU = 994 (3) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /etc/raddb/sites-enabled/default (3) authorize { (3) policy filter_username { (3) if (&User-Name) { (3) if (&User-Name) -> TRUE (3) if (&User-Name) { (3) if (&User-Name =~ / /) { (3) if (&User-Name =~ / /) -> FALSE (3) if (&User-Name =~ /@[^@]*@/ ) { (3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (3) if (&User-Name =~ /\.\./ ) { (3) if (&User-Name =~ /\.\./ ) -> FALSE (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (3) if (&User-Name =~ /\.$/) { (3) if (&User-Name =~ /\.$/) -> FALSE (3) if (&User-Name =~ /@\./) { (3) if (&User-Name =~ /@\./) -> FALSE (3) } # if (&User-Name) = notfound (3) } # policy filter_username = notfound (3) [preprocess] = ok (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 227 length 6 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = eap (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0xa2f91851a01a01a2 (3) eap: Finished EAP session with state 0xa2f91851a01a01a2 (3) eap: Previous EAP request found for state 0xa2f91851a01a01a2, released from the list (3) eap: Peer sent packet with method EAP PEAP (25) (3) eap: Calling submodule eap_peap to process data (3) eap_peap: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 228 length 804 (3) eap: EAP session adding &reply:State = 0xa2f91851a11d01a2 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 994 (3) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 205 from 192.168.15.22:1812 to 192.168.4.183:40744 length 868 (3) EAP-Message = 0x01e4032419006d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b20434182147f171038d791383a6c25cf29f494f6dfc907b42d300f0603551d130101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b05000382010100849ca542ec2d6cfb37af8c4529b8d6a86d9c966170ebd7847133c6066fc1ae7d8114884d79888c9e5c32bc5f350c870f36fd15a4746a58a70e7703cb340341bd5b08a4db19e2e5f56c14edb844baf3a4f5db34f393a970c1641d05c8d117e17c063f92ddc535963bdacf1b3bff4b5a8012b54596e4747d29f8da2ee233f7a8e649ac85102def9800ce6b6b89e7e613b107e59acaffae0a9ff5eadd8551cf173ceb0ec9cfc0414f516ec35ef73597 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (3) Finished request Waking up in 4.9 seconds. (4) Received Access-Request Id 206 from 192.168.4.183:40744 to 192.168.15.22:1812 length 363 (4) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (4) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (4) NAS-Port-Type = Wireless-802.11 (4) Service-Type = Framed-User (4) NAS-Port = 1 (4) Calling-Station-Id = "28-6B-35-4F-46-BF" (4) Connect-Info = "CONNECT 54Mbps 802.11a" (4) Acct-Session-Id = "7AF5DECDA3D1020E" (4) WLAN-Pairwise-Cipher = 1027076 (4) WLAN-Group-Cipher = 1027076 (4) WLAN-AKM-Suite = 1027073 (4) Framed-MTU = 1400 (4) EAP-Message = 0x02e4008819800000007e1603030046100000424104fc700b1b8bfa32368426118e9a80c3f39ff815218590aed58e2c75581537f83192c25765f7180aee560c91d163e877dc0c291383f8b81220fe3e6f7575208c681403030001011603030028000000000000000018c81880c82d0c93acf0f409f08a98d6f7cdb13357292280e9ea23dce17c1c1f (4) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (4) Message-Authenticator = 0xf11fb09ed5dab5550ed5f5cb3162d479 (4) Restoring &session-state (4) &session-state:Framed-MTU = 994 (4) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /etc/raddb/sites-enabled/default (4) authorize { (4) policy filter_username { (4) if (&User-Name) { (4) if (&User-Name) -> TRUE (4) if (&User-Name) { (4) if (&User-Name =~ / /) { (4) if (&User-Name =~ / /) -> FALSE (4) if (&User-Name =~ /@[^@]*@/ ) { (4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (4) if (&User-Name =~ /\.\./ ) { (4) if (&User-Name =~ /\.\./ ) -> FALSE (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (4) if (&User-Name =~ /\.$/) { (4) if (&User-Name =~ /\.$/) -> FALSE (4) if (&User-Name =~ /@\./) { (4) if (&User-Name =~ /@\./) -> FALSE (4) } # if (&User-Name) = notfound (4) } # policy filter_username = notfound (4) [preprocess] = ok (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 228 length 136 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0xa2f91851a11d01a2 (4) eap: Finished EAP session with state 0xa2f91851a11d01a2 (4) eap: Previous EAP request found for state 0xa2f91851a11d01a2, released from the list (4) eap: Peer sent packet with method EAP PEAP (25) (4) eap: Calling submodule eap_peap to process data (4) eap_peap: (TLS) EAP Peer says that the final record size will be 126 bytes (4) eap_peap: (TLS) EAP Got all data (126 bytes) (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (4) eap_peap: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client key exchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_peap: (TLS) recv TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read finished (4) eap_peap: (TLS) send TLS 1.2 ChangeCipherSpec (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_peap: (TLS) send TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write finished (4) eap_peap: (TLS) Handshake state - SSL negotiation finished successfully (4) eap_peap: (TLS) Connection Established (4) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) eap_peap: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 229 length 57 (4) eap: EAP session adding &reply:State = 0xa2f91851a61c01a2 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 994 (4) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 206 from 192.168.15.22:1812 to 192.168.4.183:40744 length 115 (4) EAP-Message = 0x01e50039190014030300010116030300280292373b404e0822b6ddf83ac8081a30eb64150d72404bab3ca5526bb2d137e1875654b13c8fff88 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (4) Finished request Waking up in 4.9 seconds. (0) Cleaning up request packet ID 202 with timestamp +13 due to cleanup_delay was reached (1) Cleaning up request packet ID 203 with timestamp +13 due to cleanup_delay was reached (2) Cleaning up request packet ID 204 with timestamp +13 due to cleanup_delay was reached (3) Cleaning up request packet ID 205 with timestamp +13 due to cleanup_delay was reached (4) Cleaning up request packet ID 206 with timestamp +13 due to cleanup_delay was reached Ready to process requests (5) Received Access-Request Id 207 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (5) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (5) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (5) NAS-Port-Type = Wireless-802.11 (5) Service-Type = Framed-User (5) NAS-Port = 1 (5) Calling-Station-Id = "28-6B-35-4F-46-BF" (5) Connect-Info = "CONNECT 54Mbps 802.11a" (5) Acct-Session-Id = "7AF5DECDA3D1020E" (5) WLAN-Pairwise-Cipher = 1027076 (5) WLAN-Group-Cipher = 1027076 (5) WLAN-AKM-Suite = 1027073 (5) Framed-MTU = 1400 (5) EAP-Message = 0x02e500061900 (5) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (5) Message-Authenticator = 0x1d3e1b0836f981270aa2af2af7314781 (5) Restoring &session-state (5) &session-state:Framed-MTU = 994 (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /etc/raddb/sites-enabled/default (5) authorize { (5) policy filter_username { (5) if (&User-Name) { (5) if (&User-Name) -> TRUE (5) if (&User-Name) { (5) if (&User-Name =~ / /) { (5) if (&User-Name =~ / /) -> FALSE (5) if (&User-Name =~ /@[^@]*@/ ) { (5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (5) if (&User-Name =~ /\.\./ ) { (5) if (&User-Name =~ /\.\./ ) -> FALSE (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (5) if (&User-Name =~ /\.$/) { (5) if (&User-Name =~ /\.$/) -> FALSE (5) if (&User-Name =~ /@\./) { (5) if (&User-Name =~ /@\./) -> FALSE (5) } # if (&User-Name) = notfound (5) } # policy filter_username = notfound (5) [preprocess] = ok (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 229 length 6 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0xa2f91851a61c01a2 (5) eap: Finished EAP session with state 0xa2f91851a61c01a2 (5) eap: Previous EAP request found for state 0xa2f91851a61c01a2, released from the list (5) eap: Peer sent packet with method EAP PEAP (25) (5) eap: Calling submodule eap_peap to process data (5) eap_peap: (TLS) Peer ACKed our handshake fragment. handshake is finished (5) eap_peap: Session established. Decoding tunneled attributes (5) eap_peap: PEAP state TUNNEL ESTABLISHED (5) eap: Sending EAP Request (code 1) ID 230 length 40 (5) eap: EAP session adding &reply:State = 0xa2f91851a71f01a2 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) session-state: Saving cached attributes (5) Framed-MTU = 994 (5) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) TLS-Session-Version = "TLS 1.2" (5) Sent Access-Challenge Id 207 from 192.168.15.22:1812 to 192.168.4.183:40744 length 98 (5) EAP-Message = 0x01e600281900170303001d0292373b404e0823111eedee248c54e45d29e31b55efe08388ffb49d22 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (5) Finished request Waking up in 4.9 seconds. (6) Received Access-Request Id 208 from 192.168.4.183:40744 to 192.168.15.22:1812 length 299 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (6) NAS-Port-Type = Wireless-802.11 (6) Service-Type = Framed-User (6) NAS-Port = 1 (6) Calling-Station-Id = "28-6B-35-4F-46-BF" (6) Connect-Info = "CONNECT 54Mbps 802.11a" (6) Acct-Session-Id = "7AF5DECDA3D1020E" (6) WLAN-Pairwise-Cipher = 1027076 (6) WLAN-Group-Cipher = 1027076 (6) WLAN-AKM-Suite = 1027073 (6) Framed-MTU = 1400 (6) EAP-Message = 0x02e600481900170303003d000000000000000126dac151e748c5a28bcdde71e8e363af45675c1edb834d7414a4bafc3252d3c375b7322505386e598cbb1913ce51ffdf55ace14beb (6) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (6) Message-Authenticator = 0x5570ed7a63c1c77a44a515eb23753651 (6) Restoring &session-state (6) &session-state:Framed-MTU = 994 (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) &session-state:TLS-Session-Version = "TLS 1.2" (6) # Executing section authorize from file /etc/raddb/sites-enabled/default (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) [preprocess] = ok (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 72 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0xa2f91851a71f01a2 (6) eap: Finished EAP session with state 0xa2f91851a71f01a2 (6) eap: Previous EAP request found for state 0xa2f91851a71f01a2, released from the list (6) eap: Peer sent packet with method EAP PEAP (25) (6) eap: Calling submodule eap_peap to process data (6) eap_peap: (TLS) EAP Done initial handshake (6) eap_peap: Session established. Decoding tunneled attributes (6) eap_peap: PEAP state WAITING FOR INNER IDENTITY (6) eap_peap: Identity - host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Got inner identity 'host/SL-6S4BBS3.MYDOMAIN.co.uk' (6) eap_peap: Setting default EAP type for tunneled EAP session (6) eap_peap: Got tunneled request (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Sending tunneled request to inner-tunnel (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) WARNING: Outer and inner identities are the same. User privacy is compromised. (6) server inner-tunnel { (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) policy ad_computer_username { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) update request { (6) EXPAND %{1}$ (6) --> SL-6S4BBS3$ (6) &Stripped-User-Name := SL-6S4BBS3$ (6) } # update request = noop (6) if ("%{3}" != '') { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) if ("%{3}" != '') -> TRUE (6) if ("%{3}" != '') { (6) update request { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &Stripped-User-Domain = MYDOMAIN.co.uk (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &realm := MYDOMAIN.co.uk (6) } # update request = noop (6) } # if ("%{3}" != '') = noop (6) [updated] = updated (6) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (6) ... skipping else: Preceding "if" was taken (6) } # policy ad_computer_username = updated (6) policy filter_inner_identity { (6) if (!&outer.request:User-Name || !&User-Name) { (6) if (!&outer.request:User-Name || !&User-Name) -> FALSE (6) if (&outer.request:User-Name != &User-Name) { (6) if (&outer.request:User-Name != &User-Name) -> FALSE (6) } # policy filter_inner_identity = updated (6) [chap] = noop (6) [mschap] = noop (6) suffix: Request already has destination realm set. Ignoring (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 41 (6) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) authenticate { (6) eap: Peer sent packet with method EAP Identity (1) (6) eap: Calling submodule eap_mschapv2 to process data (6) eap_mschapv2: Issuing Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 42 (6) eap: EAP session adding &reply:State = 0xede77fe3ed00658b (6) [eap] = handled (6) } # authenticate = handled (6) } # server inner-tunnel (6) Virtual server sending reply (6) EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply RADIUS code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled Access-Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 73 (6) eap: EAP session adding &reply:State = 0xa2f91851a41e01a2 (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Challenge { ... } # empty sub-section is ignored (6) session-state: Saving cached attributes (6) Framed-MTU = 994 (6) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) TLS-Session-Version = "TLS 1.2" (6) Sent Access-Challenge Id 208 from 192.168.15.22:1812 to 192.168.4.183:40744 length 131 (6) EAP-Message = 0x01e700491900170303003e0292373b404e0824f68f6f9a55e22ab49ff88824830541895f006aace7eeff05416d88319fa5ff9a8f676fe7b7d1865a1a5dd5d02d8360dda3e2fa05f6f7 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (6) Finished request Waking up in 4.9 seconds. (7) Received Access-Request Id 209 from 192.168.4.183:40744 to 192.168.15.22:1812 length 353 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (7) NAS-Port-Type = Wireless-802.11 (7) Service-Type = Framed-User (7) NAS-Port = 1 (7) Calling-Station-Id = "28-6B-35-4F-46-BF" (7) Connect-Info = "CONNECT 54Mbps 802.11a" (7) Acct-Session-Id = "7AF5DECDA3D1020E" (7) WLAN-Pairwise-Cipher = 1027076 (7) WLAN-Group-Cipher = 1027076 (7) WLAN-AKM-Suite = 1027073 (7) Framed-MTU = 1400 (7) EAP-Message = 0x02e7007e1900170303007300000000000000027b9322e534889e59cf73b49f78b04f94dde670f8ab5b1498810d5c67eb341706c1481bdb3e899835ad498d113a934782396acee4975a42eff342319baabd11f32833e1bb90543f6569ab798880a12f9b696c2eaa0af0d1e4c8b09d9248a72ab408acde5ec010a39d71757b (7) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (7) Message-Authenticator = 0xa9e9e786e494d085735ff5c7c065a11f (7) Restoring &session-state (7) &session-state:Framed-MTU = 994 (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) &session-state:TLS-Session-Version = "TLS 1.2" (7) # Executing section authorize from file /etc/raddb/sites-enabled/default (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) [preprocess] = ok (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 126 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/default (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xa2f91851a41e01a2 (7) eap: Previous EAP request found for state 0xa2f91851a41e01a2, released from the list (7) eap: Peer sent packet with method EAP PEAP (25) (7) eap: Calling submodule eap_peap to process data (7) eap_peap: (TLS) EAP Done initial handshake (7) eap_peap: Session established. Decoding tunneled attributes (7) eap_peap: PEAP state phase2 (7) eap_peap: EAP method MSCHAPv2 (26) (7) eap_peap: Got tunneled request (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (7) eap_peap: Sending tunneled request to inner-tunnel (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (7) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) State = 0xede77fe3ed00658b2611adfefd1eb95e (7) WARNING: Outer and inner identities are the same. User privacy is compromised. (7) server inner-tunnel { (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) policy ad_computer_username { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) update request { (7) EXPAND %{1}$ (7) --> SL-6S4BBS3$ (7) &Stripped-User-Name := SL-6S4BBS3$ (7) } # update request = noop (7) if ("%{3}" != '') { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) if ("%{3}" != '') -> TRUE (7) if ("%{3}" != '') { (7) update request { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &Stripped-User-Domain = MYDOMAIN.co.uk (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &realm := MYDOMAIN.co.uk (7) } # update request = noop (7) } # if ("%{3}" != '') = noop (7) [updated] = updated (7) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (7) ... skipping else: Preceding "if" was taken (7) } # policy ad_computer_username = updated (7) policy filter_inner_identity { (7) if (!&outer.request:User-Name || !&User-Name) { (7) if (!&outer.request:User-Name || !&User-Name) -> FALSE (7) if (&outer.request:User-Name != &User-Name) { (7) if (&outer.request:User-Name != &User-Name) -> FALSE (7) } # policy filter_inner_identity = updated (7) [chap] = noop (7) [mschap] = noop (7) suffix: Request already has destination realm set. Ignoring (7) [suffix] = noop (7) update control { (7) &Proxy-To-Realm := LOCAL (7) } # update control = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 95 (7) eap: No EAP Start, assuming it's an on-going EAP conversation (7) [eap] = updated (7) files: Searching for user in group "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (0) (7) files: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) files: --> (samaccountname=SL-6S4BBS3$) (7) files: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) files: Waiting for search result... ber_get_next failed, errno=11. TLS certificate verification: Error, unable to get local issuer certificate rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (0) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (5), 1 of 27 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (1) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (1) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (6), 1 of 26 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (2) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN (7) files: User found in group DN "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk". Comparison between membership: dn, check: dn rlm_ldap (ldap): Released connection (2) (7) files: users: Matched entry DEFAULT at line 11 (7) [files] = ok rlm_ldap (ldap): Reserved connection (3) (7) ldap: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) ldap: --> (samaccountname=SL-6S4BBS3$) (7) ldap: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) ldap: Waiting for search result... rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) ldap: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) ldap: Processing user attributes (7) ldap: WARNING: No "known good" password added. Ensure the MYADMIN user has permission to read the password attribute (7) ldap: WARNING: PAP authentication will *NOT* work with Active Directory (if that is what you were trying to configure) rlm_ldap (ldap): Released connection (3) (7) [ldap] = ok (7) [expiration] = noop (7) [logintime] = noop (7) [pap] = noop (7) } # authorize = updated (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xede77fe3ed00658b (7) eap: Previous EAP request found for state 0xede77fe3ed00658b, released from the list (7) eap: Peer sent packet with method EAP MSCHAPv2 (26) (7) eap: Calling submodule eap_mschapv2 to process data (7) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) eap_mschapv2: authenticate { (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: Client is using MS-CHAPv2 (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$ (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: EXPAND --challenge=%{mschap:Challenge:-00} (7) mschap: --> --challenge=eab8de792c4017e7 (7) mschap: EXPAND --nt-response=%{mschap:NT-Response:-00} (7) mschap: --> --nt-response=a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd (7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' (7) mschap: External script failed (7) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (7) mschap: ERROR: MS-CHAP2-Response is incorrect (7) eap_mschapv2: [mschap] = reject (7) eap_mschapv2: } # authenticate = reject (7) eap: Sending EAP Failure (code 4) ID 231 length 4 (7) eap: Freeing handler (7) [eap] = reject (7) } # authenticate = reject (7) Failed to authenticate the user (7) Using Post-Auth-Type Reject (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) Post-Auth-Type REJECT { (7) attr_filter.access_reject: EXPAND %{User-Name} (7) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (7) attr_filter.access_reject: Matched entry DEFAULT at line 11 (7) [attr_filter.access_reject] = updated (7) update outer.session-state { (7) &Module-Failure-Message := &request:Module-Failure-Message -> 'mschap: Program returned code (1) and output \'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)\'' (7) } # update outer.session-state = noop (7) } # Post-Auth-Type REJECT = updated (7) } # server inner-tunnel (7) Virtual server sending reply (7) MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) EAP-Message = 0x04e70004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply RADIUS code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Tunneled authentication was rejected (7) eap_peap: FAILURE (7) eap: Sending EAP Request (code 1) ID 232 length 46 (7) eap: EAP session adding &reply:State = 0xa2f91851a51101a2 (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Challenge { ... } # empty sub-section is ignored (7) session-state: Saving cached attributes (7) Framed-MTU = 994 (7) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) TLS-Session-Version = "TLS 1.2" (7) Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (7) Sent Access-Challenge Id 209 from 192.168.15.22:1812 to 192.168.4.183:40744 length 104 (7) EAP-Message = 0x01e8002e190017030300230292373b404e0825e3a4e9c5f699e6fe4e5edeebdd618ae26ccc847c29515b2490b95f (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0xa2f91851a51101a2ba9496e09aa2d64c (7) Finished request Waking up in 4.6 seconds. (8) Received Access-Request Id 210 from 192.168.4.183:40744 to 192.168.15.22:1812 length 273 (8) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (8) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (8) NAS-Port-Type = Wireless-802.11 (8) Service-Type = Framed-User (8) NAS-Port = 1 (8) Calling-Station-Id = "28-6B-35-4F-46-BF" (8) Connect-Info = "CONNECT 54Mbps 802.11a" (8) Acct-Session-Id = "7AF5DECDA3D1020E" (8) WLAN-Pairwise-Cipher = 1027076 (8) WLAN-Group-Cipher = 1027076 (8) WLAN-AKM-Suite = 1027073 (8) Framed-MTU = 1400 (8) EAP-Message = 0x02e8002e190017030300230000000000000003ea33017147c3302fdd480b9bd7a1ca0fd7ba7737df755ffe4ea240 (8) State = 0xa2f91851a51101a2ba9496e09aa2d64c (8) Message-Authenticator = 0x03f0ffd538cbbb486e3851ef134e7a75 (8) Restoring &session-state (8) &session-state:Framed-MTU = 994 (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (8) &session-state:TLS-Session-Version = "TLS 1.2" (8) &session-state:Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (8) # Executing section authorize from file /etc/raddb/sites-enabled/default (8) authorize { (8) policy filter_username { (8) if (&User-Name) { (8) if (&User-Name) -> TRUE (8) if (&User-Name) { (8) if (&User-Name =~ / /) { (8) if (&User-Name =~ / /) -> FALSE (8) if (&User-Name =~ /@[^@]*@/ ) { (8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (8) if (&User-Name =~ /\.\./ ) { (8) if (&User-Name =~ /\.\./ ) -> FALSE (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (8) if (&User-Name =~ /\.$/) { (8) if (&User-Name =~ /\.$/) -> FALSE (8) if (&User-Name =~ /@\./) { (8) if (&User-Name =~ /@\./) -> FALSE (8) } # if (&User-Name) = notfound (8) } # policy filter_username = notfound (8) [preprocess] = ok (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 232 length 46 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = eap (8) # Executing group from file /etc/raddb/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0xa2f91851a51101a2 (8) eap: Finished EAP session with state 0xa2f91851a51101a2 (8) eap: Previous EAP request found for state 0xa2f91851a51101a2, released from the list (8) eap: Peer sent packet with method EAP PEAP (25) (8) eap: Calling submodule eap_peap to process data (8) eap_peap: (TLS) EAP Done initial handshake (8) eap_peap: Session established. Decoding tunneled attributes (8) eap_peap: PEAP state send tlv failure (8) eap_peap: Received EAP-TLV response (8) eap_peap: ERROR: The users session was previously rejected: returning reject (again.) (8) eap_peap: This means you need to read the PREVIOUS messages in the debug output (8) eap_peap: to find out the reason why the user was rejected (8) eap_peap: Look for "reject" or "fail". Those earlier messages will tell you (8) eap_peap: what went wrong, and how to fix the problem (8) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed (8) eap: Sending EAP Failure (code 4) ID 232 length 4 (8) eap: Failed in EAP select (8) [eap] = invalid (8) } # authenticate = invalid (8) Failed to authenticate the user (8) Using Post-Auth-Type Reject (8) # Executing group from file /etc/raddb/sites-enabled/default (8) Post-Auth-Type REJECT { (8) attr_filter.access_reject: EXPAND %{User-Name} (8) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (8) attr_filter.access_reject: Matched entry DEFAULT at line 11 (8) [attr_filter.access_reject] = updated (8) [eap] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # Post-Auth-Type REJECT = updated (8) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (8) Sending delayed response (8) Sent Access-Reject Id 210 from 192.168.15.22:1812 to 192.168.4.183:40744 length 44 (8) EAP-Message = 0x04e80004 (8) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.6 seconds. (5) Cleaning up request packet ID 207 with timestamp +24 due to cleanup_delay was reached (6) Cleaning up request packet ID 208 with timestamp +24 due to cleanup_delay was reached Waking up in 0.3 seconds. (7) Cleaning up request packet ID 209 with timestamp +24 due to cleanup_delay was reached (8) Cleaning up request packet ID 210 with timestamp +25 due to cleanup_delay was reached Ready to process requests - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Where did you get that from? ntlm_auth works just fine from the terminal:
I'm not entirely sure which site told me that - I've been looking up lots of things regarding ntlm_auth today.. I get the same result as you with a CLI test: # ntlm_auth --username=tim.odriscoll Password: : (0x0) So how can I find out why FR isn't able to use ntlm_auth? Thank you, Tim
On Apr 3, 2023, at 9:32 AM, Tim ODriscoll <tim.odriscoll@lambrookschool.co.uk> wrote:
Where did you get that from? ntlm_auth works just fine from the terminal:
I'm not entirely sure which site told me that - I've been looking up lots of things regarding ntlm_auth today..
Many third-party sites are just horrifically wrong. For one example, look up "PAP vs CHAP". The content on most of those web sites is entirely wrong.
I get the same result as you with a CLI test: # ntlm_auth --username=tim.odriscoll Password: : (0x0)
So how can I find out why FR isn't able to use ntlm_auth?
It helps to blame the correct thing. The correct description is "ntlm_auth is passing data to AD, and AD is returning NO". The clearer description helps you to understand the problem better. If you start out with an incorrect description of the problem, then you generally end up looking in the wrong place for the solution. Alan DeKok.
Tim ODriscoll wrote:
(7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
That looks like the normal authentication failure code you'd normally get with a garden variety password error. Have you checked the logs on the directory server?
I understand ntlm_auth isn't supposed to be used on the CLI, so how can I test any further?
For debugging from thr FR side, you can probably add debug flags to the ntlm_auth commandline via the configuration files. My memory is dusty on this but there's the possibility you'll need to rebuild a library or two with compile time debug flags if you need extremely detailed information. You may need to pass environment variables into FR when you start it, so they are passed on to the involved libraries via the forked process. As for ease/automation of testing: If your RADIUS server itself, or any other linux-based machine also has a "computer account", and if you can set it up as a client in FR configs for test purposes, you can indeed test host auths with eapol_test. You just need to get the temporary machine password out of samba. This used to be easy before samba started monkey-doing what Windows does internally, now there is way more voodoo: TEMPNTMLPASSWD=$(sudo tdbdump -k SECRETS/MACHINE_PASSWORD/YOURDOMAINHERE /var/lib/samba/private/secrets.tdb | perl -e 'use Digest::MD4 qw(md4 md4_hex md4_base64); use Encode qw(decode encode); my $a = <>; $a =~ s/\n$//; $a =~ s/\\00$//; my @a; while ($a =~ s/((?:\\[89A-F].)|(?:.))//) { if (length($1) == 1) { push(@a, $1) } else { my $bs = $1; $bs =~ s/\\/0x/; push (@a, chr(hex("$bs"))) } }; my $blob = join("",@a); print md4_hex(encode("UTF16-LE",decode("UTF-8", $blob)))') ________________________________________ From: Freeradius-Users <freeradius-users-bounces+bjulin=clarku.edu@lists.freeradius.org> on behalf of Tim ODriscoll <tim.odriscoll@lambrookschool.co.uk> Sent: Monday, April 3, 2023 9:20 AM To: freeradius-users@lists.freeradius.org Subject: [EXT] Computer/Machine Authentication almost working.. Dear All, I'm nearly there (I think) getting machine auth working via ntlm_auth, but after following the documentation from both FR and the Samba Wiki, ntlm_auth isn't authenticating and giving me an error: (7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' ntlm_auth is able to strip out the machine name correctly: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$ wbinfo tells me it's connected OK: # wbinfo -t checking the trust secret for domain MYDOMAIN via RPC calls succeeded # wbinfo -p Ping to winbindd succeeded The winbindd_privilege directory is correct: # ls -ld /var/lib/samba/winbindd_privileged/ drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/ Samba's config has this on the member (FR) server and all the DCs: ntlm auth = mschapv2-and-ntlmv2-only I understand ntlm_auth isn't supposed to be used on the CLI, so how can I test any further? Many thanks, Tim Full logs: FreeRADIUS Version 3.2.2 Copyright (C) 1999-2022 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/raddb/dictionary including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/date including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/ldap including configuration file /etc/raddb/mods-enabled/totp including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/ad_machine_auth including configuration file /etc/raddb/policy.d/abfab-tr including configuration file /etc/raddb/policy.d/canonicalization including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/moonshot-targeted-ids including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/rfc7542 including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 postauth_client_lost = no pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { nonblock = no ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } recv_coa { } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client localhost_ipv6 { ipv6addr = ::1 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client 192.168.4.0/24 { ipaddr = 192.168.4.0/24 require_message_authenticator = no secret = <<< secret >>> shortname = "wifi_APs" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached systemd watchdog is disabled # Creating Auth-Type = mschap # Creating Auth-Type = digest # Creating Auth-Type = ldap # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/raddb/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /etc/raddb/mods-enabled/date date wispr2date { format = "%Y-%m-%dT%H:%M:%S" utc = no } # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "peap" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}" passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/usr/bin/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/raddb/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_ldap # Loading module "ldap" from file /etc/raddb/mods-enabled/ldap ldap { server = "ldaps://DC01.MYDOMAIN.co.uk" identity = "cn=MYADMIN,cn=users,dc=MYDOMAIN,dc=co,dc=uk" password = <<< secret >>> sasl { } user_dn = "LDAP-UserDn" user { scope = "sub" access_positive = yes sasl { } } group { filter = "(objectClass=group)" scope = "sub" name_attribute = "cn" membership_attribute = "memberOf" cacheable_name = no cacheable_dn = no allow_dangling_group_ref = no } client { filter = "(objectClass=radiusClient)" scope = "sub" base_dn = "dc=MYDOMAIN,dc=co,dc=uk" } profile { } options { ldap_debug = 40 chase_referrals = yes rebind = yes net_timeout = 1 res_timeout = 10 srv_timelimit = 3 idle = 60 probes = 3 interval = 3 } tls { ca_file = "/etc/ssl/certs/dc01.pem" start_tls = no } } Creating attribute LDAP-Group # Loaded module rlm_totp # Loading module "totp" from file /etc/raddb/mods-enabled/totp instantiate { } # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/coa # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 rlm_eap (EAP): Ignoring EAP method 'leap', because it is no longer supported # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/server.pem" certificate_file = "/etc/raddb/certs/server.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "PROFILE=SYSTEM" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "prime256v1" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%2..." use_nonce = yes timeout = 0 softfail = no } } tls: Setting DH parameters from /etc/raddb/certs/dh - this is no longer necessary. tls: You should comment out the 'dh_file' configuration item. # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = yes virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): authenticating by calling 'ntlm_auth' # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap rlm_ldap: libldap vendor: OpenLDAP, version: 20602 accounting { reference = "%{tolower:type.%{Acct-Status-Type}}" } post-auth { reference = "." } rlm_ldap (ldap): Initialising connection pool pool { start = 5 min = 3 max = 32 spare = 10 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 30 spread = no } rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type Compiling Auth-Type LDAP for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 60410 Listening on proxy address :: port 59954 Ready to process requests (0) Received Access-Request Id 202 from 192.168.4.183:40744 to 192.168.15.22:1812 length 250 (0) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (0) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (0) NAS-Port-Type = Wireless-802.11 (0) Service-Type = Framed-User (0) NAS-Port = 1 (0) Calling-Station-Id = "28-6B-35-4F-46-BF" (0) Connect-Info = "CONNECT 54Mbps 802.11a" (0) Acct-Session-Id = "7AF5DECDA3D1020E" (0) WLAN-Pairwise-Cipher = 1027076 (0) WLAN-Group-Cipher = 1027076 (0) WLAN-AKM-Suite = 1027073 (0) Framed-MTU = 1400 (0) EAP-Message = 0x02e0002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (0) Message-Authenticator = 0x45339dcf5ff0be628a0d52434270ef14 (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) policy filter_username { (0) if (&User-Name) { (0) if (&User-Name) -> TRUE (0) if (&User-Name) { (0) if (&User-Name =~ / /) { (0) if (&User-Name =~ / /) -> FALSE (0) if (&User-Name =~ /@[^@]*@/ ) { (0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (0) if (&User-Name =~ /\.\./ ) { (0) if (&User-Name =~ /\.\./ ) -> FALSE (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (0) if (&User-Name =~ /\.$/) { (0) if (&User-Name =~ /\.$/) -> FALSE (0) if (&User-Name =~ /@\./) { (0) if (&User-Name =~ /@\./) -> FALSE (0) } # if (&User-Name) = notfound (0) } # policy filter_username = notfound (0) [preprocess] = ok (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 224 length 41 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /etc/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_peap to process data (0) eap_peap: (TLS) Initiating new session (0) eap: Sending EAP Request (code 1) ID 225 length 6 (0) eap: EAP session adding &reply:State = 0xa2f91851a21801a2 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 994 (0) Sent Access-Challenge Id 202 from 192.168.15.22:1812 to 192.168.4.183:40744 length 64 (0) EAP-Message = 0x01e100061920 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xa2f91851a21801a2ba9496e09aa2d64c (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 203 from 192.168.4.183:40744 to 192.168.15.22:1812 length 490 (1) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (1) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (1) NAS-Port-Type = Wireless-802.11 (1) Service-Type = Framed-User (1) NAS-Port = 1 (1) Calling-Station-Id = "28-6B-35-4F-46-BF" (1) Connect-Info = "CONNECT 54Mbps 802.11a" (1) Acct-Session-Id = "7AF5DECDA3D1020E" (1) WLAN-Pairwise-Cipher = 1027076 (1) WLAN-Group-Cipher = 1027076 (1) WLAN-AKM-Suite = 1027073 (1) Framed-MTU = 1400 (1) EAP-Message = 0x02e101051980000000fb16030100f6010000f2030396d97a4ecef4aba29f04911ed89253b0309385bb706769b1b81e8d30403380c920e9cc5ced53531b828296dedf767263c450c57d582a2d2d78ff63c95766109325002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d00205a3b11f6621d1435940295fc49f8d11db7857a69b5c45afa0340438e3bbb040b0031000000170000ff01000100002d00020101 (1) State = 0xa2f91851a21801a2ba9496e09aa2d64c (1) Message-Authenticator = 0x30f9339b97df8bdf7f26f3b7d10837b2 (1) Restoring &session-state (1) &session-state:Framed-MTU = 994 (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) policy filter_username { (1) if (&User-Name) { (1) if (&User-Name) -> TRUE (1) if (&User-Name) { (1) if (&User-Name =~ / /) { (1) if (&User-Name =~ / /) -> FALSE (1) if (&User-Name =~ /@[^@]*@/ ) { (1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (1) if (&User-Name =~ /\.\./ ) { (1) if (&User-Name =~ /\.\./ ) -> FALSE (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (1) if (&User-Name =~ /\.$/) { (1) if (&User-Name =~ /\.$/) -> FALSE (1) if (&User-Name =~ /@\./) { (1) if (&User-Name =~ /@\./) -> FALSE (1) } # if (&User-Name) = notfound (1) } # policy filter_username = notfound (1) [preprocess] = ok (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 225 length 261 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0xa2f91851a21801a2 (1) eap: Finished EAP session with state 0xa2f91851a21801a2 (1) eap: Previous EAP request found for state 0xa2f91851a21801a2, released from the list (1) eap: Peer sent packet with method EAP PEAP (25) (1) eap: Calling submodule eap_peap to process data (1) eap_peap: (TLS) EAP Peer says that the final record size will be 251 bytes (1) eap_peap: (TLS) EAP Got all data (251 bytes) (1) eap_peap: (TLS) Handshake state - before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) recv TLS 1.3 Handshake, ClientHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, Certificate (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write certificate (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerKeyExchange (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write key exchange (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHelloDone (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (1) eap_peap: (TLS) Server : Need to read more data: SSLv3/TLS write server done (1) eap_peap: (TLS) In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 226 length 1004 (1) eap: EAP session adding &reply:State = 0xa2f91851a31b01a2 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 994 (1) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 203 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1068 (1) EAP-Message = 0x01e203ec19c000000ae216030300350200003103037686440b0ed4098a552c8832fd3e654bfcfe09eed4859e88969c9f758fbdd01800c030000009ff010001000017000016030309480b0009440009410004403082043c30820324a003020102020101300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341301e170d3233303430333132333730385a170d3333303230393132333730385a308182310b30090603550406130247423112301006035504080c094265726b736869726531183016060355040a0c0f4c616d62726f6f6b205363686f6f6c3118301606035504030c0f4c616d62726f6f (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 204 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (2) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (2) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (2) NAS-Port-Type = Wireless-802.11 (2) Service-Type = Framed-User (2) NAS-Port = 1 (2) Calling-Station-Id = "28-6B-35-4F-46-BF" (2) Connect-Info = "CONNECT 54Mbps 802.11a" (2) Acct-Session-Id = "7AF5DECDA3D1020E" (2) WLAN-Pairwise-Cipher = 1027076 (2) WLAN-Group-Cipher = 1027076 (2) WLAN-AKM-Suite = 1027073 (2) Framed-MTU = 1400 (2) EAP-Message = 0x02e200061900 (2) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (2) Message-Authenticator = 0xfea378d7277662d4cec6efee65f205db (2) Restoring &session-state (2) &session-state:Framed-MTU = 994 (2) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /etc/raddb/sites-enabled/default (2) authorize { (2) policy filter_username { (2) if (&User-Name) { (2) if (&User-Name) -> TRUE (2) if (&User-Name) { (2) if (&User-Name =~ / /) { (2) if (&User-Name =~ / /) -> FALSE (2) if (&User-Name =~ /@[^@]*@/ ) { (2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (2) if (&User-Name =~ /\.\./ ) { (2) if (&User-Name =~ /\.\./ ) -> FALSE (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (2) if (&User-Name =~ /\.$/) { (2) if (&User-Name =~ /\.$/) -> FALSE (2) if (&User-Name =~ /@\./) { (2) if (&User-Name =~ /@\./) -> FALSE (2) } # if (&User-Name) = notfound (2) } # policy filter_username = notfound (2) [preprocess] = ok (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix: Checking for suffix after "@" (2) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (2) suffix: No such realm "NULL" (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 226 length 6 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = eap (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0xa2f91851a31b01a2 (2) eap: Finished EAP session with state 0xa2f91851a31b01a2 (2) eap: Previous EAP request found for state 0xa2f91851a31b01a2, released from the list (2) eap: Peer sent packet with method EAP PEAP (25) (2) eap: Calling submodule eap_peap to process data (2) eap_peap: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 227 length 1000 (2) eap: EAP session adding &reply:State = 0xa2f91851a01a01a2 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 994 (2) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 204 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1064 (2) EAP-Message = 0x01e303e81940280e3b1582f004b30751d22255a115d4b1bb9f0c7ed9deec29772567e184f4cbd69303b359b44b064b47aa8e03109b518ffe3a68de1836d1fd4aa9a8f06f4ea34924cad3e1b5312e8f41863ef3ef88e2c112e6cf9ada87f2ceb8d3adef8271eebe180597e320e5d379b200501d491faef2fdef9698fc170cdac8a3294276bee4eadb925e41997732fe4fd98c2f6d273e9d6f5e98cde1e5326f33da674bbe8114225f1b2b7d25ee0004fb308204f7308203dfa00302010202147f171038d791383a6c25cf29f494f6dfc907b42d300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 205 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (3) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (3) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (3) NAS-Port-Type = Wireless-802.11 (3) Service-Type = Framed-User (3) NAS-Port = 1 (3) Calling-Station-Id = "28-6B-35-4F-46-BF" (3) Connect-Info = "CONNECT 54Mbps 802.11a" (3) Acct-Session-Id = "7AF5DECDA3D1020E" (3) WLAN-Pairwise-Cipher = 1027076 (3) WLAN-Group-Cipher = 1027076 (3) WLAN-AKM-Suite = 1027073 (3) Framed-MTU = 1400 (3) EAP-Message = 0x02e300061900 (3) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (3) Message-Authenticator = 0xb714bedc489537ab5e91cc8e6bad6172 (3) Restoring &session-state (3) &session-state:Framed-MTU = 994 (3) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /etc/raddb/sites-enabled/default (3) authorize { (3) policy filter_username { (3) if (&User-Name) { (3) if (&User-Name) -> TRUE (3) if (&User-Name) { (3) if (&User-Name =~ / /) { (3) if (&User-Name =~ / /) -> FALSE (3) if (&User-Name =~ /@[^@]*@/ ) { (3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (3) if (&User-Name =~ /\.\./ ) { (3) if (&User-Name =~ /\.\./ ) -> FALSE (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (3) if (&User-Name =~ /\.$/) { (3) if (&User-Name =~ /\.$/) -> FALSE (3) if (&User-Name =~ /@\./) { (3) if (&User-Name =~ /@\./) -> FALSE (3) } # if (&User-Name) = notfound (3) } # policy filter_username = notfound (3) [preprocess] = ok (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 227 length 6 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = eap (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0xa2f91851a01a01a2 (3) eap: Finished EAP session with state 0xa2f91851a01a01a2 (3) eap: Previous EAP request found for state 0xa2f91851a01a01a2, released from the list (3) eap: Peer sent packet with method EAP PEAP (25) (3) eap: Calling submodule eap_peap to process data (3) eap_peap: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 228 length 804 (3) eap: EAP session adding &reply:State = 0xa2f91851a11d01a2 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 994 (3) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 205 from 192.168.15.22:1812 to 192.168.4.183:40744 length 868 (3) EAP-Message = 0x01e4032419006d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b20434182147f171038d791383a6c25cf29f494f6dfc907b42d300f0603551d130101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b05000382010100849ca542ec2d6cfb37af8c4529b8d6a86d9c966170ebd7847133c6066fc1ae7d8114884d79888c9e5c32bc5f350c870f36fd15a4746a58a70e7703cb340341bd5b08a4db19e2e5f56c14edb844baf3a4f5db34f393a970c1641d05c8d117e17c063f92ddc535963bdacf1b3bff4b5a8012b54596e4747d29f8da2ee233f7a8e649ac85102def9800ce6b6b89e7e613b107e59acaffae0a9ff5eadd8551cf173ceb0ec9cfc0414f516ec35ef73597 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (3) Finished request Waking up in 4.9 seconds. (4) Received Access-Request Id 206 from 192.168.4.183:40744 to 192.168.15.22:1812 length 363 (4) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (4) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (4) NAS-Port-Type = Wireless-802.11 (4) Service-Type = Framed-User (4) NAS-Port = 1 (4) Calling-Station-Id = "28-6B-35-4F-46-BF" (4) Connect-Info = "CONNECT 54Mbps 802.11a" (4) Acct-Session-Id = "7AF5DECDA3D1020E" (4) WLAN-Pairwise-Cipher = 1027076 (4) WLAN-Group-Cipher = 1027076 (4) WLAN-AKM-Suite = 1027073 (4) Framed-MTU = 1400 (4) EAP-Message = 0x02e4008819800000007e1603030046100000424104fc700b1b8bfa32368426118e9a80c3f39ff815218590aed58e2c75581537f83192c25765f7180aee560c91d163e877dc0c291383f8b81220fe3e6f7575208c681403030001011603030028000000000000000018c81880c82d0c93acf0f409f08a98d6f7cdb13357292280e9ea23dce17c1c1f (4) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (4) Message-Authenticator = 0xf11fb09ed5dab5550ed5f5cb3162d479 (4) Restoring &session-state (4) &session-state:Framed-MTU = 994 (4) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /etc/raddb/sites-enabled/default (4) authorize { (4) policy filter_username { (4) if (&User-Name) { (4) if (&User-Name) -> TRUE (4) if (&User-Name) { (4) if (&User-Name =~ / /) { (4) if (&User-Name =~ / /) -> FALSE (4) if (&User-Name =~ /@[^@]*@/ ) { (4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (4) if (&User-Name =~ /\.\./ ) { (4) if (&User-Name =~ /\.\./ ) -> FALSE (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (4) if (&User-Name =~ /\.$/) { (4) if (&User-Name =~ /\.$/) -> FALSE (4) if (&User-Name =~ /@\./) { (4) if (&User-Name =~ /@\./) -> FALSE (4) } # if (&User-Name) = notfound (4) } # policy filter_username = notfound (4) [preprocess] = ok (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 228 length 136 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0xa2f91851a11d01a2 (4) eap: Finished EAP session with state 0xa2f91851a11d01a2 (4) eap: Previous EAP request found for state 0xa2f91851a11d01a2, released from the list (4) eap: Peer sent packet with method EAP PEAP (25) (4) eap: Calling submodule eap_peap to process data (4) eap_peap: (TLS) EAP Peer says that the final record size will be 126 bytes (4) eap_peap: (TLS) EAP Got all data (126 bytes) (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (4) eap_peap: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client key exchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_peap: (TLS) recv TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read finished (4) eap_peap: (TLS) send TLS 1.2 ChangeCipherSpec (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_peap: (TLS) send TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write finished (4) eap_peap: (TLS) Handshake state - SSL negotiation finished successfully (4) eap_peap: (TLS) Connection Established (4) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) eap_peap: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 229 length 57 (4) eap: EAP session adding &reply:State = 0xa2f91851a61c01a2 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 994 (4) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 206 from 192.168.15.22:1812 to 192.168.4.183:40744 length 115 (4) EAP-Message = 0x01e50039190014030300010116030300280292373b404e0822b6ddf83ac8081a30eb64150d72404bab3ca5526bb2d137e1875654b13c8fff88 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (4) Finished request Waking up in 4.9 seconds. (0) Cleaning up request packet ID 202 with timestamp +13 due to cleanup_delay was reached (1) Cleaning up request packet ID 203 with timestamp +13 due to cleanup_delay was reached (2) Cleaning up request packet ID 204 with timestamp +13 due to cleanup_delay was reached (3) Cleaning up request packet ID 205 with timestamp +13 due to cleanup_delay was reached (4) Cleaning up request packet ID 206 with timestamp +13 due to cleanup_delay was reached Ready to process requests (5) Received Access-Request Id 207 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (5) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (5) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (5) NAS-Port-Type = Wireless-802.11 (5) Service-Type = Framed-User (5) NAS-Port = 1 (5) Calling-Station-Id = "28-6B-35-4F-46-BF" (5) Connect-Info = "CONNECT 54Mbps 802.11a" (5) Acct-Session-Id = "7AF5DECDA3D1020E" (5) WLAN-Pairwise-Cipher = 1027076 (5) WLAN-Group-Cipher = 1027076 (5) WLAN-AKM-Suite = 1027073 (5) Framed-MTU = 1400 (5) EAP-Message = 0x02e500061900 (5) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (5) Message-Authenticator = 0x1d3e1b0836f981270aa2af2af7314781 (5) Restoring &session-state (5) &session-state:Framed-MTU = 994 (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /etc/raddb/sites-enabled/default (5) authorize { (5) policy filter_username { (5) if (&User-Name) { (5) if (&User-Name) -> TRUE (5) if (&User-Name) { (5) if (&User-Name =~ / /) { (5) if (&User-Name =~ / /) -> FALSE (5) if (&User-Name =~ /@[^@]*@/ ) { (5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (5) if (&User-Name =~ /\.\./ ) { (5) if (&User-Name =~ /\.\./ ) -> FALSE (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (5) if (&User-Name =~ /\.$/) { (5) if (&User-Name =~ /\.$/) -> FALSE (5) if (&User-Name =~ /@\./) { (5) if (&User-Name =~ /@\./) -> FALSE (5) } # if (&User-Name) = notfound (5) } # policy filter_username = notfound (5) [preprocess] = ok (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 229 length 6 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0xa2f91851a61c01a2 (5) eap: Finished EAP session with state 0xa2f91851a61c01a2 (5) eap: Previous EAP request found for state 0xa2f91851a61c01a2, released from the list (5) eap: Peer sent packet with method EAP PEAP (25) (5) eap: Calling submodule eap_peap to process data (5) eap_peap: (TLS) Peer ACKed our handshake fragment. handshake is finished (5) eap_peap: Session established. Decoding tunneled attributes (5) eap_peap: PEAP state TUNNEL ESTABLISHED (5) eap: Sending EAP Request (code 1) ID 230 length 40 (5) eap: EAP session adding &reply:State = 0xa2f91851a71f01a2 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) session-state: Saving cached attributes (5) Framed-MTU = 994 (5) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) TLS-Session-Version = "TLS 1.2" (5) Sent Access-Challenge Id 207 from 192.168.15.22:1812 to 192.168.4.183:40744 length 98 (5) EAP-Message = 0x01e600281900170303001d0292373b404e0823111eedee248c54e45d29e31b55efe08388ffb49d22 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (5) Finished request Waking up in 4.9 seconds. (6) Received Access-Request Id 208 from 192.168.4.183:40744 to 192.168.15.22:1812 length 299 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (6) NAS-Port-Type = Wireless-802.11 (6) Service-Type = Framed-User (6) NAS-Port = 1 (6) Calling-Station-Id = "28-6B-35-4F-46-BF" (6) Connect-Info = "CONNECT 54Mbps 802.11a" (6) Acct-Session-Id = "7AF5DECDA3D1020E" (6) WLAN-Pairwise-Cipher = 1027076 (6) WLAN-Group-Cipher = 1027076 (6) WLAN-AKM-Suite = 1027073 (6) Framed-MTU = 1400 (6) EAP-Message = 0x02e600481900170303003d000000000000000126dac151e748c5a28bcdde71e8e363af45675c1edb834d7414a4bafc3252d3c375b7322505386e598cbb1913ce51ffdf55ace14beb (6) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (6) Message-Authenticator = 0x5570ed7a63c1c77a44a515eb23753651 (6) Restoring &session-state (6) &session-state:Framed-MTU = 994 (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) &session-state:TLS-Session-Version = "TLS 1.2" (6) # Executing section authorize from file /etc/raddb/sites-enabled/default (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) [preprocess] = ok (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 72 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0xa2f91851a71f01a2 (6) eap: Finished EAP session with state 0xa2f91851a71f01a2 (6) eap: Previous EAP request found for state 0xa2f91851a71f01a2, released from the list (6) eap: Peer sent packet with method EAP PEAP (25) (6) eap: Calling submodule eap_peap to process data (6) eap_peap: (TLS) EAP Done initial handshake (6) eap_peap: Session established. Decoding tunneled attributes (6) eap_peap: PEAP state WAITING FOR INNER IDENTITY (6) eap_peap: Identity - host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Got inner identity 'host/SL-6S4BBS3.MYDOMAIN.co.uk' (6) eap_peap: Setting default EAP type for tunneled EAP session (6) eap_peap: Got tunneled request (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Sending tunneled request to inner-tunnel (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) WARNING: Outer and inner identities are the same. User privacy is compromised. (6) server inner-tunnel { (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) policy ad_computer_username { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) update request { (6) EXPAND %{1}$ (6) --> SL-6S4BBS3$ (6) &Stripped-User-Name := SL-6S4BBS3$ (6) } # update request = noop (6) if ("%{3}" != '') { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) if ("%{3}" != '') -> TRUE (6) if ("%{3}" != '') { (6) update request { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &Stripped-User-Domain = MYDOMAIN.co.uk (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &realm := MYDOMAIN.co.uk (6) } # update request = noop (6) } # if ("%{3}" != '') = noop (6) [updated] = updated (6) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (6) ... skipping else: Preceding "if" was taken (6) } # policy ad_computer_username = updated (6) policy filter_inner_identity { (6) if (!&outer.request:User-Name || !&User-Name) { (6) if (!&outer.request:User-Name || !&User-Name) -> FALSE (6) if (&outer.request:User-Name != &User-Name) { (6) if (&outer.request:User-Name != &User-Name) -> FALSE (6) } # policy filter_inner_identity = updated (6) [chap] = noop (6) [mschap] = noop (6) suffix: Request already has destination realm set. Ignoring (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 41 (6) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) authenticate { (6) eap: Peer sent packet with method EAP Identity (1) (6) eap: Calling submodule eap_mschapv2 to process data (6) eap_mschapv2: Issuing Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 42 (6) eap: EAP session adding &reply:State = 0xede77fe3ed00658b (6) [eap] = handled (6) } # authenticate = handled (6) } # server inner-tunnel (6) Virtual server sending reply (6) EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply RADIUS code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled Access-Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 73 (6) eap: EAP session adding &reply:State = 0xa2f91851a41e01a2 (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Challenge { ... } # empty sub-section is ignored (6) session-state: Saving cached attributes (6) Framed-MTU = 994 (6) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) TLS-Session-Version = "TLS 1.2" (6) Sent Access-Challenge Id 208 from 192.168.15.22:1812 to 192.168.4.183:40744 length 131 (6) EAP-Message = 0x01e700491900170303003e0292373b404e0824f68f6f9a55e22ab49ff88824830541895f006aace7eeff05416d88319fa5ff9a8f676fe7b7d1865a1a5dd5d02d8360dda3e2fa05f6f7 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (6) Finished request Waking up in 4.9 seconds. (7) Received Access-Request Id 209 from 192.168.4.183:40744 to 192.168.15.22:1812 length 353 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (7) NAS-Port-Type = Wireless-802.11 (7) Service-Type = Framed-User (7) NAS-Port = 1 (7) Calling-Station-Id = "28-6B-35-4F-46-BF" (7) Connect-Info = "CONNECT 54Mbps 802.11a" (7) Acct-Session-Id = "7AF5DECDA3D1020E" (7) WLAN-Pairwise-Cipher = 1027076 (7) WLAN-Group-Cipher = 1027076 (7) WLAN-AKM-Suite = 1027073 (7) Framed-MTU = 1400 (7) EAP-Message = 0x02e7007e1900170303007300000000000000027b9322e534889e59cf73b49f78b04f94dde670f8ab5b1498810d5c67eb341706c1481bdb3e899835ad498d113a934782396acee4975a42eff342319baabd11f32833e1bb90543f6569ab798880a12f9b696c2eaa0af0d1e4c8b09d9248a72ab408acde5ec010a39d71757b (7) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (7) Message-Authenticator = 0xa9e9e786e494d085735ff5c7c065a11f (7) Restoring &session-state (7) &session-state:Framed-MTU = 994 (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) &session-state:TLS-Session-Version = "TLS 1.2" (7) # Executing section authorize from file /etc/raddb/sites-enabled/default (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) [preprocess] = ok (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 126 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/default (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xa2f91851a41e01a2 (7) eap: Previous EAP request found for state 0xa2f91851a41e01a2, released from the list (7) eap: Peer sent packet with method EAP PEAP (25) (7) eap: Calling submodule eap_peap to process data (7) eap_peap: (TLS) EAP Done initial handshake (7) eap_peap: Session established. Decoding tunneled attributes (7) eap_peap: PEAP state phase2 (7) eap_peap: EAP method MSCHAPv2 (26) (7) eap_peap: Got tunneled request (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (7) eap_peap: Sending tunneled request to inner-tunnel (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (7) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) State = 0xede77fe3ed00658b2611adfefd1eb95e (7) WARNING: Outer and inner identities are the same. User privacy is compromised. (7) server inner-tunnel { (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) policy ad_computer_username { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) update request { (7) EXPAND %{1}$ (7) --> SL-6S4BBS3$ (7) &Stripped-User-Name := SL-6S4BBS3$ (7) } # update request = noop (7) if ("%{3}" != '') { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) if ("%{3}" != '') -> TRUE (7) if ("%{3}" != '') { (7) update request { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &Stripped-User-Domain = MYDOMAIN.co.uk (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &realm := MYDOMAIN.co.uk (7) } # update request = noop (7) } # if ("%{3}" != '') = noop (7) [updated] = updated (7) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (7) ... skipping else: Preceding "if" was taken (7) } # policy ad_computer_username = updated (7) policy filter_inner_identity { (7) if (!&outer.request:User-Name || !&User-Name) { (7) if (!&outer.request:User-Name || !&User-Name) -> FALSE (7) if (&outer.request:User-Name != &User-Name) { (7) if (&outer.request:User-Name != &User-Name) -> FALSE (7) } # policy filter_inner_identity = updated (7) [chap] = noop (7) [mschap] = noop (7) suffix: Request already has destination realm set. Ignoring (7) [suffix] = noop (7) update control { (7) &Proxy-To-Realm := LOCAL (7) } # update control = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 95 (7) eap: No EAP Start, assuming it's an on-going EAP conversation (7) [eap] = updated (7) files: Searching for user in group "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (0) (7) files: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) files: --> (samaccountname=SL-6S4BBS3$) (7) files: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) files: Waiting for search result... ber_get_next failed, errno=11. TLS certificate verification: Error, unable to get local issuer certificate rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (0) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (5), 1 of 27 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (1) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (1) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (6), 1 of 26 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (2) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN (7) files: User found in group DN "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk". Comparison between membership: dn, check: dn rlm_ldap (ldap): Released connection (2) (7) files: users: Matched entry DEFAULT at line 11 (7) [files] = ok rlm_ldap (ldap): Reserved connection (3) (7) ldap: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) ldap: --> (samaccountname=SL-6S4BBS3$) (7) ldap: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) ldap: Waiting for search result... rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) ldap: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) ldap: Processing user attributes (7) ldap: WARNING: No "known good" password added. Ensure the MYADMIN user has permission to read the password attribute (7) ldap: WARNING: PAP authentication will *NOT* work with Active Directory (if that is what you were trying to configure) rlm_ldap (ldap): Released connection (3) (7) [ldap] = ok (7) [expiration] = noop (7) [logintime] = noop (7) [pap] = noop (7) } # authorize = updated (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xede77fe3ed00658b (7) eap: Previous EAP request found for state 0xede77fe3ed00658b, released from the list (7) eap: Peer sent packet with method EAP MSCHAPv2 (26) (7) eap: Calling submodule eap_mschapv2 to process data (7) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) eap_mschapv2: authenticate { (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: Client is using MS-CHAPv2 (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$ (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: EXPAND --challenge=%{mschap:Challenge:-00} (7) mschap: --> --challenge=eab8de792c4017e7 (7) mschap: EXPAND --nt-response=%{mschap:NT-Response:-00} (7) mschap: --> --nt-response=a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd (7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' (7) mschap: External script failed (7) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (7) mschap: ERROR: MS-CHAP2-Response is incorrect (7) eap_mschapv2: [mschap] = reject (7) eap_mschapv2: } # authenticate = reject (7) eap: Sending EAP Failure (code 4) ID 231 length 4 (7) eap: Freeing handler (7) [eap] = reject (7) } # authenticate = reject (7) Failed to authenticate the user (7) Using Post-Auth-Type Reject (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) Post-Auth-Type REJECT { (7) attr_filter.access_reject: EXPAND %{User-Name} (7) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (7) attr_filter.access_reject: Matched entry DEFAULT at line 11 (7) [attr_filter.access_reject] = updated (7) update outer.session-state { (7) &Module-Failure-Message := &request:Module-Failure-Message -> 'mschap: Program returned code (1) and output \'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)\'' (7) } # update outer.session-state = noop (7) } # Post-Auth-Type REJECT = updated (7) } # server inner-tunnel (7) Virtual server sending reply (7) MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) EAP-Message = 0x04e70004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply RADIUS code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Tunneled authentication was rejected (7) eap_peap: FAILURE (7) eap: Sending EAP Request (code 1) ID 232 length 46 (7) eap: EAP session adding &reply:State = 0xa2f91851a51101a2 (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Challenge { ... } # empty sub-section is ignored (7) session-state: Saving cached attributes (7) Framed-MTU = 994 (7) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) TLS-Session-Version = "TLS 1.2" (7) Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (7) Sent Access-Challenge Id 209 from 192.168.15.22:1812 to 192.168.4.183:40744 length 104 (7) EAP-Message = 0x01e8002e190017030300230292373b404e0825e3a4e9c5f699e6fe4e5edeebdd618ae26ccc847c29515b2490b95f (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0xa2f91851a51101a2ba9496e09aa2d64c (7) Finished request Waking up in 4.6 seconds. (8) Received Access-Request Id 210 from 192.168.4.183:40744 to 192.168.15.22:1812 length 273 (8) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (8) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (8) NAS-Port-Type = Wireless-802.11 (8) Service-Type = Framed-User (8) NAS-Port = 1 (8) Calling-Station-Id = "28-6B-35-4F-46-BF" (8) Connect-Info = "CONNECT 54Mbps 802.11a" (8) Acct-Session-Id = "7AF5DECDA3D1020E" (8) WLAN-Pairwise-Cipher = 1027076 (8) WLAN-Group-Cipher = 1027076 (8) WLAN-AKM-Suite = 1027073 (8) Framed-MTU = 1400 (8) EAP-Message = 0x02e8002e190017030300230000000000000003ea33017147c3302fdd480b9bd7a1ca0fd7ba7737df755ffe4ea240 (8) State = 0xa2f91851a51101a2ba9496e09aa2d64c (8) Message-Authenticator = 0x03f0ffd538cbbb486e3851ef134e7a75 (8) Restoring &session-state (8) &session-state:Framed-MTU = 994 (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (8) &session-state:TLS-Session-Version = "TLS 1.2" (8) &session-state:Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (8) # Executing section authorize from file /etc/raddb/sites-enabled/default (8) authorize { (8) policy filter_username { (8) if (&User-Name) { (8) if (&User-Name) -> TRUE (8) if (&User-Name) { (8) if (&User-Name =~ / /) { (8) if (&User-Name =~ / /) -> FALSE (8) if (&User-Name =~ /@[^@]*@/ ) { (8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (8) if (&User-Name =~ /\.\./ ) { (8) if (&User-Name =~ /\.\./ ) -> FALSE (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (8) if (&User-Name =~ /\.$/) { (8) if (&User-Name =~ /\.$/) -> FALSE (8) if (&User-Name =~ /@\./) { (8) if (&User-Name =~ /@\./) -> FALSE (8) } # if (&User-Name) = notfound (8) } # policy filter_username = notfound (8) [preprocess] = ok (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 232 length 46 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = eap (8) # Executing group from file /etc/raddb/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0xa2f91851a51101a2 (8) eap: Finished EAP session with state 0xa2f91851a51101a2 (8) eap: Previous EAP request found for state 0xa2f91851a51101a2, released from the list (8) eap: Peer sent packet with method EAP PEAP (25) (8) eap: Calling submodule eap_peap to process data (8) eap_peap: (TLS) EAP Done initial handshake (8) eap_peap: Session established. Decoding tunneled attributes (8) eap_peap: PEAP state send tlv failure (8) eap_peap: Received EAP-TLV response (8) eap_peap: ERROR: The users session was previously rejected: returning reject (again.) (8) eap_peap: This means you need to read the PREVIOUS messages in the debug output (8) eap_peap: to find out the reason why the user was rejected (8) eap_peap: Look for "reject" or "fail". Those earlier messages will tell you (8) eap_peap: what went wrong, and how to fix the problem (8) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed (8) eap: Sending EAP Failure (code 4) ID 232 length 4 (8) eap: Failed in EAP select (8) [eap] = invalid (8) } # authenticate = invalid (8) Failed to authenticate the user (8) Using Post-Auth-Type Reject (8) # Executing group from file /etc/raddb/sites-enabled/default (8) Post-Auth-Type REJECT { (8) attr_filter.access_reject: EXPAND %{User-Name} (8) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (8) attr_filter.access_reject: Matched entry DEFAULT at line 11 (8) [attr_filter.access_reject] = updated (8) [eap] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # Post-Auth-Type REJECT = updated (8) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (8) Sending delayed response (8) Sent Access-Reject Id 210 from 192.168.15.22:1812 to 192.168.4.183:40744 length 44 (8) EAP-Message = 0x04e80004 (8) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.6 seconds. (5) Cleaning up request packet ID 207 with timestamp +24 due to cleanup_delay was reached (6) Cleaning up request packet ID 208 with timestamp +24 due to cleanup_delay was reached Waking up in 0.3 seconds. (7) Cleaning up request packet ID 209 with timestamp +24 due to cleanup_delay was reached (8) Cleaning up request packet ID 210 with timestamp +25 due to cleanup_delay was reached Ready to process requests - List info/subscribe/unsubscribe? See https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freerad...
I wrote: TEMPNTMLPASSWD=$(sudo tdbdump -k SECRETS/MACHINE_PASSWORD/YOURDOMAINHERE /var/lib/samba/private/secrets.tdb | perl -e 'use Digest::MD4 qw(md4 md4_hex md4_base64); use Encode qw(decode encode); my $a = <>; $a =~ s/\n$//; $a =~ s/\\00$//; my @a; while ($a =~ s/((?:\\[89A-F].)|(?:.))//) { if (length($1) == 1) { push(@a, $1) } else { my $bs = $1; $bs =~ s/\\/0x/; push (@a, chr(hex("$bs"))) } }; my $blob = join("",@a); print md4_hex(encode("UTF16-LE",decode("UTF-8", $blob)))') ... I should have added, in the eapol_test config, you should use "hash:$TEMPNTMLPASSWD" as the password to tell eapol_test that you are prehashing the password. ________________________________________ From: Freeradius-Users <freeradius-users-bounces+bjulin=clarku.edu@lists.freeradius.org> on behalf of Tim ODriscoll <tim.odriscoll@lambrookschool.co.uk> Sent: Monday, April 3, 2023 9:20 AM To: freeradius-users@lists.freeradius.org Subject: [EXT] Computer/Machine Authentication almost working.. Dear All, I'm nearly there (I think) getting machine auth working via ntlm_auth, but after following the documentation from both FR and the Samba Wiki, ntlm_auth isn't authenticating and giving me an error: (7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' ntlm_auth is able to strip out the machine name correctly: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$ wbinfo tells me it's connected OK: # wbinfo -t checking the trust secret for domain MYDOMAIN via RPC calls succeeded # wbinfo -p Ping to winbindd succeeded The winbindd_privilege directory is correct: # ls -ld /var/lib/samba/winbindd_privileged/ drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/ Samba's config has this on the member (FR) server and all the DCs: ntlm auth = mschapv2-and-ntlmv2-only I understand ntlm_auth isn't supposed to be used on the CLI, so how can I test any further? Many thanks, Tim Full logs: FreeRADIUS Version 3.2.2 Copyright (C) 1999-2022 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/raddb/dictionary including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/date including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/unpack including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/ldap including configuration file /etc/raddb/mods-enabled/totp including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/ad_machine_auth including configuration file /etc/raddb/policy.d/abfab-tr including configuration file /etc/raddb/policy.d/canonicalization including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/moonshot-targeted-ids including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/rfc7542 including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 postauth_client_lost = no pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { nonblock = no ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } recv_coa { } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client localhost_ipv6 { ipv6addr = ::1 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client 192.168.4.0/24 { ipaddr = 192.168.4.0/24 require_message_authenticator = no secret = <<< secret >>> shortname = "wifi_APs" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached systemd watchdog is disabled # Creating Auth-Type = mschap # Creating Auth-Type = digest # Creating Auth-Type = ldap # Creating Auth-Type = eap # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/raddb/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loaded module rlm_date # Loading module "date" from file /etc/raddb/mods-enabled/date date { format = "%b %e %Y %H:%M:%S %Z" utc = no } # Loading module "wispr2date" from file /etc/raddb/mods-enabled/date date wispr2date { format = "%Y-%m-%dT%H:%M:%S" utc = no } # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "peap" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}" passchange { } allow_retry = yes winbind_retry_with_normalised_username = no } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/usr/bin/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_radutmp # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/raddb/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_ldap # Loading module "ldap" from file /etc/raddb/mods-enabled/ldap ldap { server = "ldaps://DC01.MYDOMAIN.co.uk" identity = "cn=MYADMIN,cn=users,dc=MYDOMAIN,dc=co,dc=uk" password = <<< secret >>> sasl { } user_dn = "LDAP-UserDn" user { scope = "sub" access_positive = yes sasl { } } group { filter = "(objectClass=group)" scope = "sub" name_attribute = "cn" membership_attribute = "memberOf" cacheable_name = no cacheable_dn = no allow_dangling_group_ref = no } client { filter = "(objectClass=radiusClient)" scope = "sub" base_dn = "dc=MYDOMAIN,dc=co,dc=uk" } profile { } options { ldap_debug = 40 chase_referrals = yes rebind = yes net_timeout = 1 res_timeout = 10 srv_timelimit = 3 idle = 60 probes = 3 interval = 3 } tls { ca_file = "/etc/ssl/certs/dc01.pem" start_tls = no } } Creating attribute LDAP-Group # Loaded module rlm_totp # Loading module "totp" from file /etc/raddb/mods-enabled/totp instantiate { } # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/coa # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 rlm_eap (EAP): Ignoring EAP method 'leap', because it is no longer supported # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/server.pem" certificate_file = "/etc/raddb/certs/server.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "PROFILE=SYSTEM" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "prime256v1" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%2..." use_nonce = yes timeout = 0 softfail = no } } tls: Setting DH parameters from /etc/raddb/certs/dh - this is no longer necessary. tls: You should comment out the 'dh_file' configuration item. # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = yes virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): authenticating by calling 'ntlm_auth' # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "ldap" from file /etc/raddb/mods-enabled/ldap rlm_ldap: libldap vendor: OpenLDAP, version: 20602 accounting { reference = "%{tolower:type.%{Acct-Status-Type}}" } post-auth { reference = "." } rlm_ldap (ldap): Initialising connection pool pool { start = 5 min = 3 max = 32 spare = 10 uses = 0 lifetime = 0 cleanup_interval = 30 idle_timeout = 60 retry_delay = 30 spread = no } rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type Compiling Auth-Type LDAP for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 60410 Listening on proxy address :: port 59954 Ready to process requests (0) Received Access-Request Id 202 from 192.168.4.183:40744 to 192.168.15.22:1812 length 250 (0) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (0) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (0) NAS-Port-Type = Wireless-802.11 (0) Service-Type = Framed-User (0) NAS-Port = 1 (0) Calling-Station-Id = "28-6B-35-4F-46-BF" (0) Connect-Info = "CONNECT 54Mbps 802.11a" (0) Acct-Session-Id = "7AF5DECDA3D1020E" (0) WLAN-Pairwise-Cipher = 1027076 (0) WLAN-Group-Cipher = 1027076 (0) WLAN-AKM-Suite = 1027073 (0) Framed-MTU = 1400 (0) EAP-Message = 0x02e0002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (0) Message-Authenticator = 0x45339dcf5ff0be628a0d52434270ef14 (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) policy filter_username { (0) if (&User-Name) { (0) if (&User-Name) -> TRUE (0) if (&User-Name) { (0) if (&User-Name =~ / /) { (0) if (&User-Name =~ / /) -> FALSE (0) if (&User-Name =~ /@[^@]*@/ ) { (0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (0) if (&User-Name =~ /\.\./ ) { (0) if (&User-Name =~ /\.\./ ) -> FALSE (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (0) if (&User-Name =~ /\.$/) { (0) if (&User-Name =~ /\.$/) -> FALSE (0) if (&User-Name =~ /@\./) { (0) if (&User-Name =~ /@\./) -> FALSE (0) } # if (&User-Name) = notfound (0) } # policy filter_username = notfound (0) [preprocess] = ok (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 224 length 41 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /etc/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_peap to process data (0) eap_peap: (TLS) Initiating new session (0) eap: Sending EAP Request (code 1) ID 225 length 6 (0) eap: EAP session adding &reply:State = 0xa2f91851a21801a2 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Challenge { ... } # empty sub-section is ignored (0) session-state: Saving cached attributes (0) Framed-MTU = 994 (0) Sent Access-Challenge Id 202 from 192.168.15.22:1812 to 192.168.4.183:40744 length 64 (0) EAP-Message = 0x01e100061920 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xa2f91851a21801a2ba9496e09aa2d64c (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 203 from 192.168.4.183:40744 to 192.168.15.22:1812 length 490 (1) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (1) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (1) NAS-Port-Type = Wireless-802.11 (1) Service-Type = Framed-User (1) NAS-Port = 1 (1) Calling-Station-Id = "28-6B-35-4F-46-BF" (1) Connect-Info = "CONNECT 54Mbps 802.11a" (1) Acct-Session-Id = "7AF5DECDA3D1020E" (1) WLAN-Pairwise-Cipher = 1027076 (1) WLAN-Group-Cipher = 1027076 (1) WLAN-AKM-Suite = 1027073 (1) Framed-MTU = 1400 (1) EAP-Message = 0x02e101051980000000fb16030100f6010000f2030396d97a4ecef4aba29f04911ed89253b0309385bb706769b1b81e8d30403380c920e9cc5ced53531b828296dedf767263c450c57d582a2d2d78ff63c95766109325002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000081000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018003300260024001d00205a3b11f6621d1435940295fc49f8d11db7857a69b5c45afa0340438e3bbb040b0031000000170000ff01000100002d00020101 (1) State = 0xa2f91851a21801a2ba9496e09aa2d64c (1) Message-Authenticator = 0x30f9339b97df8bdf7f26f3b7d10837b2 (1) Restoring &session-state (1) &session-state:Framed-MTU = 994 (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) policy filter_username { (1) if (&User-Name) { (1) if (&User-Name) -> TRUE (1) if (&User-Name) { (1) if (&User-Name =~ / /) { (1) if (&User-Name =~ / /) -> FALSE (1) if (&User-Name =~ /@[^@]*@/ ) { (1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (1) if (&User-Name =~ /\.\./ ) { (1) if (&User-Name =~ /\.\./ ) -> FALSE (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (1) if (&User-Name =~ /\.$/) { (1) if (&User-Name =~ /\.$/) -> FALSE (1) if (&User-Name =~ /@\./) { (1) if (&User-Name =~ /@\./) -> FALSE (1) } # if (&User-Name) = notfound (1) } # policy filter_username = notfound (1) [preprocess] = ok (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 225 length 261 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = eap (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0xa2f91851a21801a2 (1) eap: Finished EAP session with state 0xa2f91851a21801a2 (1) eap: Previous EAP request found for state 0xa2f91851a21801a2, released from the list (1) eap: Peer sent packet with method EAP PEAP (25) (1) eap: Calling submodule eap_peap to process data (1) eap_peap: (TLS) EAP Peer says that the final record size will be 251 bytes (1) eap_peap: (TLS) EAP Got all data (251 bytes) (1) eap_peap: (TLS) Handshake state - before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) Handshake state - Server before SSL initialization (1) eap_peap: (TLS) recv TLS 1.3 Handshake, ClientHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHello (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server hello (1) eap_peap: (TLS) send TLS 1.2 Handshake, Certificate (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write certificate (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerKeyExchange (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write key exchange (1) eap_peap: (TLS) send TLS 1.2 Handshake, ServerHelloDone (1) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (1) eap_peap: (TLS) Server : Need to read more data: SSLv3/TLS write server done (1) eap_peap: (TLS) In Handshake Phase (1) eap: Sending EAP Request (code 1) ID 226 length 1004 (1) eap: EAP session adding &reply:State = 0xa2f91851a31b01a2 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Challenge { ... } # empty sub-section is ignored (1) session-state: Saving cached attributes (1) Framed-MTU = 994 (1) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (1) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (1) Sent Access-Challenge Id 203 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1068 (1) EAP-Message = 0x01e203ec19c000000ae216030300350200003103037686440b0ed4098a552c8832fd3e654bfcfe09eed4859e88969c9f758fbdd01800c030000009ff010001000017000016030309480b0009440009410004403082043c30820324a003020102020101300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341301e170d3233303430333132333730385a170d3333303230393132333730385a308182310b30090603550406130247423112301006035504080c094265726b736869726531183016060355040a0c0f4c616d62726f6f6b205363686f6f6c3118301606035504030c0f4c616d62726f6f (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 204 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (2) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (2) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (2) NAS-Port-Type = Wireless-802.11 (2) Service-Type = Framed-User (2) NAS-Port = 1 (2) Calling-Station-Id = "28-6B-35-4F-46-BF" (2) Connect-Info = "CONNECT 54Mbps 802.11a" (2) Acct-Session-Id = "7AF5DECDA3D1020E" (2) WLAN-Pairwise-Cipher = 1027076 (2) WLAN-Group-Cipher = 1027076 (2) WLAN-AKM-Suite = 1027073 (2) Framed-MTU = 1400 (2) EAP-Message = 0x02e200061900 (2) State = 0xa2f91851a31b01a2ba9496e09aa2d64c (2) Message-Authenticator = 0xfea378d7277662d4cec6efee65f205db (2) Restoring &session-state (2) &session-state:Framed-MTU = 994 (2) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) # Executing section authorize from file /etc/raddb/sites-enabled/default (2) authorize { (2) policy filter_username { (2) if (&User-Name) { (2) if (&User-Name) -> TRUE (2) if (&User-Name) { (2) if (&User-Name =~ / /) { (2) if (&User-Name =~ / /) -> FALSE (2) if (&User-Name =~ /@[^@]*@/ ) { (2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (2) if (&User-Name =~ /\.\./ ) { (2) if (&User-Name =~ /\.\./ ) -> FALSE (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (2) if (&User-Name =~ /\.$/) { (2) if (&User-Name =~ /\.$/) -> FALSE (2) if (&User-Name =~ /@\./) { (2) if (&User-Name =~ /@\./) -> FALSE (2) } # if (&User-Name) = notfound (2) } # policy filter_username = notfound (2) [preprocess] = ok (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix: Checking for suffix after "@" (2) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (2) suffix: No such realm "NULL" (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 226 length 6 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = eap (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0xa2f91851a31b01a2 (2) eap: Finished EAP session with state 0xa2f91851a31b01a2 (2) eap: Previous EAP request found for state 0xa2f91851a31b01a2, released from the list (2) eap: Peer sent packet with method EAP PEAP (25) (2) eap: Calling submodule eap_peap to process data (2) eap_peap: (TLS) Peer ACKed our handshake fragment (2) eap: Sending EAP Request (code 1) ID 227 length 1000 (2) eap: EAP session adding &reply:State = 0xa2f91851a01a01a2 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Challenge { ... } # empty sub-section is ignored (2) session-state: Saving cached attributes (2) Framed-MTU = 994 (2) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (2) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (2) Sent Access-Challenge Id 204 from 192.168.15.22:1812 to 192.168.4.183:40744 length 1064 (2) EAP-Message = 0x01e303e81940280e3b1582f004b30751d22255a115d4b1bb9f0c7ed9deec29772567e184f4cbd69303b359b44b064b47aa8e03109b518ffe3a68de1836d1fd4aa9a8f06f4ea34924cad3e1b5312e8f41863ef3ef88e2c112e6cf9ada87f2ceb8d3adef8271eebe180597e320e5d379b200501d491faef2fdef9698fc170cdac8a3294276bee4eadb925e41997732fe4fd98c2f6d273e9d6f5e98cde1e5326f33da674bbe8114225f1b2b7d25ee0004fb308204f7308203dfa00302010202147f171038d791383a6c25cf29f494f6dfc907b42d300d06092a864886f70d01010b0500308192310b30090603550406130247423112301006035504080c094265726b73686972653112301006035504070c09427261636b6e656c6c31183016060355040a0c0f4c616d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b204341 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (2) Finished request Waking up in 4.9 seconds. (3) Received Access-Request Id 205 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (3) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (3) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (3) NAS-Port-Type = Wireless-802.11 (3) Service-Type = Framed-User (3) NAS-Port = 1 (3) Calling-Station-Id = "28-6B-35-4F-46-BF" (3) Connect-Info = "CONNECT 54Mbps 802.11a" (3) Acct-Session-Id = "7AF5DECDA3D1020E" (3) WLAN-Pairwise-Cipher = 1027076 (3) WLAN-Group-Cipher = 1027076 (3) WLAN-AKM-Suite = 1027073 (3) Framed-MTU = 1400 (3) EAP-Message = 0x02e300061900 (3) State = 0xa2f91851a01a01a2ba9496e09aa2d64c (3) Message-Authenticator = 0xb714bedc489537ab5e91cc8e6bad6172 (3) Restoring &session-state (3) &session-state:Framed-MTU = 994 (3) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) # Executing section authorize from file /etc/raddb/sites-enabled/default (3) authorize { (3) policy filter_username { (3) if (&User-Name) { (3) if (&User-Name) -> TRUE (3) if (&User-Name) { (3) if (&User-Name =~ / /) { (3) if (&User-Name =~ / /) -> FALSE (3) if (&User-Name =~ /@[^@]*@/ ) { (3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (3) if (&User-Name =~ /\.\./ ) { (3) if (&User-Name =~ /\.\./ ) -> FALSE (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (3) if (&User-Name =~ /\.$/) { (3) if (&User-Name =~ /\.$/) -> FALSE (3) if (&User-Name =~ /@\./) { (3) if (&User-Name =~ /@\./) -> FALSE (3) } # if (&User-Name) = notfound (3) } # policy filter_username = notfound (3) [preprocess] = ok (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 227 length 6 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = eap (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0xa2f91851a01a01a2 (3) eap: Finished EAP session with state 0xa2f91851a01a01a2 (3) eap: Previous EAP request found for state 0xa2f91851a01a01a2, released from the list (3) eap: Peer sent packet with method EAP PEAP (25) (3) eap: Calling submodule eap_peap to process data (3) eap_peap: (TLS) Peer ACKed our handshake fragment (3) eap: Sending EAP Request (code 1) ID 228 length 804 (3) eap: EAP session adding &reply:State = 0xa2f91851a11d01a2 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Challenge { ... } # empty sub-section is ignored (3) session-state: Saving cached attributes (3) Framed-MTU = 994 (3) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (3) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (3) Sent Access-Challenge Id 205 from 192.168.15.22:1812 to 192.168.4.183:40744 length 868 (3) EAP-Message = 0x01e4032419006d62726f6f6b205363686f6f6c312b302906092a864886f70d010901161c737570706f7274406c616d62726f6f6b7363686f6f6c2e636f2e756b3114301206035504030c0b4c616d62726f6f6b20434182147f171038d791383a6c25cf29f494f6dfc907b42d300f0603551d130101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b05000382010100849ca542ec2d6cfb37af8c4529b8d6a86d9c966170ebd7847133c6066fc1ae7d8114884d79888c9e5c32bc5f350c870f36fd15a4746a58a70e7703cb340341bd5b08a4db19e2e5f56c14edb844baf3a4f5db34f393a970c1641d05c8d117e17c063f92ddc535963bdacf1b3bff4b5a8012b54596e4747d29f8da2ee233f7a8e649ac85102def9800ce6b6b89e7e613b107e59acaffae0a9ff5eadd8551cf173ceb0ec9cfc0414f516ec35ef73597 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (3) Finished request Waking up in 4.9 seconds. (4) Received Access-Request Id 206 from 192.168.4.183:40744 to 192.168.15.22:1812 length 363 (4) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (4) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (4) NAS-Port-Type = Wireless-802.11 (4) Service-Type = Framed-User (4) NAS-Port = 1 (4) Calling-Station-Id = "28-6B-35-4F-46-BF" (4) Connect-Info = "CONNECT 54Mbps 802.11a" (4) Acct-Session-Id = "7AF5DECDA3D1020E" (4) WLAN-Pairwise-Cipher = 1027076 (4) WLAN-Group-Cipher = 1027076 (4) WLAN-AKM-Suite = 1027073 (4) Framed-MTU = 1400 (4) EAP-Message = 0x02e4008819800000007e1603030046100000424104fc700b1b8bfa32368426118e9a80c3f39ff815218590aed58e2c75581537f83192c25765f7180aee560c91d163e877dc0c291383f8b81220fe3e6f7575208c681403030001011603030028000000000000000018c81880c82d0c93acf0f409f08a98d6f7cdb13357292280e9ea23dce17c1c1f (4) State = 0xa2f91851a11d01a2ba9496e09aa2d64c (4) Message-Authenticator = 0xf11fb09ed5dab5550ed5f5cb3162d479 (4) Restoring &session-state (4) &session-state:Framed-MTU = 994 (4) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) # Executing section authorize from file /etc/raddb/sites-enabled/default (4) authorize { (4) policy filter_username { (4) if (&User-Name) { (4) if (&User-Name) -> TRUE (4) if (&User-Name) { (4) if (&User-Name =~ / /) { (4) if (&User-Name =~ / /) -> FALSE (4) if (&User-Name =~ /@[^@]*@/ ) { (4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (4) if (&User-Name =~ /\.\./ ) { (4) if (&User-Name =~ /\.\./ ) -> FALSE (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (4) if (&User-Name =~ /\.$/) { (4) if (&User-Name =~ /\.$/) -> FALSE (4) if (&User-Name =~ /@\./) { (4) if (&User-Name =~ /@\./) -> FALSE (4) } # if (&User-Name) = notfound (4) } # policy filter_username = notfound (4) [preprocess] = ok (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 228 length 136 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0xa2f91851a11d01a2 (4) eap: Finished EAP session with state 0xa2f91851a11d01a2 (4) eap: Previous EAP request found for state 0xa2f91851a11d01a2, released from the list (4) eap: Peer sent packet with method EAP PEAP (25) (4) eap: Calling submodule eap_peap to process data (4) eap_peap: (TLS) EAP Peer says that the final record size will be 126 bytes (4) eap_peap: (TLS) EAP Got all data (126 bytes) (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write server done (4) eap_peap: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read client key exchange (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec (4) eap_peap: (TLS) recv TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS read finished (4) eap_peap: (TLS) send TLS 1.2 ChangeCipherSpec (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec (4) eap_peap: (TLS) send TLS 1.2 Handshake, Finished (4) eap_peap: (TLS) Handshake state - Server SSLv3/TLS write finished (4) eap_peap: (TLS) Handshake state - SSL negotiation finished successfully (4) eap_peap: (TLS) Connection Established (4) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) eap_peap: TLS-Session-Version = "TLS 1.2" (4) eap: Sending EAP Request (code 1) ID 229 length 57 (4) eap: EAP session adding &reply:State = 0xa2f91851a61c01a2 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Challenge { ... } # empty sub-section is ignored (4) session-state: Saving cached attributes (4) Framed-MTU = 994 (4) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (4) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (4) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (4) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (4) TLS-Session-Version = "TLS 1.2" (4) Sent Access-Challenge Id 206 from 192.168.15.22:1812 to 192.168.4.183:40744 length 115 (4) EAP-Message = 0x01e50039190014030300010116030300280292373b404e0822b6ddf83ac8081a30eb64150d72404bab3ca5526bb2d137e1875654b13c8fff88 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (4) Finished request Waking up in 4.9 seconds. (0) Cleaning up request packet ID 202 with timestamp +13 due to cleanup_delay was reached (1) Cleaning up request packet ID 203 with timestamp +13 due to cleanup_delay was reached (2) Cleaning up request packet ID 204 with timestamp +13 due to cleanup_delay was reached (3) Cleaning up request packet ID 205 with timestamp +13 due to cleanup_delay was reached (4) Cleaning up request packet ID 206 with timestamp +13 due to cleanup_delay was reached Ready to process requests (5) Received Access-Request Id 207 from 192.168.4.183:40744 to 192.168.15.22:1812 length 233 (5) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (5) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (5) NAS-Port-Type = Wireless-802.11 (5) Service-Type = Framed-User (5) NAS-Port = 1 (5) Calling-Station-Id = "28-6B-35-4F-46-BF" (5) Connect-Info = "CONNECT 54Mbps 802.11a" (5) Acct-Session-Id = "7AF5DECDA3D1020E" (5) WLAN-Pairwise-Cipher = 1027076 (5) WLAN-Group-Cipher = 1027076 (5) WLAN-AKM-Suite = 1027073 (5) Framed-MTU = 1400 (5) EAP-Message = 0x02e500061900 (5) State = 0xa2f91851a61c01a2ba9496e09aa2d64c (5) Message-Authenticator = 0x1d3e1b0836f981270aa2af2af7314781 (5) Restoring &session-state (5) &session-state:Framed-MTU = 994 (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) &session-state:TLS-Session-Version = "TLS 1.2" (5) # Executing section authorize from file /etc/raddb/sites-enabled/default (5) authorize { (5) policy filter_username { (5) if (&User-Name) { (5) if (&User-Name) -> TRUE (5) if (&User-Name) { (5) if (&User-Name =~ / /) { (5) if (&User-Name =~ / /) -> FALSE (5) if (&User-Name =~ /@[^@]*@/ ) { (5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (5) if (&User-Name =~ /\.\./ ) { (5) if (&User-Name =~ /\.\./ ) -> FALSE (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (5) if (&User-Name =~ /\.$/) { (5) if (&User-Name =~ /\.$/) -> FALSE (5) if (&User-Name =~ /@\./) { (5) if (&User-Name =~ /@\./) -> FALSE (5) } # if (&User-Name) = notfound (5) } # policy filter_username = notfound (5) [preprocess] = ok (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 229 length 6 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0xa2f91851a61c01a2 (5) eap: Finished EAP session with state 0xa2f91851a61c01a2 (5) eap: Previous EAP request found for state 0xa2f91851a61c01a2, released from the list (5) eap: Peer sent packet with method EAP PEAP (25) (5) eap: Calling submodule eap_peap to process data (5) eap_peap: (TLS) Peer ACKed our handshake fragment. handshake is finished (5) eap_peap: Session established. Decoding tunneled attributes (5) eap_peap: PEAP state TUNNEL ESTABLISHED (5) eap: Sending EAP Request (code 1) ID 230 length 40 (5) eap: EAP session adding &reply:State = 0xa2f91851a71f01a2 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Challenge { ... } # empty sub-section is ignored (5) session-state: Saving cached attributes (5) Framed-MTU = 994 (5) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (5) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (5) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (5) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (5) TLS-Session-Version = "TLS 1.2" (5) Sent Access-Challenge Id 207 from 192.168.15.22:1812 to 192.168.4.183:40744 length 98 (5) EAP-Message = 0x01e600281900170303001d0292373b404e0823111eedee248c54e45d29e31b55efe08388ffb49d22 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (5) Finished request Waking up in 4.9 seconds. (6) Received Access-Request Id 208 from 192.168.4.183:40744 to 192.168.15.22:1812 length 299 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (6) NAS-Port-Type = Wireless-802.11 (6) Service-Type = Framed-User (6) NAS-Port = 1 (6) Calling-Station-Id = "28-6B-35-4F-46-BF" (6) Connect-Info = "CONNECT 54Mbps 802.11a" (6) Acct-Session-Id = "7AF5DECDA3D1020E" (6) WLAN-Pairwise-Cipher = 1027076 (6) WLAN-Group-Cipher = 1027076 (6) WLAN-AKM-Suite = 1027073 (6) Framed-MTU = 1400 (6) EAP-Message = 0x02e600481900170303003d000000000000000126dac151e748c5a28bcdde71e8e363af45675c1edb834d7414a4bafc3252d3c375b7322505386e598cbb1913ce51ffdf55ace14beb (6) State = 0xa2f91851a71f01a2ba9496e09aa2d64c (6) Message-Authenticator = 0x5570ed7a63c1c77a44a515eb23753651 (6) Restoring &session-state (6) &session-state:Framed-MTU = 994 (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) &session-state:TLS-Session-Version = "TLS 1.2" (6) # Executing section authorize from file /etc/raddb/sites-enabled/default (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) [preprocess] = ok (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 72 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0xa2f91851a71f01a2 (6) eap: Finished EAP session with state 0xa2f91851a71f01a2 (6) eap: Previous EAP request found for state 0xa2f91851a71f01a2, released from the list (6) eap: Peer sent packet with method EAP PEAP (25) (6) eap: Calling submodule eap_peap to process data (6) eap_peap: (TLS) EAP Done initial handshake (6) eap_peap: Session established. Decoding tunneled attributes (6) eap_peap: PEAP state WAITING FOR INNER IDENTITY (6) eap_peap: Identity - host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Got inner identity 'host/SL-6S4BBS3.MYDOMAIN.co.uk' (6) eap_peap: Setting default EAP type for tunneled EAP session (6) eap_peap: Got tunneled request (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (6) eap_peap: Sending tunneled request to inner-tunnel (6) eap_peap: EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x02e6002901686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (6) WARNING: Outer and inner identities are the same. User privacy is compromised. (6) server inner-tunnel { (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) policy ad_computer_username { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (6) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (6) update request { (6) EXPAND %{1}$ (6) --> SL-6S4BBS3$ (6) &Stripped-User-Name := SL-6S4BBS3$ (6) } # update request = noop (6) if ("%{3}" != '') { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) if ("%{3}" != '') -> TRUE (6) if ("%{3}" != '') { (6) update request { (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &Stripped-User-Domain = MYDOMAIN.co.uk (6) EXPAND %{3} (6) --> MYDOMAIN.co.uk (6) &realm := MYDOMAIN.co.uk (6) } # update request = noop (6) } # if ("%{3}" != '') = noop (6) [updated] = updated (6) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (6) ... skipping else: Preceding "if" was taken (6) } # policy ad_computer_username = updated (6) policy filter_inner_identity { (6) if (!&outer.request:User-Name || !&User-Name) { (6) if (!&outer.request:User-Name || !&User-Name) -> FALSE (6) if (&outer.request:User-Name != &User-Name) { (6) if (&outer.request:User-Name != &User-Name) -> FALSE (6) } # policy filter_inner_identity = updated (6) [chap] = noop (6) [mschap] = noop (6) suffix: Request already has destination realm set. Ignoring (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) eap: Peer sent EAP Response (code 2) ID 230 length 41 (6) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) authenticate { (6) eap: Peer sent packet with method EAP Identity (1) (6) eap: Calling submodule eap_mschapv2 to process data (6) eap_mschapv2: Issuing Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 42 (6) eap: EAP session adding &reply:State = 0xede77fe3ed00658b (6) [eap] = handled (6) } # authenticate = handled (6) } # server inner-tunnel (6) Virtual server sending reply (6) EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled reply RADIUS code 11 (6) eap_peap: EAP-Message = 0x01e7002a1a01e700251018429e2f73fa1d1f708a08eab58f9303667265657261646975732d332e322e32 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (6) eap_peap: Got tunneled Access-Challenge (6) eap: Sending EAP Request (code 1) ID 231 length 73 (6) eap: EAP session adding &reply:State = 0xa2f91851a41e01a2 (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Challenge { ... } # empty sub-section is ignored (6) session-state: Saving cached attributes (6) Framed-MTU = 994 (6) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (6) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (6) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (6) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (6) TLS-Session-Version = "TLS 1.2" (6) Sent Access-Challenge Id 208 from 192.168.15.22:1812 to 192.168.4.183:40744 length 131 (6) EAP-Message = 0x01e700491900170303003e0292373b404e0824f68f6f9a55e22ab49ff88824830541895f006aace7eeff05416d88319fa5ff9a8f676fe7b7d1865a1a5dd5d02d8360dda3e2fa05f6f7 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (6) Finished request Waking up in 4.9 seconds. (7) Received Access-Request Id 209 from 192.168.4.183:40744 to 192.168.15.22:1812 length 353 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (7) NAS-Port-Type = Wireless-802.11 (7) Service-Type = Framed-User (7) NAS-Port = 1 (7) Calling-Station-Id = "28-6B-35-4F-46-BF" (7) Connect-Info = "CONNECT 54Mbps 802.11a" (7) Acct-Session-Id = "7AF5DECDA3D1020E" (7) WLAN-Pairwise-Cipher = 1027076 (7) WLAN-Group-Cipher = 1027076 (7) WLAN-AKM-Suite = 1027073 (7) Framed-MTU = 1400 (7) EAP-Message = 0x02e7007e1900170303007300000000000000027b9322e534889e59cf73b49f78b04f94dde670f8ab5b1498810d5c67eb341706c1481bdb3e899835ad498d113a934782396acee4975a42eff342319baabd11f32833e1bb90543f6569ab798880a12f9b696c2eaa0af0d1e4c8b09d9248a72ab408acde5ec010a39d71757b (7) State = 0xa2f91851a41e01a2ba9496e09aa2d64c (7) Message-Authenticator = 0xa9e9e786e494d085735ff5c7c065a11f (7) Restoring &session-state (7) &session-state:Framed-MTU = 994 (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) &session-state:TLS-Session-Version = "TLS 1.2" (7) # Executing section authorize from file /etc/raddb/sites-enabled/default (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) [preprocess] = ok (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 126 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/default (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xa2f91851a41e01a2 (7) eap: Previous EAP request found for state 0xa2f91851a41e01a2, released from the list (7) eap: Peer sent packet with method EAP PEAP (25) (7) eap: Calling submodule eap_peap to process data (7) eap_peap: (TLS) EAP Done initial handshake (7) eap_peap: Session established. Decoding tunneled attributes (7) eap_peap: PEAP state phase2 (7) eap_peap: EAP method MSCHAPv2 (26) (7) eap_peap: Got tunneled request (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: Setting User-Name to host/SL-6S4BBS3.MYDOMAIN.co.uk (7) eap_peap: Sending tunneled request to inner-tunnel (7) eap_peap: EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (7) eap_peap: User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) eap_peap: State = 0xede77fe3ed00658b2611adfefd1eb95e (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x02e7005f1a02e7005a312dff4531c3ab61003cc8a3048a8eda570000000000000000a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd00686f73742f534c2d365334424253332e6c616d62726f6f6b7363686f6f6c2e636f2e756b (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (7) State = 0xede77fe3ed00658b2611adfefd1eb95e (7) WARNING: Outer and inner identities are the same. User privacy is compromised. (7) server inner-tunnel { (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) policy ad_computer_username { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) -> TRUE (7) if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) { (7) update request { (7) EXPAND %{1}$ (7) --> SL-6S4BBS3$ (7) &Stripped-User-Name := SL-6S4BBS3$ (7) } # update request = noop (7) if ("%{3}" != '') { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) if ("%{3}" != '') -> TRUE (7) if ("%{3}" != '') { (7) update request { (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &Stripped-User-Domain = MYDOMAIN.co.uk (7) EXPAND %{3} (7) --> MYDOMAIN.co.uk (7) &realm := MYDOMAIN.co.uk (7) } # update request = noop (7) } # if ("%{3}" != '') = noop (7) [updated] = updated (7) } # if (&User-Name && (&User-Name =~ /^host\/([-[:alnum:]]+)(\.([-[:alnum:].]*))*$/)) = updated (7) ... skipping else: Preceding "if" was taken (7) } # policy ad_computer_username = updated (7) policy filter_inner_identity { (7) if (!&outer.request:User-Name || !&User-Name) { (7) if (!&outer.request:User-Name || !&User-Name) -> FALSE (7) if (&outer.request:User-Name != &User-Name) { (7) if (&outer.request:User-Name != &User-Name) -> FALSE (7) } # policy filter_inner_identity = updated (7) [chap] = noop (7) [mschap] = noop (7) suffix: Request already has destination realm set. Ignoring (7) [suffix] = noop (7) update control { (7) &Proxy-To-Realm := LOCAL (7) } # update control = noop (7) eap: Peer sent EAP Response (code 2) ID 231 length 95 (7) eap: No EAP Start, assuming it's an on-going EAP conversation (7) [eap] = updated (7) files: Searching for user in group "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (0) (7) files: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) files: --> (samaccountname=SL-6S4BBS3$) (7) files: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) files: Waiting for search result... ber_get_next failed, errno=11. TLS certificate verification: Error, unable to get local issuer certificate rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (0) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (5), 1 of 27 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=staff,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (1) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN rlm_ldap (ldap): Released connection (1) Need more connections to reach 10 spares rlm_ldap (ldap): Opening additional connection (6), 1 of 26 pending slots used rlm_ldap (ldap): Connecting to ldaps://DC01.MYDOMAIN.co.uk:636 rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) files: User is not a member of "CN=students,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Searching for user in group "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" rlm_ldap (ldap): Reserved connection (2) (7) files: Using user DN from request "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) files: Checking user object's memberOf attributes (7) files: Performing unfiltered search in "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk", scope "base" (7) files: Waiting for search result... (7) files: Processing memberOf value "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" as a DN (7) files: User found in group DN "CN=wifi_machines,CN=Users,DC=MYDOMAIN,DC=co,DC=uk". Comparison between membership: dn, check: dn rlm_ldap (ldap): Released connection (2) (7) files: users: Matched entry DEFAULT at line 11 (7) [files] = ok rlm_ldap (ldap): Reserved connection (3) (7) ldap: EXPAND (samaccountname=%{%{Stripped-User-Name}:-%{User-Name}}) (7) ldap: --> (samaccountname=SL-6S4BBS3$) (7) ldap: Performing search in "dc=MYDOMAIN,dc=co,dc=uk" with filter "(samaccountname=SL-6S4BBS3$)", scope "sub" (7) ldap: Waiting for search result... rlm_ldap (ldap): Rebinding to URL ldaps://MYDOMAIN.co.uk/CN=Configuration,DC=MYDOMAIN,DC=co,DC=uk rlm_ldap (ldap): Waiting for bind result... rlm_ldap (ldap): Bind successful (7) ldap: User object found at DN "CN=SL-6S4BBS3,OU=Machines,DC=MYDOMAIN,DC=co,DC=uk" (7) ldap: Processing user attributes (7) ldap: WARNING: No "known good" password added. Ensure the MYADMIN user has permission to read the password attribute (7) ldap: WARNING: PAP authentication will *NOT* work with Active Directory (if that is what you were trying to configure) rlm_ldap (ldap): Released connection (3) (7) [ldap] = ok (7) [expiration] = noop (7) [logintime] = noop (7) [pap] = noop (7) } # authorize = updated (7) Found Auth-Type = eap (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Expiring EAP session with state 0xede77fe3ed00658b (7) eap: Finished EAP session with state 0xede77fe3ed00658b (7) eap: Previous EAP request found for state 0xede77fe3ed00658b, released from the list (7) eap: Peer sent packet with method EAP MSCHAPv2 (26) (7) eap: Calling submodule eap_mschapv2 to process data (7) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) eap_mschapv2: authenticate { (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: Client is using MS-CHAPv2 (7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}: (7) mschap: EXPAND --username=%{mschap:User-Name} (7) mschap: --> --username=SL-6S4BBS3$ (7) mschap: Creating challenge hash with username: host/SL-6S4BBS3.MYDOMAIN.co.uk (7) mschap: EXPAND --challenge=%{mschap:Challenge:-00} (7) mschap: --> --challenge=eab8de792c4017e7 (7) mschap: EXPAND --nt-response=%{mschap:NT-Response:-00} (7) mschap: --> --nt-response=a2f045aa6bb93ee5db34bf3918cf842e50aec5aae4a926bd (7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' (7) mschap: External script failed (7) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (7) mschap: ERROR: MS-CHAP2-Response is incorrect (7) eap_mschapv2: [mschap] = reject (7) eap_mschapv2: } # authenticate = reject (7) eap: Sending EAP Failure (code 4) ID 231 length 4 (7) eap: Freeing handler (7) [eap] = reject (7) } # authenticate = reject (7) Failed to authenticate the user (7) Using Post-Auth-Type Reject (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) Post-Auth-Type REJECT { (7) attr_filter.access_reject: EXPAND %{User-Name} (7) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (7) attr_filter.access_reject: Matched entry DEFAULT at line 11 (7) [attr_filter.access_reject] = updated (7) update outer.session-state { (7) &Module-Failure-Message := &request:Module-Failure-Message -> 'mschap: Program returned code (1) and output \'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)\'' (7) } # update outer.session-state = noop (7) } # Post-Auth-Type REJECT = updated (7) } # server inner-tunnel (7) Virtual server sending reply (7) MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) EAP-Message = 0x04e70004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Got tunneled reply RADIUS code 3 (7) eap_peap: MS-CHAP-Error = "\347E=691 R=1 C=fa425a4c5c13386ac9c64ab4d1978adf V=3 M=Authentication rejected" (7) eap_peap: EAP-Message = 0x04e70004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: Tunneled authentication was rejected (7) eap_peap: FAILURE (7) eap: Sending EAP Request (code 1) ID 232 length 46 (7) eap: EAP session adding &reply:State = 0xa2f91851a51101a2 (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Challenge { ... } # empty sub-section is ignored (7) session-state: Saving cached attributes (7) Framed-MTU = 994 (7) TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (7) TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (7) TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (7) TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (7) TLS-Session-Version = "TLS 1.2" (7) Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (7) Sent Access-Challenge Id 209 from 192.168.15.22:1812 to 192.168.4.183:40744 length 104 (7) EAP-Message = 0x01e8002e190017030300230292373b404e0825e3a4e9c5f699e6fe4e5edeebdd618ae26ccc847c29515b2490b95f (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0xa2f91851a51101a2ba9496e09aa2d64c (7) Finished request Waking up in 4.6 seconds. (8) Received Access-Request Id 210 from 192.168.4.183:40744 to 192.168.15.22:1812 length 273 (8) User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk" (8) Called-Station-Id = "F6-92-BF-3E-8D-EF:MYDOMAIN" (8) NAS-Port-Type = Wireless-802.11 (8) Service-Type = Framed-User (8) NAS-Port = 1 (8) Calling-Station-Id = "28-6B-35-4F-46-BF" (8) Connect-Info = "CONNECT 54Mbps 802.11a" (8) Acct-Session-Id = "7AF5DECDA3D1020E" (8) WLAN-Pairwise-Cipher = 1027076 (8) WLAN-Group-Cipher = 1027076 (8) WLAN-AKM-Suite = 1027073 (8) Framed-MTU = 1400 (8) EAP-Message = 0x02e8002e190017030300230000000000000003ea33017147c3302fdd480b9bd7a1ca0fd7ba7737df755ffe4ea240 (8) State = 0xa2f91851a51101a2ba9496e09aa2d64c (8) Message-Authenticator = 0x03f0ffd538cbbb486e3851ef134e7a75 (8) Restoring &session-state (8) &session-state:Framed-MTU = 994 (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange" (8) &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec" (8) &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished" (8) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384" (8) &session-state:TLS-Session-Version = "TLS 1.2" (8) &session-state:Module-Failure-Message := "mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" (8) # Executing section authorize from file /etc/raddb/sites-enabled/default (8) authorize { (8) policy filter_username { (8) if (&User-Name) { (8) if (&User-Name) -> TRUE (8) if (&User-Name) { (8) if (&User-Name =~ / /) { (8) if (&User-Name =~ / /) -> FALSE (8) if (&User-Name =~ /@[^@]*@/ ) { (8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (8) if (&User-Name =~ /\.\./ ) { (8) if (&User-Name =~ /\.\./ ) -> FALSE (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (8) if (&User-Name =~ /\.$/) { (8) if (&User-Name =~ /\.$/) -> FALSE (8) if (&User-Name =~ /@\./) { (8) if (&User-Name =~ /@\./) -> FALSE (8) } # if (&User-Name) = notfound (8) } # policy filter_username = notfound (8) [preprocess] = ok (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "host/SL-6S4BBS3.MYDOMAIN.co.uk", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 232 length 46 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = eap (8) # Executing group from file /etc/raddb/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0xa2f91851a51101a2 (8) eap: Finished EAP session with state 0xa2f91851a51101a2 (8) eap: Previous EAP request found for state 0xa2f91851a51101a2, released from the list (8) eap: Peer sent packet with method EAP PEAP (25) (8) eap: Calling submodule eap_peap to process data (8) eap_peap: (TLS) EAP Done initial handshake (8) eap_peap: Session established. Decoding tunneled attributes (8) eap_peap: PEAP state send tlv failure (8) eap_peap: Received EAP-TLV response (8) eap_peap: ERROR: The users session was previously rejected: returning reject (again.) (8) eap_peap: This means you need to read the PREVIOUS messages in the debug output (8) eap_peap: to find out the reason why the user was rejected (8) eap_peap: Look for "reject" or "fail". Those earlier messages will tell you (8) eap_peap: what went wrong, and how to fix the problem (8) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed (8) eap: Sending EAP Failure (code 4) ID 232 length 4 (8) eap: Failed in EAP select (8) [eap] = invalid (8) } # authenticate = invalid (8) Failed to authenticate the user (8) Using Post-Auth-Type Reject (8) # Executing group from file /etc/raddb/sites-enabled/default (8) Post-Auth-Type REJECT { (8) attr_filter.access_reject: EXPAND %{User-Name} (8) attr_filter.access_reject: --> host/SL-6S4BBS3.MYDOMAIN.co.uk (8) attr_filter.access_reject: Matched entry DEFAULT at line 11 (8) [attr_filter.access_reject] = updated (8) [eap] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # Post-Auth-Type REJECT = updated (8) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (8) Sending delayed response (8) Sent Access-Reject Id 210 from 192.168.15.22:1812 to 192.168.4.183:40744 length 44 (8) EAP-Message = 0x04e80004 (8) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.6 seconds. (5) Cleaning up request packet ID 207 with timestamp +24 due to cleanup_delay was reached (6) Cleaning up request packet ID 208 with timestamp +24 due to cleanup_delay was reached Waking up in 0.3 seconds. (7) Cleaning up request packet ID 209 with timestamp +24 due to cleanup_delay was reached (8) Cleaning up request packet ID 210 with timestamp +25 due to cleanup_delay was reached Ready to process requests - List info/subscribe/unsubscribe? See https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freerad... - List info/subscribe/unsubscribe? See https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freerad...
On Apr 3, 2023, at 9:20 AM, Tim ODriscoll <tim.odriscoll@lambrookschool.co.uk> wrote:
I'm nearly there (I think) getting machine auth working via ntlm_auth, but after following the documentation from both FR and the Samba Wiki, ntlm_auth isn't authenticating and giving me an error:
(7) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
That almost always means the password entered by the use is wrong.
ntlm_auth is able to strip out the machine name correctly: ... wbinfo tells me it's connected OK: # wbinfo -t checking the trust secret for domain MYDOMAIN via RPC calls succeeded # wbinfo -p Ping to winbindd succeeded
The winbindd_privilege directory is correct: # ls -ld /var/lib/samba/winbindd_privileged/ drwxr-x---+ 2 root radiusd 18 Apr 1 21:39 /var/lib/samba/winbindd_privileged/
Samba's config has this on the member (FR) server and all the DCs: ntlm auth = mschapv2-and-ntlmv2-only
That's all good.
I understand ntlm_auth isn't supposed to be used on the CLI, so how can I test any further?
To add to your list of checks above: * run ntlm_auth on the command line, it's fine. Test it with a password. If that works, you know that the password is correct, and the entire "ntlm -> winbind -> AD" chain is working correctly. * Also read the top of sites-available/inner-tunnel and test it via radclient, using MS-CHAP. radclient will take a clear-text password, and send the MS-CHAP magic to FreeRADIUS. This test avoids all of the EAP overhead and setup. i.e. it avoids any issues related to certificates, supplicant configurations, etc. If that test works, then you know that MSCHAP works from a RADIUS client to FreeRADIUS, through to ntlm_auth, etc. Then if it doesn't work with a "real" supplicant, then you know that the supplicant is sending the wrong password. On the other hand, if the "radclient mschap" test fails, then you know that FreeRADIUS isn't configured correctly. The entire process really is about narrowing down the problem to exactly the part which is failing. A methodical approach is the only thing that works. Alan DeKok.
* Also read the top of sites-available/inner-tunnel and test it via radclient, using MS-CHAP.
Thank you, Alan - I hadn't tried that yet: It seems my ldap authentication is working, but not the mschap: # radtest tim.odriscoll MYPASSWD localhost 10 testing123 (0) # Executing group from file /etc/raddb/sites-enabled/default (0) authenticate { rlm_ldap (ldap): Reserved connection (2) (0) ldap: Login attempt by "tim.odriscoll" (0) ldap: Using user DN from request "CN=tim.odriscoll,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" (0) ldap: Waiting for bind result... (0) ldap: Bind successful (0) ldap: Bind as user "CN=tim.odriscoll,CN=Users,DC=MYDOMAIN,DC=co,DC=uk" was successful rlm_ldap (ldap): Released connection (2) (0) [ldap] = ok (0) } # authenticate = ok (0) # Executing section post-auth from file /etc/raddb/sites-enabled/default (0) post-auth { (0) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) { (0) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE (0) update { (0) No attributes updated for RHS &session-state: (0) } # update = noop (0) [exec] = noop (0) policy remove_reply_message_if_eap { (0) if (&reply:EAP-Message && &reply:Reply-Message) { (0) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (0) else { (0) [noop] = noop (0) } # else = noop (0) } # policy remove_reply_message_if_eap = noop (0) } # post-auth = noop (0) Sent Access-Accept Id 138 from 127.0.0.1:1812 to 127.0.0.1:41829 length 36 (0) Tunnel-Type = VLAN (0) Tunnel-Medium-Type = IEEE-802 (0) Tunnel-Private-Group-Id = "30" (0) Finished request And with mschap: radtest -t mschap tim.odriscoll MYPASSWD localhost 10 testing123 (1) authenticate { (1) mschap: Client is using MS-CHAPv1 with NT-Password (1) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{%{mschap:User-Name}:-00} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}: (1) mschap: EXPAND --username=%{%{mschap:User-Name}:-00} (1) mschap: --> --username=tim.odriscoll (1) mschap: mschap1: 84 (1) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00} (1) mschap: --> --challenge=84b5ae5ac964eb2c (1) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00} (1) mschap: --> --nt-response=da7a0095a13df2402e71c6c167eef1f1ae48514b721fa091 (1) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' (1) mschap: External script failed (1) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (1) mschap: ERROR: MS-CHAP2-Response is incorrect (1) [mschap] = reject I will try and dig out the samba logs.. Many thanks, Tim
On Apr 3, 2023, at 11:43 AM, Tim ODriscoll <tim.odriscoll@lambrookschool.co.uk> wrote:
And with mschap: radtest -t mschap tim.odriscoll MYPASSWD localhost 10 testing123 (1) authenticate { (1) mschap: Client is using MS-CHAPv1 with NT-Password (1) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{%{mschap:User-Name}:-00} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}: (1) mschap: EXPAND --username=%{%{mschap:User-Name}:-00} (1) mschap: --> --username=tim.odriscoll (1) mschap: mschap1: 84 (1) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00} (1) mschap: --> --challenge=84b5ae5ac964eb2c (1) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00} (1) mschap: --> --nt-response=da7a0095a13df2402e71c6c167eef1f1ae48514b721fa091 (1) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' (1) mschap: External script failed (1) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (1) mschap: ERROR: MS-CHAP2-Response is incorrect (1) [mschap] = reject
I will try and dig out the samba logs..
That's the best bet. We know FR is doing the various NT hash calculations correctly. And passing that to ntlm_auth. My only remaining guess here is that Samba / AD isn't permitting ntlm / mschap authentication. Alan DeKok.
I struggled with this for a while, mostly due to the multiple ways Windows hostnames (e.g. COMPNAME$, host/compname, etc.) as well as Windows usernames (DOMAIN\username, username@domain.com) are presented from the client. I solved it by creating an internal attribute "AD-sAMAccountName" and configuring the LDAP module to look up the sAMAccountName of the computer/user. This "normalizes" the format of usernames. I call ntlm_auth with the AD-sAMAccountName attribute and specify our domain name. On Mon, Apr 3, 2023 at 11:10 AM Alan DeKok <aland@deployingradius.com> wrote:
On Apr 3, 2023, at 11:43 AM, Tim ODriscoll < tim.odriscoll@lambrookschool.co.uk> wrote:
And with mschap: radtest -t mschap tim.odriscoll MYPASSWD localhost 10 testing123 (1) authenticate { (1) mschap: Client is using MS-CHAPv1 with NT-Password (1) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{%{mschap:User-Name}:-00} --allow-mschapv2 --domain=MYDOMAIN --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}: (1) mschap: EXPAND --username=%{%{mschap:User-Name}:-00} (1) mschap: --> --username=tim.odriscoll (1) mschap: mschap1: 84 (1) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00} (1) mschap: --> --challenge=84b5ae5ac964eb2c (1) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00} (1) mschap: --> --nt-response=da7a0095a13df2402e71c6c167eef1f1ae48514b721fa091 (1) mschap: ERROR: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)' (1) mschap: External script failed (1) mschap: ERROR: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d) (1) mschap: ERROR: MS-CHAP2-Response is incorrect (1) [mschap] = reject
I will try and dig out the samba logs..
That's the best bet.
We know FR is doing the various NT hash calculations correctly. And passing that to ntlm_auth.
My only remaining guess here is that Samba / AD isn't permitting ntlm / mschap authentication.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- *Tony Skalski (he/him/his)* System Administrator | IT Office: 507-786-3227 <(507)786-3227> 1510 St. Olaf Avenue Northfield, MN 55057 stolaf.edu
My only remaining guess here is that Samba / AD isn't permitting ntlm / mschap authentication.
I've narrowed down the authenticating DC, turned up logging and found this: ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user tim.odriscoll ntlm_password_check: NEITHER LanMan nor NT password supplied for user tim.odriscoll I've got this on all my DC's /etc/samba/smb.conf files: ntlm auth = mschapv2-and-ntlmv2-only So, am I correct in thinking that the ntlm_auth client is not using ntlmv2? My ntlm_auth debug in FR is (using --allow-mschapv2): (21) authenticate { (21) mschap: Client is using MS-CHAPv1 with NT-Password (21) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{%{mschap:User-Name}:-00} --allow-mschapv2 --domain=lambrook --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}: (21) mschap: EXPAND --username=%{%{mschap:User-Name}:-00} (21) mschap: --> --username=tim.odriscoll (21) mschap: mschap1: 39 (21) mschap: EXPAND --challenge=%{%{mschap:Challenge}:-00} (21) mschap: --> --challenge=3985fc5b9031d694 (21) mschap: EXPAND --nt-response=%{%{mschap:NT-Response}:-00} (21) mschap: --> --nt-response=32f3fe95ffa414578c60e77fca9f28af183055a5f46f262d Perhaps '--allow-mschapv2' doesn't actually mean 'use-mschapv2', only allow it if the client sends it to FR? Thank you, Tim
Dear All, Embarrassingly, restarting the Samba AD service on the DC my FR box chose to authenticate against has solved the issue. I suspect that the 'smbcontrol all reload-config' command for Samba was not reloading the ntlm parameters, so reloading the whole service (systemctl restart sernet-samba-ad) was necessary. I've now got my test laptop joined to the wifi on the correct VLAN using it's machine name! Excellent! I'll now tidy up my config files and work on getting BYOD going.. Thank you all for your patience, Tim
participants (5)
-
Alan DeKok -
Brian Julin -
Kristofer Hallin -
Tim ODriscoll -
Tony Skalski