freeradius vlan assigment with two ldap group
Zenon Matuszyk
zenon.matuszyk at networkers.pl
Fri Sep 15 14:28:59 CEST 2017
I probably resolv this problem with warning, but user login and is
thrown in to vlan 200 and can't see where is problem.
Below debug with login
freeradius: FreeRADIUS Version 2.2.5, for host x86_64-pc-linux-gnu,
built on Aug 10 2017 at 07:25:15
Copyright (C) 1999-2013 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 /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/modules/
including configuration file /etc/freeradius/modules/attr_filter
including configuration file /etc/freeradius/modules/pap
including configuration file /etc/freeradius/modules/radrelay
including configuration file /etc/freeradius/modules/mschap
including configuration file /etc/freeradius/modules/etc_group
including configuration file /etc/freeradius/modules/sradutmp
including configuration file /etc/freeradius/modules/detail.example.com
including configuration file /etc/freeradius/modules/ippool
including configuration file /etc/freeradius/modules/always
including configuration file /etc/freeradius/modules/rediswho
including configuration file /etc/freeradius/modules/smsotp
including configuration file /etc/freeradius/modules/chap
including configuration file /etc/freeradius/modules/exec
including configuration file /etc/freeradius/modules/replicate
including configuration file /etc/freeradius/modules/attr_rewrite
including configuration file /etc/freeradius/modules/checkval
including configuration file /etc/freeradius/modules/krb5
including configuration file /etc/freeradius/modules/smbpasswd
including configuration file
/etc/freeradius/modules/sqlcounter_expire_on_login
including configuration file /etc/freeradius/modules/counter
including configuration file /etc/freeradius/modules/detail
including configuration file /etc/freeradius/modules/inner-eap
including configuration file /etc/freeradius/modules/realm
including configuration file /etc/freeradius/modules/sql_log
including configuration file /etc/freeradius/modules/perl
including configuration file /etc/freeradius/modules/redis
including configuration file /etc/freeradius/modules/passwd
including configuration file /etc/freeradius/modules/radutmp
including configuration file /etc/freeradius/modules/digest
including configuration file /etc/freeradius/modules/preprocess
including configuration file /etc/freeradius/modules/ntlm_auth
including configuration file /etc/freeradius/modules/mac2vlan
including configuration file /etc/freeradius/modules/detail.log
including configuration file /etc/freeradius/modules/policy
including configuration file /etc/freeradius/modules/acct_unique
including configuration file /etc/freeradius/modules/dhcp_sqlippool
including configuration file /etc/freeradius/modules/dynamic_clients
including configuration file /etc/freeradius/modules/mac2ip
including configuration file /etc/freeradius/modules/soh
including configuration file /etc/freeradius/modules/ldap
including configuration file /etc/freeradius/modules/wimax
including configuration file /etc/freeradius/modules/expiration
including configuration file /etc/freeradius/modules/pam
including configuration file /etc/freeradius/modules/logintime
including configuration file /etc/freeradius/modules/files
including configuration file /etc/freeradius/modules/cache
including configuration file /etc/freeradius/modules/unix
including configuration file /etc/freeradius/modules/echo
including configuration file /etc/freeradius/modules/otp
including configuration file /etc/freeradius/modules/opendirectory
including configuration file /etc/freeradius/modules/expr
including configuration file /etc/freeradius/modules/cui
including configuration file /etc/freeradius/modules/linelog
including configuration file /etc/freeradius/eap.conf
including configuration file /etc/freeradius/policy.conf
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/default.orig
main {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
including dictionary file /etc/freeradius/dictionary
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
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 radius149.156.XXX {
ipaddr = 149.156.XXX
port = 1812
type = "auth"
secret = "Cg"
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 = 300
status_check_timeout = 4
}
home_server radius149.156.XXX {
ipaddr = 149.156.XXX
port = 1812
type = "auth"
secret = "diajWog"
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 = 300
status_check_timeout = 4
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
no_response_fail = no
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
}
}
realm NULL {
}
realm LOCAL {
}
realm mydomain.com {
authhost = LOCAL
accthost = LOCAL
}
home_server_pool CYFRONET_pool {
type = fail-over
home_server = radius149.156.XXXX
}
realm DEFAULT {
auth_pool = CYFRONET_pool
nostrip
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
netmask = 32
require_message_authenticator = no
secret = "testing123"
shortname = "localhost"
nastype = "other"
}
client 10.24.100.41 {
ipaddr = 10.24.100.41
netmask = 32
require_message_authenticator = no
secret = "vFa3o"
nastype = "cisco"
}
client 149.156.2.40 {
require_message_authenticator = no
secret = "CyirkOWog"
nastype = "other"
}
client 149.156.2.66 {
require_message_authenticator = no
secret = "CyirkOiajWog"
nastype = "other"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file /etc/freeradius/modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file /etc/freeradius/modules/expr
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file
/etc/freeradius/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file
/etc/freeradius/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server { # from file ?
modules {
Module: Creating Auth-Type = digest
Module: Creating Auth-Type = LDAP
Module: Creating Post-Auth-Type = REJECT
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /etc/freeradius/modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file /etc/freeradius/modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file
/etc/freeradius/modules/mschap
mschap {
use_mppe = no
require_encryption = no
require_strong = no
with_ntdomain_hack = no
ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key
--username=%{%{Stripped-User-Name}:-%{User-Name:-None}}
--challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
allow_retry = yes
}
Module: Linked to module rlm_digest
Module: Instantiating module "digest" from file
/etc/freeradius/modules/digest
Module: Linked to module rlm_ldap
Module: Instantiating module "ldap" from file /etc/freeradius/modules/ldap
ldap {
server = "ldap1.ijp.pan.local"
port = 389
password = "rad--IJP--02"
expect_password = yes
identity = "cn=freeradius,ou=services,dc=ijp,dc=pan,dc=local"
net_timeout = 1
timeout = 4
timelimit = 3
max_uses = 0
tls_mode = no
start_tls = no
tls_require_cert = "allow"
tls {
start_tls = no
require_cert = "allow"
}
basedn = "dc=ijp,dc=pan,dc=local"
filter = "(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}})"
base_filter = "(objectclass=radiusprofile)"
auto_header = no
access_attr_used_for_allow = yes
chase_referrals = yes
rebind = yes
groupname_attribute = "cn"
groupmembership_filter =
"(|(&(objectClass=GroupOfNames)(member=%{control:Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{control:Ldap-UserDn})))"
groupmembership_attribute = "memberOf"
dictionary_mapping = "/etc/freeradius/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
edir_account_policy_check = no
set_auth_type = yes
keepalive {
idle = 60
probes = 3
interval = 3
}
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: reading ldap<->radius mappings from file
/etc/freeradius/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP userPassword mapped to RADIUS Password-With-Header
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS
Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS
Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS
Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS
Tunnel-Private-Group-Id
conns: 0x11ecd60
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file /etc/freeradius/eap.conf
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 1024
}
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 = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/server.key"
certificate_file = "/etc/freeradius/certs/server.pem"
CA_file = "/etc/freeradius/certs/ca.pem"
private_key_password = "si7ys4mxs984mxksj4oi"
dh_file = "/etc/freeradius/certs/dh"
random_file = "/dev/urandom"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/freeradius/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 = "md5"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
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 = yes
use_tunneled_reply = yes
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
/etc/freeradius/modules/preprocess
preprocess {
huntgroups = "/etc/freeradius/huntgroups"
hints = "/etc/freeradius/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 /etc/freeradius/huntgroups
reading pairlist file /etc/freeradius/hints
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file
/etc/freeradius/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
/etc/freeradius/modules/files
files {
usersfile = "/etc/freeradius/users"
acctusersfile = "/etc/freeradius/acct_users"
preproxy_usersfile = "/etc/freeradius/preproxy_users"
compat = "no"
}
reading pairlist file /etc/freeradius/users
reading pairlist file /etc/freeradius/acct_users
reading pairlist file /etc/freeradius/preproxy_users
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file
/etc/freeradius/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
/etc/freeradius/modules/detail
detail {
detailfile =
"/var/log/freeradius/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
}
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file /etc/freeradius/modules/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.accounting_response" from
file /etc/freeradius/modules/attr_filter
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/freeradius/attrs.accounting_response"
key = "%{User-Name}"
relaxed = no
}
reading pairlist file /etc/freeradius/attrs.accounting_response
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file
/etc/freeradius/modules/radutmp
radutmp {
filename = "/var/log/freeradius/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
/etc/freeradius/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/etc/freeradius/attrs.access_reject"
key = "%{User-Name}"
relaxed = no
}
reading pairlist file /etc/freeradius/attrs.access_reject
} # modules
} # server
server inner-tunnel { # from file /etc/freeradius/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 = "auth"
ipaddr = 127.0.0.1
port = 18120
}
... adding new socket proxy address * port 50221
... adding new socket proxy address * port 60137
... adding new socket proxy address * port 46071
Listening on authentication address * port 1812
Listening on accounting address * port 1813
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 10.24.100.41 port 32773,
id=82, length=287
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message = 0x02020017017073697461727a40696a702e70616e2e706c
Message-Authenticator = 0x97a0cc60673521e307ecbc2c0bf94ea8
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 2 length 23
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] = updated
[files] users: Matched entry DEFAULT at line 12
++[files] = ok
[ldap] performing user authorization for psitarz
[ldap] expand: %{Stripped-User-Name} -> psitarz
[ldap] expand:
(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(sAMAccountName=psitarz)
[ldap] expand: dc=ijp,dc=pan,dc=local -> dc=ijp,dc=pan,dc=local
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] attempting LDAP reconnection
[ldap] (re)connect to ldap1.ijp.pan.local:389, authentication 0
[ldap] bind as
cn=freeradius,ou=services,dc=ijp,dc=pan,dc=local/rad--IJP--02 to
ldap1.ijp.pan.local:389
[ldap] waiting for bind result ...
[ldap] Bind was successful
[ldap] performing search in dc=ijp,dc=pan,dc=local, with filter
(sAMAccountName=psitarz)
[ldap] rebind to URL
ldap://ijp.pan.local/CN=Configuration,DC=ijp,DC=pan,DC=local
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP. Are you sure that
the user is configured correctly?
[ldap] ldap_release_conn: Release Id: 0
++[ldap] = 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 /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 82 to 10.24.100.41 port 32773
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message = 0x01030016041062751ceed5f67b3f6ccc82ce52a6b934
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a3fe7357eafacb5cefacbc437
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=83, length=288
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message = 0x020300060319
State = 0x3fe4315a3fe7357eafacb5cefacbc437
Message-Authenticator = 0x3215524e6fd6668c50be78586c01aa40
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 3 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] = updated
[files] users: Matched entry DEFAULT at line 12
++[files] = ok
[ldap] performing user authorization for psitarz
[ldap] expand: %{Stripped-User-Name} -> psitarz
[ldap] expand:
(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(sAMAccountName=psitarz)
[ldap] expand: dc=ijp,dc=pan,dc=local -> dc=ijp,dc=pan,dc=local
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=ijp,dc=pan,dc=local, with filter
(sAMAccountName=psitarz)
[ldap] rebind to URL
ldap://ijp.pan.local/CN=Configuration,DC=ijp,DC=pan,DC=local
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP. Are you sure that
the user is configured correctly?
[ldap] ldap_release_conn: Release Id: 0
++[ldap] = 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 /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 83 to 10.24.100.41 port 32773
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message = 0x010400061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a3ee0287eafacb5cefacbc437
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=84, length=395
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message =
0x0204007119800000006716030100620100005e030159bbc248ee4ff5b91976f9c30f5010976c946b6019d6d396b03f265044a7401c00001cc014c013003900330035002fc00ac00900380032000a00130005000401000019000a0006000400170018000b0002010000170000ff01000100
State = 0x3fe4315a3ee0287eafacb5cefacbc437
Message-Authenticator = 0x25cc4806fb90fe2c1a2830eed4e2eb3d
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 4 length 113
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 103
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] (other): before/accept initialization
[peap] TLS_accept: before/accept initialization
[peap] <<< TLS 1.0 Handshake [length 0062], ClientHello
[peap] TLS_accept: unknown state
[peap] >>> TLS 1.0 Handshake [length 0039], ServerHello
[peap] TLS_accept: unknown state
[peap] >>> TLS 1.0 Handshake [length 08a6], Certificate
[peap] TLS_accept: unknown state
[peap] >>> TLS 1.0 Handshake [length 014b], ServerKeyExchange
[peap] TLS_accept: unknown state
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
[peap] TLS_accept: unknown state
[peap] TLS_accept: unknown state
[peap] TLS_accept: Need to read more data: unknown state
In SSL Handshake Phase
In SSL Accept mode
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 84 to 10.24.100.41 port 32773
EAP-Message =
0x0105040019c000000a4216030100390200003503013a2142ddcbfd3480af33e7ea9b691f975cd3f9c7e9150a02c49990ac372afc2200c01400000dff01000100000b00040300010216030108a60b0008a200089f000488308204843082036ca003020102020100300d06092a864886f70d0101050500308188310b300906035504061302504c3114301206035504080c0b4d616c6f706f6c736b6965310f300d06035504070c064b72616b6f7731263024060355040a0c1d496e737479747574204a657a796b6120506f6c736b6965676f2050414e310b3009060355040b0c024954311d301b06035504030c147375626361312e696a702e70616e2e6c
EAP-Message =
0x6f63616c301e170d3137303832313131303233355a170d3332303831373131303233355a308187310b300906035504061302504c3114301206035504080c0b4d616c6f706f6c736b6965310f300d06035504070c064b72616b6f7731263024060355040a0c1d496e737479747574204a657a796b6120506f6c736b6965676f2050414e310b3009060355040b0c024954311c301a06035504030c136c646170312e696a702e70616e2e6c6f63616c30820122300d06092a864886f70d01010105000382010f003082010a0282010100bf2015679983021d7e971d84ea7c7f5ba06e4b4808b7674f687fc0880cf4635a2db718cb22982ddd8822afe970ec
EAP-Message =
0x2d745deac6e6acf21e7330b77cd86fdb28ab4e04eda8789771a6e30890e6b67c3e111bcd017b12856072c19afefc1d07fcd1a6c53e66cdd8008e8766a1e7dbce66966e07814e08c6bbc2399cae3694dba14c021b588a967cbf5e23197c8593cf28bd84f44a03ecfdfc4e34000e07e9edf676b57633787cb5c3a7b4406c8f4d535c2ffe08f5ce60756500f3887c62b1c34c1088b27de433a9aef286b914e38f6bb307d322586bb33dcd74352dfc37e28eae33f4299d5d120a521a6c691a0980a22ad63ed220331210383ee14edd24be3088b90203010001a381f73081f430090603551d1304023000302c06096086480186f842010d041f161d4f70656e
EAP-Message =
0x53534c2047656e657261746564204365727469666963617465301d0603551d0e041604143b1a3710cdf72a3288cc76cc3d5ad3e9b2384503301f0603551d23041830168014c1d62dd5cd9967b990856c18acc7f2e64f40a29c304106082b0601050507010104353033303106082b060105050730028625687474703a2f2f6b302e696a702e70616e2e6c6f63616c2f63612f7375626361312e63727430360603551d1f042f302d302ba029a0278625687474703a2f2f6b312e696a702e70616e2e6c6f63616c2f63612f7375626361312e63726c300d06092a864886f70d0101050500038201010062dae87f130c1ab3ef0acf5bd31aed2b4f524b4a84
EAP-Message = 0xaf5192d4e9d1c6301ce43d01
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a3de1287eafacb5cefacbc437
Finished request 2.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=85, length=288
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message = 0x020500061900
State = 0x3fe4315a3de1287eafacb5cefacbc437
Message-Authenticator = 0xb4b69bc4a34358c3609bced928ea731b
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 5 length 6
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 85 to 10.24.100.41 port 32773
EAP-Message =
0x010603fc1940b01e45053cb5d289d8a07c691f42babbaf4150ea36d712beb08a0c1eaa301b5df2b9d6975f9dfecbe42c847567bd961d58a520d68fb34854326b7dba525597e4ac0b1a5a66b9d677be1f5e0adfd325311af927356634a7f8aee2770898b4044daf46d89745f7262026f2e1b81caa53a4aebd5310ba988cd6364fd6b79795f38e23d047ad0af23bbcd5407317cb01b49b61eac8d67cf784948797aba3968b094cdfb93c2177da70b000f1797bf3bd979b8317daec32cd87cfa3a471d891abdacea5776581fb2416c93b2f01ba6b6728099d7e26d7974eec099035ee212077e70004113082040d308202f5a003020102020900fda7ea2091
EAP-Message =
0x83fda3300d06092a864886f70d01010505003077310b300906035504061302504c3114301206035504080c0b4d616c6f706f6c736b696531263024060355040a0c1d496e737479747574204a657a796b6120506f6c736b6965676f2050414e310b3009060355040b0c024954311d301b06035504030c14726f6f7463612e696a702e70616e2e6c6f63616c301e170d3137303832313130343434315a170d3337303831363130343434315a308188310b300906035504061302504c3114301206035504080c0b4d616c6f706f6c736b6965310f300d06035504070c064b72616b6f7731263024060355040a0c1d496e737479747574204a657a796b6120
EAP-Message =
0x506f6c736b6965676f2050414e310b3009060355040b0c024954311d301b06035504030c147375626361312e696a702e70616e2e6c6f63616c30820122300d06092a864886f70d01010105000382010f003082010a0282010100cec338083565b45728e1f8176ba4daabda4ea88555201f503e3977492e85b49759cd232e7934acd16194ca3889d6975a29f68017427738b2fe57db0951e879afb9f5eae6a75a8d8b96cc12acb9686227322a555ec7e298b77b139874e9c0935d52117991a27281644f351bbacf3f804a1da86f26e784a507ec21e3aacfaf5e686fc01e570397f2dcc5822edd7c0b59f20dc48c408453ba7e9ea170a72c175ca352818c
EAP-Message =
0xf095d192d42cf58272c00c477f2e1755104ced45567186bd44f7b3ab6c947a427e0f3e54c5d88e544c349f16737de5c8191785c2a5af1be735466dff6bdb08682494b1b54c25429014c59437925c441f4c1e42ceb12b7d060b7159f5350203010001a38189308186301d0603551d0e04160414c1d62dd5cd9967b990856c18acc7f2e64f40a29c301f0603551d230418301680148ae199d104b425c1279d439e0b0d2487dfda236c300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f6b312e696a702e70616e2e6c6f63616c2f63612f726f6f7463612e63726c300d06092a864886f70d0101050500
EAP-Message = 0x0382010100a7ba01
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a3ce2287eafacb5cefacbc437
Finished request 3.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=86, length=288
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message = 0x020600061900
State = 0x3fe4315a3ce2287eafacb5cefacbc437
Message-Authenticator = 0xff9a2950b66bd60bde4c54b19ebfa9b6
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 6 length 6
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 86 to 10.24.100.41 port 32773
EAP-Message =
0x0107025c19004d16d1c7a4c127b06c3974533a055af202e7fe05f13dc5f78bf50eb852b25913965c85f981b45b174003af43ddbb5d8754406a26645dd06a9d4ce4b1622de1b4cec8a3d91f973b6332ba5fd78ff18e6feb1b87e664ee981c68523c4d9517a9c8f97abbefd1d76ba66dbeee1fe4e8d4420f6606ff280119897d3026e466910f5ebb892ce764e60fc8d7e4eb2f1609348a405b6e92133d1f4a6f612f4a6eee9c1c04677bcf3e574dc88d64e8972be7d01a080968f189d9258bca3419feff11a7409ae6471a32eab899837f79f8c8116f27ecf63daf802cd7b0df1b3a767d46bb4a40f07b0ead84f31ba36292b6df736e38d9b2f25e2e1483
EAP-Message =
0x6e854d35643c160301014b0c0001470300174104371dc366d454bee6293b8e144fcff0c1cdf98d00fb4411ed9dbd12e633d90295126ae09d54b9b5f386ad4ad233caf1852b9e5ae017d5b5283ad4a97b8848c6f40100349cbe1e304d2328f711e4c7fcc0a3fd053b8f9c2c24ae3435b717073d835f55c937060e036afaed39c6213033a5ee8a4d214ed0866451a1b477cd9131311fd061721780306367576c4aa88958bef593d8a0da9785ac121a0db006e43375c80ad1b15b9a2186b6237436cacd989c2aded9c73aab15b3da6d392ba0a8b01a0b5d1f19e545f6ea5063c8aee39a3ece6ac3f3566da67400e86968e00db6741b6c8bae3ba4498cc784
EAP-Message =
0xb4df98894ce2f420149ab472bb1081bee581c522d103630c742681d332a2c1a343557e223eca39c9b2c24aa5040383ac12852199b595988ce57a58dbfb680df352d0fbfaf921bbfe6b54c014849638a1860def171e5efb4cb816030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a3be3287eafacb5cefacbc437
Finished request 4.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=87, length=426
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message =
0x020700901980000000861603010046100000424104649bcd5ec144dd6f72872bd3ffb7bd7fa67c1fa8a396db4bd901bb3b4f03f71e18233dd95e14c86d3d8d3d507fe52bdfc6c375b1118942fd80a351a6a44193ee14030100010116030100301d392e3e9d125888224d8dd1de80082727c8df767e36f0d8a7fe125823ec5680591e4cd7240c6f860188b8669b8cc0e4
State = 0x3fe4315a3be3287eafacb5cefacbc437
Message-Authenticator = 0xafa3dcd96b66b6a16452d05a4f96c074
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 7 length 144
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 134
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0046], ClientKeyExchange
[peap] TLS_accept: unknown state
[peap] TLS_accept: unknown state
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: unknown state
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap] TLS_accept: unknown state
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: unknown state
[peap] TLS_accept: unknown state
[peap] (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 87 to 10.24.100.41 port 32773
EAP-Message =
0x0108004119001403010001011603010030acd1c954ec8db1f20de9d8db4ad3519ff15901abb1acc9bf9931fb878f243ce019316ac396e3bd8777c367026ceac999
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a3aec287eafacb5cefacbc437
Finished request 5.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=88, length=288
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message = 0x020800061900
State = 0x3fe4315a3aec287eafacb5cefacbc437
Message-Authenticator = 0xcb2a406971b98b24c4a9e0cf6b968713
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 8 length 6
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state TUNNEL ESTABLISHED
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 88 to 10.24.100.41 port 32773
EAP-Message =
0x0109002b19001703010020628ce98232e407d213092b722f8a4909997908ad280d58bcb6cbdbd7b96a5ec6
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a39ed287eafacb5cefacbc437
Finished request 6.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=89, length=341
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message =
0x0209003b190017030100309f8380f1c3018f77e1cf6b6f3f3848fb8d621162c7e784a284ff58ba9d47d491e59e54c27fcab1af84cd55440e8d1f3b
State = 0x3fe4315a39ed287eafacb5cefacbc437
Message-Authenticator = 0x89d32fd7e70d6c41c8ded9ebe6a6a9c1
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 9 length 59
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state WAITING FOR INNER IDENTITY
[peap] Identity - psitarz at mydomain.com
[peap] Got inner identity 'psitarz at mydomain.com'
[peap] Setting default EAP type for tunneled EAP session.
[peap] Got tunneled request
EAP-Message = 0x02090017017073697461727a40696a702e70616e2e706c
server {
[peap] Setting User-Name to psitarz at mydomain.com
Sending tunneled request
EAP-Message = 0x02090017017073697461727a40696a702e70616e2e706c
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
server inner-tunnel {
# Executing section authorize from file
/etc/freeradius/sites-enabled/inner-tunnel
+group authorize {
++[chap] = noop
++[mschap] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 9 length 23
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] = updated
[files] users: Matched entry DEFAULT at line 12
++[files] = ok
[ldap] performing user authorization for psitarz
[ldap] expand: %{Stripped-User-Name} -> psitarz
[ldap] expand:
(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(sAMAccountName=psitarz)
[ldap] expand: dc=ijp,dc=pan,dc=local -> dc=ijp,dc=pan,dc=local
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=ijp,dc=pan,dc=local, with filter
(sAMAccountName=psitarz)
[ldap] rebind to URL
ldap://ijp.pan.local/CN=Configuration,DC=ijp,DC=pan,DC=local
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP. Are you sure that
the user is configured correctly?
[ldap] ldap_release_conn: Release Id: 0
++[ldap] = 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 /etc/freeradius/sites-enabled/inner-tunnel
+group authenticate {
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] = handled
+} # group authenticate = handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message =
0x010a002c1a010a0027101cb34ea8d6a498e4301be136eedcdbcc7073697461727a40696a702e70616e2e706c
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x9552487f9558526373eb233775b533a4
[peap] Got tunneled reply RADIUS code 11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message =
0x010a002c1a010a0027101cb34ea8d6a498e4301be136eedcdbcc7073697461727a40696a702e70616e2e706c
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x9552487f9558526373eb233775b533a4
[peap] Got tunneled Access-Challenge
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 89 to 10.24.100.41 port 32773
EAP-Message =
0x010a004b19001703010040ba5780efc88790ce3f435c17681f219beae1bf3d46e7e3834e7c3c594ea182d073ae579714d0c0b0cd29068a10f831a1d5ba4dedc866b909eb11e16698a725bd
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a38ee287eafacb5cefacbc437
Finished request 7.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=90, length=389
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message =
0x020a006b19001703010060896bfdfc9f0dae60d45ff30c8d21b402fe9ceb00729dbc4349bff60a8d14ce0a006a8d9dd2d0c4cad6ad7e2356a5068ab6a74949c787f9a0c2e715e57dc0c4d062d1909772cf41dccf214dd6ec6690bddb1119e3bc20eb6b050f9aa9d21131cb
State = 0x3fe4315a38ee287eafacb5cefacbc437
Message-Authenticator = 0x2c18eae85d9573ff58095827c631c353
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 10 length 107
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state phase2
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message =
0x020a004d1a020a004831ac0f1e738de655f3a91eb6d8601867ac00000000000000003dfa9870744bc6c76e48dcc4404aea1d38ab5b40f9abb049007073697461727a40696a702e70616e2e706c
server {
[peap] Setting User-Name to psitarz at mydomain.com
Sending tunneled request
EAP-Message =
0x020a004d1a020a004831ac0f1e738de655f3a91eb6d8601867ac00000000000000003dfa9870744bc6c76e48dcc4404aea1d38ab5b40f9abb049007073697461727a40696a702e70616e2e706c
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "psitarz at mydomain.com"
State = 0x9552487f9558526373eb233775b533a4
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
server inner-tunnel {
# Executing section authorize from file
/etc/freeradius/sites-enabled/inner-tunnel
+group authorize {
++[chap] = noop
++[mschap] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 10 length 77
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] = updated
[files] users: Matched entry DEFAULT at line 12
++[files] = ok
[ldap] performing user authorization for psitarz
[ldap] expand: %{Stripped-User-Name} -> psitarz
[ldap] expand:
(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(sAMAccountName=psitarz)
[ldap] expand: dc=ijp,dc=pan,dc=local -> dc=ijp,dc=pan,dc=local
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=ijp,dc=pan,dc=local, with filter
(sAMAccountName=psitarz)
[ldap] rebind to URL
ldap://ijp.pan.local/CN=Configuration,DC=ijp,DC=pan,DC=local
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP. Are you sure that
the user is configured correctly?
[ldap] ldap_release_conn: Release Id: 0
++[ldap] = 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 /etc/freeradius/sites-enabled/inner-tunnel
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] # Executing group from file
/etc/freeradius/sites-enabled/inner-tunnel
[mschapv2] +group MS-CHAP {
[mschap] Creating challenge hash with username: psitarz at mydomain.com
[mschap] Client is using MS-CHAPv2 for psitarz at mydomain.com, we need
NT-Password
[mschap] expand: %{Stripped-User-Name} -> psitarz
[mschap] expand:
--username=%{%{Stripped-User-Name}:-%{User-Name:-None}} ->
--username=psitarz
[mschap] Creating challenge hash with username: psitarz at mydomain.com
[mschap] expand: --challenge=%{mschap:Challenge:-00} ->
--challenge=7255d8e9452790c4
[mschap] expand: --nt-response=%{mschap:NT-Response:-00} ->
--nt-response=3dfa9870744bc6c76e48dcc4404aea1d38ab5b40f9abb049
Exec output: NT_KEY: AC6BB5917C08C8881AF8A3510F56E0C3
Exec plaintext: NT_KEY: AC6BB5917C08C8881AF8A3510F56E0C3
[mschap] Exec: program returned: 0
++[mschap] = ok
+} # group MS-CHAP = ok
MSCHAP Success
++[eap] = handled
+} # group authenticate = handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message =
0x010b00331a030a002e533d37364231393734333131413938323034453043384345443143413838343331384444393042424131
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x9552487f9459526373eb233775b533a4
[peap] Got tunneled reply RADIUS code 11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message =
0x010b00331a030a002e533d37364231393734333131413938323034453043384345443143413838343331384444393042424131
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x9552487f9459526373eb233775b533a4
[peap] Got tunneled Access-Challenge
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 90 to 10.24.100.41 port 32773
EAP-Message =
0x010b005b190017030100505d1d14177674aa5e5462aab4608afbab154c9307302e3a594b7aa3efa14a2fd40fe3e4d69f542672d4c81138e0aa825f3b4bca45ab01fe00145eedc5ead065796a97f7cdd6ff78c81bbf558d62622b70
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a37ef287eafacb5cefacbc437
Finished request 8.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=91, length=325
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message =
0x020b002b1900170301002053fc2a773fa955562c1f54669786ba610fee3162aebd23db8f3c3678220bf38e
State = 0x3fe4315a37ef287eafacb5cefacbc437
Message-Authenticator = 0xcc8aec26bd1328f808c3bd3b397a1611
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 11 length 43
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state phase2
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message = 0x020b00061a03
server {
[peap] Setting User-Name to psitarz at mydomain.com
Sending tunneled request
EAP-Message = 0x020b00061a03
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "psitarz at mydomain.com"
State = 0x9552487f9459526373eb233775b533a4
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
server inner-tunnel {
# Executing section authorize from file
/etc/freeradius/sites-enabled/inner-tunnel
+group authorize {
++[chap] = noop
++[mschap] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 11 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] = updated
[files] users: Matched entry DEFAULT at line 12
++[files] = ok
[ldap] performing user authorization for psitarz
[ldap] expand: %{Stripped-User-Name} -> psitarz
[ldap] expand:
(sAMAccountName=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(sAMAccountName=psitarz)
[ldap] expand: dc=ijp,dc=pan,dc=local -> dc=ijp,dc=pan,dc=local
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=ijp,dc=pan,dc=local, with filter
(sAMAccountName=psitarz)
[ldap] rebind to URL
ldap://ijp.pan.local/CN=Configuration,DC=ijp,DC=pan,DC=local
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP. Are you sure that
the user is configured correctly?
[ldap] ldap_release_conn: Release Id: 0
++[ldap] = 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 /etc/freeradius/sites-enabled/inner-tunnel
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[eap] Freeing handler
++[eap] = ok
+} # group authenticate = ok
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file
/etc/freeradius/sites-enabled/inner-tunnel
} # server inner-tunnel
[peap] Got tunneled reply code 2
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message = 0x030b0004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "psitarz"
[peap] Got tunneled reply RADIUS code 2
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
EAP-Message = 0x030b0004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "psitarz"
[peap] Tunneled authentication was successful.
[peap] SUCCESS
[peap] Saving tunneled attributes for later
++[eap] = handled
+} # group authenticate = handled
Sending Access-Challenge of id 91 to 10.24.100.41 port 32773
EAP-Message =
0x010c002b1900170301002003329f8e825477a95e2d5d9a864888a51936c3b7e73a676c6c54dfbfe3ea7053
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x3fe4315a36e8287eafacb5cefacbc437
Finished request 9.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.24.100.41 port 32773,
id=92, length=325
User-Name = "psitarz at mydomain.com"
Chargeable-User-Identity = ""
Location-Capable = Civix-Location
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
NAS-Port = 13
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-IP-Address = 10.24.100.41
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "216"
EAP-Message =
0x020c002b190017030100209e43f77a691dafaaf1679f783c5e8420647896f6f6e4bbddfe4bed0edabef0ba
State = 0x3fe4315a36e8287eafacb5cefacbc437
Message-Authenticator = 0xb175b0014288cb0b3473357c46176774
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] Looking up realm "mydomain.com" for User-Name =
"psitarz at mydomain.com"
[suffix] Found realm "mydomain.com"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "mydomain.com"
[suffix] Authentication realm is LOCAL.
++[suffix] = ok
[eap] EAP packet type response id 12 length 43
[eap] Continuing tunnel setup.
++[eap] = ok
+} # group authorize = ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+group authenticate {
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state send tlv success
[peap] Received EAP-TLV response.
[peap] Success
[peap] Using saved attributes from the original Access-Accept
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
User-Name = "psitarz"
[eap] Freeing handler
++[eap] = ok
+} # group authenticate = ok
# Executing section post-auth from file
/etc/freeradius/sites-enabled/default
+group post-auth {
++[ldap] = noop
++[exec] = noop
+} # group post-auth = noop
Sending Access-Accept of id 92 to 10.24.100.41 port 32773
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 := "200"
Reply-Message = "YYYY HIT: my_wifi"
User-Name = "psitarz"
MS-MPPE-Recv-Key =
0x4cf776a7e27cec2632e0f01bd830d3ba567f27626108254186a03331090a3cf0
MS-MPPE-Send-Key =
0xca0ecdcdafedbbffc97f0a3debaa8b66213dcdd2c36cf403a4f89675ffb6ddea
EAP-Message = 0x030c0004
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 10.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Accounting-Request packet from host 10.24.100.41 port 32773,
id=10, length=304
User-Name = "psitarz"
NAS-Port = 13
NAS-IP-Address = 10.24.100.41
Framed-IP-Address = 10.24.201.161
Framed-IPv6-Prefix = fe80::/64
NAS-Identifier = "my_wifi"
Airespace-Wlan-Id = 3
Acct-Session-Id = "59bbc17d/08:ed:b9:92:1e:85/512"
NAS-Port-Type = Wireless-802.11
Cisco-AVPair = "audit-session-id=0a18642900002bd759bbc17d"
Acct-Authentic = RADIUS
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "200"
Event-Timestamp = "Sep 15 2017 14:06:09 CEST"
Acct-Status-Type = Interim-Update
Acct-Input-Octets = 14705
Acct-Input-Gigawords = 0
Acct-Output-Octets = 5517
Acct-Output-Gigawords = 0
Acct-Input-Packets = 123
Acct-Output-Packets = 29
Acct-Session-Time = 177
Acct-Delay-Time = 0
Calling-Station-Id = "08-ed-b9-92-1e-85"
Called-Station-Id = "7c-0e-ce-ea-b7-20:my_wifi"
# Executing section preacct from file /etc/freeradius/sites-enabled/default
+group preacct {
++[preprocess] = ok
[acct_unique] Hashing 'NAS-Port = 13,NAS-Identifier =
"my_wifi",NAS-IP-Address = 10.24.100.41,Acct-Session-Id =
"59bbc17d/08:ed:b9:92:1e:85/512",User-Name = "psitarz"'
[acct_unique] Acct-Unique-Session-ID = "17384594c41c6025".
++[acct_unique] = ok
[suffix] No '@' in User-Name = "psitarz", looking up realm NULL
[suffix] Found realm "NULL"
[suffix] Adding Stripped-User-Name = "psitarz"
[suffix] Adding Realm = "NULL"
[suffix] Accounting realm is LOCAL.
++[suffix] = ok
++[files] = noop
+} # group preacct = ok
# Executing section accounting from file
/etc/freeradius/sites-enabled/default
+group accounting {
[detail] expand: %{Packet-Src-IP-Address} -> 10.24.100.41
[detail] expand:
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
-> /var/log/freeradius/radacct/10.24.100.41/detail-20170915
[detail]
/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
expands to /var/log/freeradius/radacct/10.24.100.41/detail-20170915
[detail] expand: %t -> Fri Sep 15 14:06:09 2017
++[detail] = ok
++[unix] = noop
++[exec] = noop
[attr_filter.accounting_response] expand: %{User-Name} -> psitarz
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] = updated
+} # group accounting = updated
Sending Accounting-Response of id 10 to 10.24.100.41 port 32773
Finished request 11.
Cleaning up request 11 ID 10 with timestamp +15
Going to the next request
Waking up in 4.8 seconds.
Cleaning up request 0 ID 82 with timestamp +15
Cleaning up request 1 ID 83 with timestamp +15
Cleaning up request 2 ID 84 with timestamp +15
Cleaning up request 3 ID 85 with timestamp +15
Cleaning up request 4 ID 86 with timestamp +15
Cleaning up request 5 ID 87 with timestamp +15
Cleaning up request 6 ID 88 with timestamp +15
Cleaning up request 7 ID 89 with timestamp +15
Cleaning up request 8 ID 90 with timestamp +15
Cleaning up request 9 ID 91 with timestamp +15
Cleaning up request 10 ID 92 with timestamp +15
Ready to process requests.
W dniu 15.09.2017 o 13:22, Alan DeKok pisze:
> On Sep 15, 2017, at 3:23 AM, Zenon Matuszyk <zenon.matuszyk at networkers.pl> wrote:
>> I have trouble assigning the vlan to users in different groups. If I have one group and if the user is in this group gets a VLAN 200. If another user is in another group (add another entry in the users file with the group and vlan), it does not log on or continue to receive the vlan 200 and I want it to get vlan 216. Below debug with login.
> If you read the debug output, you'll see the problem has nothing to do with the users file.
>
>> Fri Sep 15 09:07:01 2017 : Info: freeradius: FreeRADIUS Version 2.2.5, for host x86_64-pc-linux-gnu, built on Aug 10 2017 at 07:25:15
>> Fri Sep 15 09:07:01 2017 : Debug: Server was built with:
>> Fri Sep 15 09:07:01 2017 : Debug: accounting
> PLEASE follow instructions and run with "freeradius -X". Not "-Xx".
>> Fri Sep 15 09:07:16 2017 : Info: [mschapv2] # Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
>> Fri Sep 15 09:07:16 2017 : Info: [mschapv2] +group MS-CHAP {
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] Creating challenge hash with username: psitarz at mydomain.com
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] Client is using MS-CHAPv2 for psitarz at mydomain.com, we need NT-Password
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] WARNING: Deprecated conditional expansion ":-". See "man unlang" for details
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] expand: --username=%{Stripped-User-Name:-%{User-Name:-None}} -> --username=psitarz
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] Creating challenge hash with username: psitarz at mydomain.com
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] expand: --challenge=%{mschap:Challenge:-00} -> --challenge=30cedb6750524fca
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] expand: --nt-response=%{mschap:NT-Response:-00} -> --nt-response=dbdff2050731af4d5e7f6bbcc15f6ba740b157f5df29b787
>> Fri Sep 15 09:07:16 2017 : Debug: Exec output: Logon failure (0xc000006d)
>> Fri Sep 15 09:07:16 2017 : Debug: Exec plaintext: Logon failure (0xc000006d)
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] Exec: program returned: 1
>> Fri Sep 15 09:07:16 2017 : Info: [mschap] External script failed.
> That would seem to be the problem.
>
> It has nothing to do with groups or the "users" file.
>
> Read the debug output. It *tells you* what's going wrong.
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Z poważaniem / Yours sincerely
Zenon Matuszyk
mobile: 00 48 797 004 938
e-mail: zenon.matuszyk at networkers.pl
www: http://www.networkers.pl
More information about the Freeradius-Users
mailing list