Hi all I would be grateful for some pointers with an issue I am experiencing at a customer's site. I need to strip the domain part of the username that users are authenticating with. For example, a user will type in bob@example.com during authentication to the wireless network, but the username at the backend in the directory system is just 'bob'. I know that this is a common request of freeradius and I have tried to configure it in the conf files, but clearly I am not doing something correctly. I can't seem to get the 'Stripped-User-Name' to be used where I expect it. If someone can prod me in the right direction, I'd really appreciate it. The actual domain name in the below text has been replaced with example.co.uk. sh-3.2# radiusd -X radiusd: FreeRADIUS Version 2.2.9, for host i386-apple-darwin13.0, built on Sep 15 2016 at 12:27:36 Copyright (C) 1999-2015 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 configuration file /Library/Server/radius/raddb/radiusd.conf including configuration file /Library/Server/radius/raddb/proxy.conf including configuration file /Library/Server/radius/raddb/clients.conf including files in directory /Library/Server/radius/raddb/modules/ including configuration file /Library/Server/radius/raddb/modules/acct_unique including configuration file /Library/Server/radius/raddb/modules/always including configuration file /Library/Server/radius/raddb/modules/attr_filter including configuration file /Library/Server/radius/raddb/modules/attr_rewrite including configuration file /Library/Server/radius/raddb/modules/cache including configuration file /Library/Server/radius/raddb/modules/chap including configuration file /Library/Server/radius/raddb/modules/checkval including configuration file /Library/Server/radius/raddb/modules/counter including configuration file /Library/Server/radius/raddb/modules/cui including configuration file /Library/Server/radius/raddb/modules/detail including configuration file /Library/Server/radius/raddb/modules/ detail.example.com including configuration file /Library/Server/radius/raddb/modules/detail.log including configuration file /Library/Server/radius/raddb/modules/dhcp_sqlippool including configuration file /Library/Server/radius/raddb/sql/mysql/ippool-dhcp.conf including configuration file /Library/Server/radius/raddb/modules/digest including configuration file /Library/Server/radius/raddb/modules/dynamic_clients including configuration file /Library/Server/radius/raddb/modules/echo including configuration file /Library/Server/radius/raddb/modules/etc_group including configuration file /Library/Server/radius/raddb/modules/exec including configuration file /Library/Server/radius/raddb/modules/expiration including configuration file /Library/Server/radius/raddb/modules/expr including configuration file /Library/Server/radius/raddb/modules/files including configuration file /Library/Server/radius/raddb/modules/inner-eap including configuration file /Library/Server/radius/raddb/modules/ippool including configuration file /Library/Server/radius/raddb/modules/krb5 including configuration file /Library/Server/radius/raddb/modules/ldap including configuration file /Library/Server/radius/raddb/modules/linelog including configuration file /Library/Server/radius/raddb/modules/logintime including configuration file /Library/Server/radius/raddb/modules/mac2ip including configuration file /Library/Server/radius/raddb/modules/mac2vlan including configuration file /Library/Server/radius/raddb/modules/mschap including configuration file /Library/Server/radius/raddb/modules/ntlm_auth including configuration file /Library/Server/radius/raddb/modules/opendirectory including configuration file /Library/Server/radius/raddb/modules/otp including configuration file /Library/Server/radius/raddb/modules/pam including configuration file /Library/Server/radius/raddb/modules/pap including configuration file /Library/Server/radius/raddb/modules/passwd including configuration file /Library/Server/radius/raddb/modules/perl including configuration file /Library/Server/radius/raddb/modules/policy including configuration file /Library/Server/radius/raddb/modules/preprocess including configuration file /Library/Server/radius/raddb/modules/radrelay including configuration file /Library/Server/radius/raddb/modules/radutmp including configuration file /Library/Server/radius/raddb/modules/realm including configuration file /Library/Server/radius/raddb/modules/redis including configuration file /Library/Server/radius/raddb/modules/rediswho including configuration file /Library/Server/radius/raddb/modules/replicate including configuration file /Library/Server/radius/raddb/modules/smbpasswd including configuration file /Library/Server/radius/raddb/modules/smsotp including configuration file /Library/Server/radius/raddb/modules/soh including configuration file /Library/Server/radius/raddb/modules/sql_log including configuration file /Library/Server/radius/raddb/modules/sqlcounter_expire_on_login including configuration file /Library/Server/radius/raddb/modules/sradutmp including configuration file /Library/Server/radius/raddb/modules/unix including configuration file /Library/Server/radius/raddb/modules/wimax including configuration file /Library/Server/radius/raddb/eap.conf including configuration file /Library/Server/radius/raddb/sql.conf including configuration file /Library/Server/radius/raddb/sql/sqlite/dialup.conf including configuration file /Library/Server/radius/raddb/policy.conf including files in directory /Library/Server/radius/raddb/sites-enabled/ including configuration file /Library/Server/radius/raddb/sites-enabled/control-socket including configuration file /Library/Server/radius/raddb/sites-enabled/default including configuration file /Library/Server/radius/raddb/sites-enabled/inner-tunnel main { allow_core_dumps = no } including dictionary file /Library/Server/radius/raddb/dictionary main { name = "radiusd" prefix = "/Applications/Server.app/Contents/ServerRoot/usr" localstatedir = "/private/var" sbindir = "/Applications/Server.app/Contents/ServerRoot/usr/sbin" logdir = "/private/var/log/radius" run_dir = "/private/var" libdir = "/Applications/Server.app/Contents/ServerRoot/usr/lib/freeradius" radacctdir = "/private/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/private/var/radiusd.pid" checkrad = "/Applications/Server.app/Contents/ServerRoot/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = yes auth_badpass = yes auth_goodpass = yes } security { max_attributes = 200 reject_delay = 1 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 { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = "testing123" response_window = 20 max_outstanding = 65536 require_message_authenticator = yes zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm example.co.uk { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = "testing123" nastype = "other" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating module "exec" from file /Library/Server/radius/raddb/modules/exec exec { wait = no input_pairs = "request" shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating module "expr" from file /Library/Server/radius/raddb/modules/expr Module: Linked to module rlm_expiration Module: Instantiating module "expiration" from file /Library/Server/radius/raddb/modules/expiration expiration { reply-message = "Password Has Expired " } Module: Linked to module rlm_logintime Module: Instantiating module "logintime" from file /Library/Server/radius/raddb/modules/logintime logintime { reply-message = "You are calling outside your allowed timespan " minimum-timeout = 60 } Module: Linked to module rlm_sql Module: Instantiating module "sql" from file /Library/Server/radius/raddb/sql.conf sql { driver = "rlm_sql_sqlite" server = "localhost" port = "" login = "radius" password = "radpass" radius_db = "radius" read_groups = yes sqltrace = no sqltracefile = "/private/var/log/radius/sqltrace.sql" readclients = yes deletestalesessions = yes num_sql_socks = 5 lifetime = 0 max_queries = 0 sql_user_name = "%{User-Name}" default_user_profile = "" nas_query = "SELECT id,nasname,shortname,type,secret FROM nas" authorize_check_query = "" authorize_group_check_query = "" authorize_group_reply_query = "" accounting_onoff_query = "" accounting_update_query = "" accounting_update_query_alt = "" accounting_start_query = "" accounting_start_query_alt = "" accounting_stop_query = "" accounting_stop_query_alt = "" connect_failure_retry_delay = 60 simul_count_query = "" simul_verify_query = "" postauth_query = "" safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" } rlm_sql (sql): Driver rlm_sql_sqlite (module rlm_sql_sqlite) loaded and linked rlm_sql (sql): Attempting to connect to radius@localhost:/radius rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_sqlite #0 rlm_sql_sqlite: Opening sqlite database /Library/Server/radius/raddb/sqlite_radius_client_database for #0 rlm_sql_sqlite: sqlite3_open() = 0 rlm_sql (sql): Connected new DB handle, #0 rlm_sql (sql): starting 1 rlm_sql (sql): Attempting to connect rlm_sql_sqlite #1 rlm_sql_sqlite: Opening sqlite database /Library/Server/radius/raddb/sqlite_radius_client_database for #1 rlm_sql_sqlite: sqlite3_open() = 0 rlm_sql (sql): Connected new DB handle, #1 rlm_sql (sql): starting 2 rlm_sql (sql): Attempting to connect rlm_sql_sqlite #2 rlm_sql_sqlite: Opening sqlite database /Library/Server/radius/raddb/sqlite_radius_client_database for #2 rlm_sql_sqlite: sqlite3_open() = 0 rlm_sql (sql): Connected new DB handle, #2 rlm_sql (sql): starting 3 rlm_sql (sql): Attempting to connect rlm_sql_sqlite #3 rlm_sql_sqlite: Opening sqlite database /Library/Server/radius/raddb/sqlite_radius_client_database for #3 rlm_sql_sqlite: sqlite3_open() = 0 rlm_sql (sql): Connected new DB handle, #3 rlm_sql (sql): starting 4 rlm_sql (sql): Attempting to connect rlm_sql_sqlite #4 rlm_sql_sqlite: Opening sqlite database /Library/Server/radius/raddb/sqlite_radius_client_database for #4 rlm_sql_sqlite: sqlite3_open() = 0 rlm_sql (sql): Connected new DB handle, #4 rlm_sql (sql): Processing generate_sql_clients rlm_sql (sql) in generate_sql_clients: query is SELECT id,nasname,shortname,type,secret FROM nas rlm_sql (sql): Reserving sql socket id: 4 rlm_sql_sqlite: sqlite3_prepare() = 0 rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.126,shortname=SCH-WAP-02,secret=testing123 rlm_sql (sql): Adding client 10.40.92.126 (SCH-WAP-02, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.127,shortname=SCH-WAP-01,secret=testing123 rlm_sql (sql): Adding client 10.40.92.127 (SCH-WAP-01, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.125,shortname=SCH-WAP-03,secret=testing123 rlm_sql (sql): Adding client 10.40.92.125 (SCH-WAP-03, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.179,shortname=Test-SG300,secret=testing123 rlm_sql (sql): Adding client 10.40.92.179 (Test-SG300, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.121,shortname=SCH-SWI-04-T13,secret=testing123 rlm_sql (sql): Adding client 10.40.92.121 (SCH-SWI-04-T13, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.122,shortname=SCH-SWI-03-T12,secret=testing123 rlm_sql (sql): Adding client 10.40.92.122 (SCH-SWI-03-T12, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.124,shortname=SCH-SWI-01-T11,secret=testing123 rlm_sql (sql): Adding client 10.40.92.124 (SCH-SWI-01-T11, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.123,shortname=SCH-SWI-02-T12,secret=testing123 rlm_sql (sql): Adding client 10.40.92.123 (SCH-SWI-02-T12, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname= 192.168.236.32/28,shortname=clearpass,secret=HHNueA8LTj rlm_sql (sql): Adding client 192.168.236.32 (clearpass, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 100 rlm_sql (sql): Read entry nasname=10.40.92.251,shortname=nana,secret=HHNueA8LTj rlm_sql (sql): Adding client 10.40.92.251 (nana, server=<none>) to clients list rlm_sql_sqlite: sqlite3_step = 101 rlm_sql_sqlite: sqlite3_finalize() = 0 rlm_sql (sql): Released sql socket id: 4 } radiusd: #### Loading Virtual Servers #### server { # from file /Library/Server/radius/raddb/radiusd.conf modules { Module: Creating Auth-Type = digest Module: Creating Auth-Type = opendirectory Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating module "pap" from file /Library/Server/radius/raddb/modules/pap pap { encryption_scheme = "auto" auto_header = no } Module: Linked to module rlm_chap Module: Instantiating module "chap" from file /Library/Server/radius/raddb/modules/chap Module: Linked to module rlm_mschap Module: Instantiating module "mschap" from file /Library/Server/radius/raddb/modules/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = no allow_retry = yes use_open_directory = yes } Module: Linked to module rlm_digest Module: Instantiating module "digest" from file /Library/Server/radius/raddb/modules/digest Module: Linked to module rlm_opendirectory Module: Instantiating module "opendirectory" from file /Library/Server/radius/raddb/modules/opendirectory Module: Linked to module rlm_unix Module: Instantiating module "unix" from file /Library/Server/radius/raddb/modules/unix unix { radwtmp = "/private/var/log/radius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating module "eap" from file /Library/Server/radius/raddb/eap.conf eap { default_eap_type = "ttls" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 4096 } Module: Linked to sub-module rlm_eap_md5 Module: Instantiating eap-md5 Module: Linked to sub-module rlm_eap_leap Module: Instantiating eap-leap Module: Linked to sub-module rlm_eap_gtc Module: Instantiating eap-gtc gtc { challenge = "Password: " auth_type = "PAP" } Module: Linked to sub-module rlm_eap_tls Module: Instantiating eap-tls tls { rsa_key_exchange = no dh_key_exchange = yes rsa_key_length = 512 dh_key_length = 512 verify_depth = 0 CA_path = "/Library/Server/radius/raddb/certs" pem_file_type = yes private_key_file = "/Library/Server/radius/raddb/certs/server.key" certificate_file = "/Library/Server/radius/raddb/certs/server.crt" CA_file = "/Library/Server/radius/raddb/certs/server.crt" private_key_password = "whatever" dh_file = "/Library/Server/radius/raddb/certs/dh" random_file = "/Library/Server/radius/raddb/certs/random" fragment_size = 1024 include_length = yes check_crl = no check_all_crl = no cipher_list = "DEFAULT" make_cert_command = "/Library/Server/radius/raddb/certs/bootstrap" ecdh_curve = "prime256v1" cache { enable = no lifetime = 24 max_entries = 255 } verify { } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } Module: Linked to sub-module rlm_eap_ttls Module: Instantiating eap-ttls ttls { default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes } Module: Linked to sub-module rlm_eap_peap Module: Instantiating eap-peap peap { 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 } Module: Linked to sub-module rlm_eap_mschapv2 Module: Instantiating eap-mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating module "preprocess" from file /Library/Server/radius/raddb/modules/preprocess preprocess { huntgroups = "/Library/Server/radius/raddb/huntgroups" hints = "/Library/Server/radius/raddb/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 } reading pairlist file /Library/Server/radius/raddb/huntgroups reading pairlist file /Library/Server/radius/raddb/hints Module: Linked to module rlm_realm Module: Instantiating module "suffix" from file /Library/Server/radius/raddb/modules/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } Module: Linked to module rlm_files Module: Instantiating module "files" from file /Library/Server/radius/raddb/modules/files files { usersfile = "/Library/Server/radius/raddb/users" acctusersfile = "/Library/Server/radius/raddb/acct_users" preproxy_usersfile = "/Library/Server/radius/raddb/preproxy_users" compat = "no" } reading pairlist file /Library/Server/radius/raddb/users reading pairlist file /Library/Server/radius/raddb/acct_users reading pairlist file /Library/Server/radius/raddb/preproxy_users Module: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating module "acct_unique" from file /Library/Server/radius/raddb/modules/acct_unique acct_unique { key = "User-Name, Acct-Session-Id, NAS-IP-Address, NAS-Identifier, NAS-Port" } Module: Checking accounting {...} for more modules to load Module: Linked to module rlm_detail Module: Instantiating module "detail" from file /Library/Server/radius/raddb/modules/detail detail { detailfile = "/private/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" detailperm = 384 dirperm = 493 locking = no log_packet_header = no escape_filenames = no } Module: Linked to module rlm_attr_filter Module: Instantiating module "attr_filter.accounting_response" from file /Library/Server/radius/raddb/modules/attr_filter attr_filter attr_filter.accounting_response { attrsfile = "/Library/Server/radius/raddb/attrs.accounting_response" key = "%{User-Name}" relaxed = no } reading pairlist file /Library/Server/radius/raddb/attrs.accounting_response Module: Checking session {...} for more modules to load Module: Linked to module rlm_radutmp Module: Instantiating module "radutmp" from file /Library/Server/radius/raddb/modules/radutmp radutmp { filename = "/private/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes perm = 384 callerid = yes } Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load Module: Instantiating module "attr_filter.access_reject" from file /Library/Server/radius/raddb/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/Library/Server/radius/raddb/attrs.access_reject" key = "%{User-Name}" relaxed = no } reading pairlist file /Library/Server/radius/raddb/attrs.access_reject } # modules } # server server inner-tunnel { # from file /Library/Server/radius/raddb/sites-enabled/inner-tunnel modules { Module: Checking authenticate {...} for more modules to load Module: Checking authorize {...} for more modules to load Module: Checking session {...} for more modules to load Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load } # modules } # server radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 } listen { type = "acct" ipaddr = * port = 0 } listen { type = "control" listen { socket = "/private/var/radiusd.sock" } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } ... adding new socket proxy address * port 53788 Listening on authentication address * port 1812 Listening on accounting address * port 1813 Listening on command file /private/var/radiusd.sock Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel Listening on proxy address * port 1814 Ready to process requests. rad_recv: Access-Request packet from host 192.168.236.44 port 1815, id=240, length=225 User-Name = "radiustest@example.co.uk" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02010022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0xcb3673c30e1a008614b794492d7bdc13 Proxy-State = 0x3230 # Executing section authorize from file /Library/Server/radius/raddb/sites-enabled/default +group authorize { ++[preprocess] = ok ++[chap] = noop ++[mschap] = noop ++[digest] = noop [suffix] Looking up realm "example.co.uk" for User-Name = " radiustest@example.co.uk" [suffix] Found realm "example.co.uk" [suffix] Adding Stripped-User-Name = "radiustest" [suffix] Adding Realm = "example.co.uk" [suffix] Proxying request from user radiustest to realm example.co.uk [suffix] Preparing to proxy authentication request to realm "example.co.uk" ++[suffix] = updated [eap] Request is supposed to be proxied to Realm example.co.uk. Not doing EAP. ++[eap] = noop ++[files] = noop [opendirectory] The host 192.168.236.44 does not have an access group. [opendirectory] User radiustest exists in OD [opendirectory] User radiustest is a member of the RADUIS SACL [opendirectory] Setting Auth-Type = opendirectory ++[opendirectory] = ok ++[expiration] = noop ++[logintime] = noop ++[pap] = noop +} # group authorize = updated WARNING: Empty pre-proxy section. Using default return values. Sending Access-Request of id 175 to 127.0.0.1 port 1812 User-Name = "radiustest" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02010022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3230 Proxy-State = 0x323430 Proxying request 0 to home server 127.0.0.1 port 1812 Sending Access-Request of id 175 to 127.0.0.1 port 1812 User-Name = "radiustest" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02010022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3230 Proxy-State = 0x323430 Going to the next request Waking up in 0.9 seconds. rad_recv: Access-Request packet from host 127.0.0.1 port 1814, id=175, length=211 User-Name = "radiustest" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02010022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0x3501877b8486b13298815dbd61d54947 Proxy-State = 0x3230 Proxy-State = 0x323430 # Executing section authorize from file /Library/Server/radius/raddb/sites-enabled/default +group authorize { ++[preprocess] = ok ++[chap] = noop ++[mschap] = noop ++[digest] = noop [suffix] No '@' in User-Name = "radiustest", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] = noop [eap] EAP packet type response id 1 length 34 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] = updated ++[files] = noop [opendirectory] The host 127.0.0.1 does not have an access group. [opendirectory] User radiustest exists in OD [opendirectory] User radiustest is a member of the RADUIS SACL ++[opendirectory] = ok ++[expiration] = noop ++[logintime] = noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] = noop +} # group authorize = updated Found Auth-Type = EAP # Executing group from file /Library/Server/radius/raddb/sites-enabled/default +group authenticate { [eap] Identity (radiustest@example.co.uk) does not match User-Name (radiustest). Authentication failed. [eap] Failed in handler ++[eap] = invalid +} # group authenticate = invalid Failed to authenticate the user. Login incorrect: [radiustest/<via Auth-Type = EAP>] (from client localhost port 0 cli 109ADDC49B75) Using Post-Auth-Type Reject # Executing group from file /Library/Server/radius/raddb/sites-enabled/default +group REJECT { ++? if ("%{EAP-Message}") expand: %{EAP-Message} -> 0x02010022017261646975737465737440676f73682e63616d64656e2e7363682e756b ? Evaluating ("%{EAP-Message}") -> TRUE ++? if ("%{EAP-Message}") -> TRUE ++if ("%{EAP-Message}") { +++update reply { expand: %{Message-Authenticator} -> 0x3501877b8486b13298815dbd61d54947 +++} # update reply = noop ++} # if ("%{EAP-Message}") = noop [attr_filter.access_reject] expand: %{User-Name} -> radiustest attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] = updated +} # group REJECT = updated Delaying reject of request 1 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 1 Sending Access-Reject of id 175 to 127.0.0.1 port 1814 Proxy-State = 0x3230 Proxy-State = 0x323430 EAP-Message = 0x04040004 Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 4.9 seconds. rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=175, length=53 Proxy-State = 0x3230 Proxy-State = 0x323430 EAP-Message = 0x04040004 Message-Authenticator = 0xe9f8dcb50c101f38f7426e72c427df74 # Executing section post-proxy from file /Library/Server/radius/raddb/sites-enabled/default +group post-proxy { [eap] No pre-existing handler found ++[eap] = noop +} # group post-proxy = noop Login incorrect (Home Server says so): [radiustest@example.co.uk/<via Auth-Type = opendirectory>] (from client clearpass port 0 cli 109ADDC49B75) Using Post-Auth-Type Reject # Executing group from file /Library/Server/radius/raddb/sites-enabled/default +group REJECT { ++? if ("%{EAP-Message}") expand: %{EAP-Message} -> 0x02010022017261646975737465737440676f73682e63616d64656e2e7363682e756b ? Evaluating ("%{EAP-Message}") -> TRUE ++? if ("%{EAP-Message}") -> TRUE ++if ("%{EAP-Message}") { +++update reply { expand: %{Message-Authenticator} -> 0xcb3673c30e1a008614b794492d7bdc13 +++} # update reply = noop ++} # if ("%{EAP-Message}") = noop [attr_filter.access_reject] expand: %{User-Name} -> radiustest@example.co.uk attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] = updated +} # group REJECT = updated Sending Access-Reject of id 240 to 192.168.236.44 port 1815 EAP-Message = 0x04040004 Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3230 Finished request 0. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 192.168.236.44 port 1815, id=241, length=225 User-Name = "radiustest@example.co.uk" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02020022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0xf8eff948324a373824b6eeb749b7a675 Proxy-State = 0x3231 # Executing section authorize from file /Library/Server/radius/raddb/sites-enabled/default +group authorize { ++[preprocess] = ok ++[chap] = noop ++[mschap] = noop ++[digest] = noop [suffix] Looking up realm "example.co.uk" for User-Name = " radiustest@example.co.uk" [suffix] Found realm "example.co.uk" [suffix] Adding Stripped-User-Name = "radiustest" [suffix] Adding Realm = "example.co.uk" [suffix] Proxying request from user radiustest to realm example.co.uk [suffix] Preparing to proxy authentication request to realm "example.co.uk" ++[suffix] = updated [eap] Request is supposed to be proxied to Realm example.co.uk. Not doing EAP. ++[eap] = noop ++[files] = noop [opendirectory] The host 192.168.236.44 does not have an access group. [opendirectory] User radiustest exists in OD [opendirectory] User radiustest is a member of the RADUIS SACL [opendirectory] Setting Auth-Type = opendirectory ++[opendirectory] = ok ++[expiration] = noop ++[logintime] = noop ++[pap] = noop +} # group authorize = updated WARNING: Empty pre-proxy section. Using default return values. Sending Access-Request of id 193 to 127.0.0.1 port 1812 User-Name = "radiustest" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02020022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3231 Proxy-State = 0x323431 Proxying request 2 to home server 127.0.0.1 port 1812 Sending Access-Request of id 193 to 127.0.0.1 port 1812 User-Name = "radiustest" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02020022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3231 Proxy-State = 0x323431 Going to the next request Waking up in 0.9 seconds. rad_recv: Access-Request packet from host 127.0.0.1 port 1814, id=193, length=211 User-Name = "radiustest" NAS-IP-Address = 192.168.236.28 NAS-Port = 0 NAS-Identifier = "192.168.236.26" NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "109ADDC49B75" Called-Station-Id = "001A1E04AB58" Service-Type = Framed-User Framed-MTU = 1100 EAP-Message = 0x02020022017261646975737465737440676f73682e63616d64656e2e7363682e756b Aruba-Essid-Name = "school" Aruba-Location-Id = "ICT-TEST" Aruba-AP-Group = "test" Message-Authenticator = 0xebdffca338692d279cfd1828df9606fe Proxy-State = 0x3231 Proxy-State = 0x323431 # Executing section authorize from file /Library/Server/radius/raddb/sites-enabled/default +group authorize { ++[preprocess] = ok ++[chap] = noop ++[mschap] = noop ++[digest] = noop [suffix] No '@' in User-Name = "radiustest", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] = noop [eap] EAP packet type response id 2 length 34 [eap] No EAP Start, assuming it's an on-going EAP conversation ++[eap] = updated ++[files] = noop [opendirectory] The host 127.0.0.1 does not have an access group. [opendirectory] User radiustest exists in OD [opendirectory] User radiustest is a member of the RADUIS SACL ++[opendirectory] = ok ++[expiration] = noop ++[logintime] = noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] = noop +} # group authorize = updated Found Auth-Type = EAP # Executing group from file /Library/Server/radius/raddb/sites-enabled/default +group authenticate { [eap] Identity (radiustest@example.co.uk) does not match User-Name (radiustest). Authentication failed. [eap] Failed in handler ++[eap] = invalid +} # group authenticate = invalid Failed to authenticate the user. Login incorrect: [radiustest/<via Auth-Type = EAP>] (from client localhost port 0 cli 109ADDC49B75) Using Post-Auth-Type Reject # Executing group from file /Library/Server/radius/raddb/sites-enabled/default +group REJECT { ++? if ("%{EAP-Message}") expand: %{EAP-Message} -> 0x02020022017261646975737465737440676f73682e63616d64656e2e7363682e756b ? Evaluating ("%{EAP-Message}") -> TRUE ++? if ("%{EAP-Message}") -> TRUE ++if ("%{EAP-Message}") { +++update reply { expand: %{Message-Authenticator} -> 0xebdffca338692d279cfd1828df9606fe +++} # update reply = noop ++} # if ("%{EAP-Message}") = noop [attr_filter.access_reject] expand: %{User-Name} -> radiustest attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] = updated +} # group REJECT = updated Delaying reject of request 3 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 3 Sending Access-Reject of id 193 to 127.0.0.1 port 1814 Proxy-State = 0x3231 Proxy-State = 0x323431 EAP-Message = 0x04040004 Message-Authenticator = 0x00000000000000000000000000000000 rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=193, length=53 Proxy-State = 0x3231 Proxy-State = 0x323431 EAP-Message = 0x04040004 Message-Authenticator = 0xee1e8865c1c3badd0ed55be65dc5dbe9 # Executing section post-proxy from file /Library/Server/radius/raddb/sites-enabled/default +group post-proxy { [eap] No pre-existing handler found ++[eap] = noop +} # group post-proxy = noop Login incorrect (Home Server says so): [radiustest@example.co.uk/<via Auth-Type = opendirectory>] (from client clearpass port 0 cli 109ADDC49B75) Using Post-Auth-Type Reject # Executing group from file /Library/Server/radius/raddb/sites-enabled/default +group REJECT { ++? if ("%{EAP-Message}") expand: %{EAP-Message} -> 0x02020022017261646975737465737440676f73682e63616d64656e2e7363682e756b ? Evaluating ("%{EAP-Message}") -> TRUE ++? if ("%{EAP-Message}") -> TRUE ++if ("%{EAP-Message}") { +++update reply { expand: %{Message-Authenticator} -> 0xf8eff948324a373824b6eeb749b7a675 +++} # update reply = noop ++} # if ("%{EAP-Message}") = noop [attr_filter.access_reject] expand: %{User-Name} -> radiustest@example.co.uk attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] = updated +} # group REJECT = updated Sending Access-Reject of id 241 to 192.168.236.44 port 1815 EAP-Message = 0x04040004 Message-Authenticator = 0x00000000000000000000000000000000 Proxy-State = 0x3231 Finished request 2. Going to the next request Cleaning up request 1 ID 175 with timestamp +43 Cleaning up request 0 ID 240 with timestamp +43 Waking up in 4.9 seconds. Thank you Stuart -- Crossover Solutions Ltd Pound House, 62A Highgate High Street, London, N6 5HX www.crossover.solutions <http://crossover.solutions> • 020 3637 4655 Registered in England and Wales No: 9593204 Registered address as stated Members of the Apple Consultants Network <https://consultants.apple.com/uk/988258> Please submit new support requests to support@crossover.solutions <mailto:support@crossover.solutions>