Microsoft AD group check
Marek Smoliński
marksmol at o2.pl
Sun Jan 12 23:21:04 CET 2020
I turned off cachable_dn
Debug output
if 802.1x authentication fails, MAB authentication is attempted. You can see it at the end of the printout. The attempt will of course fail, because there is no such user in MySQL database. In MySQL database there are only MAC addresses of printers.
FreeRADIUS Version 3.0.19
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/3.0/dictionary
including configuration file /etc/freeradius/3.0/radiusd.conf
including configuration file /etc/freeradius/3.0/proxy.conf
including configuration file /etc/freeradius/3.0/clients.conf
including files in directory /etc/freeradius/3.0/mods-enabled/
including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap
including configuration file /etc/freeradius/3.0/mods-enabled/preprocess
including configuration file /etc/freeradius/3.0/mods-enabled/expiration
including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter
including configuration file /etc/freeradius/3.0/mods-enabled/exec
including configuration file /etc/freeradius/3.0/mods-enabled/radutmp
including configuration file /etc/freeradius/3.0/mods-enabled/soh
including configuration file /etc/freeradius/3.0/mods-enabled/chap
including configuration file /etc/freeradius/3.0/mods-enabled/utf8
including configuration file /etc/freeradius/3.0/mods-enabled/passwd
including configuration file /etc/freeradius/3.0/mods-enabled/linelog
including configuration file /etc/freeradius/3.0/mods-enabled/sql
including configuration file /etc/freeradius/3.0/mods-config/sql/main/mysql/queries.conf
including configuration file /etc/freeradius/3.0/mods-enabled/always
including configuration file /etc/freeradius/3.0/mods-enabled/files
including configuration file /etc/freeradius/3.0/mods-enabled/replicate
including configuration file /etc/freeradius/3.0/mods-enabled/realm
including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp
including configuration file /etc/freeradius/3.0/mods-enabled/unix
including configuration file /etc/freeradius/3.0/mods-enabled/expr
including configuration file /etc/freeradius/3.0/mods-enabled/pap
including configuration file /etc/freeradius/3.0/mods-enabled/echo
including configuration file /etc/freeradius/3.0/mods-enabled/ldap
including configuration file /etc/freeradius/3.0/mods-enabled/detail.log
including configuration file /etc/freeradius/3.0/mods-enabled/mschap
including configuration file /etc/freeradius/3.0/mods-enabled/unpack
including configuration file /etc/freeradius/3.0/mods-enabled/logintime
including configuration file /etc/freeradius/3.0/mods-enabled/cache
including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/3.0/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/3.0/mods-enabled/digest
including configuration file /etc/freeradius/3.0/mods-enabled/detail
including configuration file /etc/freeradius/3.0/mods-enabled/eap
including files in directory /etc/freeradius/3.0/policy.d/
including configuration file /etc/freeradius/3.0/policy.d/cui
including configuration file /etc/freeradius/3.0/policy.d/set_vlan_class
including configuration file /etc/freeradius/3.0/policy.d/filter
including configuration file /etc/freeradius/3.0/policy.d/operator-name
including configuration file /etc/freeradius/3.0/policy.d/rfc7542
including configuration file /etc/freeradius/3.0/policy.d/debug
including configuration file /etc/freeradius/3.0/policy.d/group_filter
including configuration file /etc/freeradius/3.0/policy.d/accounting
including configuration file /etc/freeradius/3.0/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/3.0/policy.d/canonicalization
including configuration file /etc/freeradius/3.0/policy.d/abfab-tr
including configuration file /etc/freeradius/3.0/policy.d/dhcp
including configuration file /etc/freeradius/3.0/policy.d/control
including configuration file /etc/freeradius/3.0/policy.d/eap
including files in directory /etc/freeradius/3.0/sites-enabled/
including configuration file /etc/freeradius/3.0/sites-enabled/default
including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
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 = 16384
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
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}
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 = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
require_message_authenticator = no
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
/etc/freeradius/3.0/sites-enabled/default[612]: Duplicate Auth-Type 'eap'
# Creating Auth-Type = PAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = LDAP
# Creating Auth-Type = CHAP
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_cache
# Loading module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/3.0/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_exec
# Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/3.0/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_sql
# Loading module "sql" from file /etc/freeradius/3.0/mods-enabled/sql
sql {
driver = "rlm_sql_mysql"
server = "10.241.2.117"
port = 3306
login = "radius"
password = <<< secret >>>
radius_db = "radius"
read_groups = yes
read_profiles = yes
read_clients = yes
delete_stale_sessions = yes
sql_user_name = "%{User-Name}"
default_user_profile = ""
client_query = "SELECT id, nasname, shortname, type, secret, server FROM nas"
authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id"
authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id"
group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority"
simul_count_query = "SELECT COUNT(*) FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL"
simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL"
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
auto_escape = no
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}.query}"
type {
accounting-on {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctsessiontime = '%{integer:Event-Timestamp}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{integer:Event-Timestamp})"
}
accounting-off {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctsessiontime = '%{integer:Event-Timestamp}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{integer:Event-Timestamp})"
}
start {
query = "INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress) VALUES ('%{Acct-Session-Id}', '%{Acct-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{integer:Event-Timestamp}), FROM_UNIXTIME(%{integer:Event-Timestamp}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}')"
}
interim-update {
query = "UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctinterval = %{integer:Event-Timestamp} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Session-Id}'"
}
stop {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Session-Id}'"
}
}
}
post-auth {
reference = ".query"
query = "INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')"
}
}
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Creating attribute SQL-Group
# Loaded module rlm_always
# Loading module "reject" from file /etc/freeradius/3.0/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/3.0/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/3.0/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
files {
filename = "/etc/freeradius/3.0/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
preproxy_usersfile = "/etc/freeradius/3.0/mods-config/files/pre-proxy"
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/freeradius/3.0/mods-enabled/replicate
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loading module "sradutmp" from file /etc/freeradius/3.0/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
pap {
normalise = yes
}
# Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loaded module rlm_ldap
# Loading module "ldap" from file /etc/freeradius/3.0/mods-enabled/ldap
ldap {
server = "domena.ad"
identity = "user at domena.AD"
password = <<< secret >>>
sasl {
}
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
scope = "sub"
name_attribute = "cn"
membership_attribute = "memberOf"
membership_filter = "(|(&(objectClass=group)(member=%{control:Ldap-UserDn})))"
cacheable_name = yes
cacheable_dn = no
cache_attribute = "LDAP-Cached-Membership"
}
client {
filter = "(objectClass=radiusClient)"
scope = "sub"
base_dn = "dc=domena,dc=AD"
}
profile {
}
options {
ldap_debug = 40
chase_referrals = no
rebind = yes
net_timeout = 1
res_timeout = 20
srv_timelimit = 20
idle = 60
probes = 3
interval = 3
}
tls {
start_tls = no
}
}
Creating attribute LDAP-Group
# Loaded module rlm_detail
# Loading module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail auth_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail reply_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail pre_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
detail post_proxy_log {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name:-None} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00} --domain=%{%{mschap:NT-Domain}:-domena.AD}"
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/3.0/mods-enabled/unpack
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loading module "cache" from file /etc/freeradius/3.0/mods-enabled/cache
cache {
driver = "rlm_cache_rbtree"
key = "%{User-Name}"
ttl = 3600
max_entries = 0
epoch = 0
add_stats = no
}
# Loading module "ntlm_auth" from file /etc/freeradius/3.0/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/usr/bin/ntlm_auth --request-nt-key --domain=domena.AD --username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /etc/freeradius/3.0/mods-enabled/dynamic_clients
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/3.0/mods-enabled/digest
# Loading module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
detail {
filename = "/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
instantiate {
}
# Instantiating module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
# Instantiating module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration
# Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/accounting_response
# Instantiating module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "sql" from file /etc/freeradius/3.0/mods-enabled/sql
rlm_sql_mysql: libmysql version: 8.0.18
mysql {
tls {
tls_required = no
check_cert = no
check_cert_cn = no
}
warnings = "auto"
}
rlm_sql (sql): Attempting to connect to database "radius"
rlm_sql (sql): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_sql (sql): Opening additional connection (0), 1 of 32 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
rlm_sql (sql): Opening additional connection (1), 1 of 31 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
rlm_sql (sql): Opening additional connection (2), 1 of 30 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
rlm_sql (sql): Opening additional connection (3), 1 of 29 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
rlm_sql (sql): Opening additional connection (4), 1 of 28 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
rlm_sql (sql): Processing generate_sql_clients
rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname, shortname, type, secret, server FROM nas
rlm_sql (sql): Reserved connection (0)
rlm_sql (sql): Executing select query: SELECT id, nasname, shortname, type, secret, server FROM nas
rlm_sql (sql): Adding client 10.241.2.111 (linux_srv) to global clients list
rlm_sql (10.241.2.111): Client "linux_srv" (sql) added
rlm_sql (sql): Adding client 10.8.147.13 (MojKomputer) to global clients list
rlm_sql (10.8.147.13): Client "MojKomputer" (sql) added
rlm_sql (sql): Adding client 10.8.10.6 (sw_PD_Mlynowa_p123_Bialystok) to global clients list
rlm_sql (10.8.10.6): Client "sw_PD_Mlynowa_p123_Bialystok" (sql) added
rlm_sql (sql): Adding client 10.213.0.2 (SW-Garwolin-01) to global clients list
rlm_sql (10.213.0.2): Client "SW-Garwolin-01" (sql) added
rlm_sql (sql): Released connection (0)
Need 5 more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (5), 1 of 27 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
# Instantiating module "reject" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "fail" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "handled" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "invalid" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "userlock" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "notfound" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "noop" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "updated" from file /etc/freeradius/3.0/mods-enabled/always
# Instantiating module "files" from file /etc/freeradius/3.0/mods-enabled/files
reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
# Instantiating module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
# Instantiating module "ldap" from file /etc/freeradius/3.0/mods-enabled/ldap
rlm_ldap: libldap vendor: OpenLDAP, version: 20448
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}}"
}
post-auth {
reference = "."
}
rlm_ldap (ldap): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
spread = no
}
rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldap://domena.ad:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
rlm_ldap (ldap): Connecting to ldap://domena.ad:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
rlm_ldap (ldap): Connecting to ldap://domena.ad:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used
rlm_ldap (ldap): Connecting to ldap://domena.ad:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used
rlm_ldap (ldap): Connecting to ldap://domena.ad:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
# Instantiating module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
# Instantiating module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap
rlm_mschap (mschap): authenticating by calling 'ntlm_auth'
# Instantiating module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime
# Instantiating module "cache" from file /etc/freeradius/3.0/mods-enabled/cache
rlm_cache (cache): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
# Instantiating module "detail" from file /etc/freeradius/3.0/mods-enabled/detail
# Instantiating module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_leap
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/3.0/certs"
pem_file_type = yes
private_key_file = "/etc/ssl/private/ssl-cert-snakeoil.key"
certificate_file = "/etc/ssl/certs/ssl-cert-snakeoil.pem"
ca_file = "/etc/ssl/certs/ca-certificates.crt"
private_key_password = <<< secret >>>
dh_file = "/etc/freeradius/3.0/certs/dh"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
cipher_list = "DEFAULT"
cipher_server_preference = no
ecdh_curve = "prime256v1"
tls_max_version = ""
tls_min_version = "1.0"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server default { # from file /etc/freeradius/3.0/sites-enabled/default
# Loading authenticate {...}
# Loading authorize {...}
# Loading preacct {...}
# Loading accounting {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server default
server inner-tunnel { # from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:341
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 10.241.2.111
port = 1812
limit {
max_connections = 0
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipaddr = 10.241.2.111
port = 1813
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "acct"
ipv6addr = ::
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 10.241.2.111
port = 18120
}
Listening on auth address 10.241.2.111 port 1812 bound to server default
Listening on acct address 10.241.2.111 port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 10.241.2.111 port 18120 bound to server inner-tunnel
Listening on proxy address * port 56711
Listening on proxy address :: port 53634
Ready to process requests
(0) Received Access-Request Id 64 from 10.213.0.2:57808 to 10.241.2.111:1812 length 341
(0) User-Name = "host/A0700-GARWOLIN.domena.AD"
(0) NAS-Port = 33636384
(0) Service-Type = Framed-User
(0) Framed-Protocol = PPP
(0) Framed-IP-Address = 10.213.0.194
(0) Calling-Station-Id = "bc5f-f4dc-9eeb"
(0) NAS-Identifier = "SW-Garwolin-01"
(0) NAS-Port-Type = Ethernet
(0) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(0) EAP-Message = 0x02b0001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(0) Message-Authenticator = 0x111272c8218fbeb932447d58eddd8d40
(0) Called-Station-Id = "04-F9-38-EC-8F-70"
(0) NAS-IP-Address = 10.213.0.2
(0) Framed-MTU = 1500
(0) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(0) Huawei-Startup-Stamp = 1576522178
(0) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(0) Huawei-Connect-ID = 18269
(0) Huawei-Version = "Huawei S7700"
(0) Huawei-Product-ID = "S7700"
(0) Huawei-User-Mac = "\000\000\000\001"
(0) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(0) authorize {
(0) [preprocess] = ok
(0) if (!EAP-Message) {
(0) if (!EAP-Message) -> FALSE
(0) else {
(0) update control {
(0) Cache-Status-Only = yes
(0) } # update control = noop
(0) cache: EXPAND %{User-Name}
(0) cache: --> host/A0700-GARWOLIN.domena.AD
(0) cache: No cache entry found for "host/A0700-GARWOLIN.domena.AD"
(0) [cache] = notfound
(0) if (notfound) {
(0) if (notfound) -> TRUE
(0) if (notfound) {
(0) eap: Peer sent EAP Response (code 2) ID 176 length 31
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(0) [eap] = ok
(0) } # if (notfound) = ok
(0) ... skipping else: Preceding "if" was taken
(0) update control {
(0) Cache-Status-Only := no
(0) } # update control = noop
(0) cache: EXPAND %{User-Name}
(0) cache: --> host/A0700-GARWOLIN.domena.AD
(0) cache: No cache entry found for "host/A0700-GARWOLIN.domena.AD"
(0) cache: Creating new cache entry
(0) cache: Merging cache entry into request
(0) cache: Committed entry, TTL 3600 seconds
(0) [cache] = updated
(0) } # else = updated
(0) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(0) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(0) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(0) auth_log: EXPAND %t
(0) auth_log: --> Sun Jan 12 23:12:06 2020
(0) [auth_log] = ok
(0) [chap] = noop
(0) [mschap] = noop
(0) [digest] = noop
(0) [expiration] = noop
(0) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(0) [pap] = noop
(0) } # authorize = updated
(0) Found Auth-Type = eap
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_md5 to process data
(0) eap_md5: Issuing MD5 Challenge
(0) eap: Sending EAP Request (code 1) ID 177 length 22
(0) eap: EAP session adding &reply:State = 0xac869f77ac379b41
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) Sent Access-Challenge Id 64 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(0) EAP-Message = 0x01b1001604105ac0de131cff1a921aa56db799fcc25b
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0xac869f77ac379b4172a4c2cace804dda
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 49 from 10.213.0.2:57808 to 10.241.2.111:1812 length 340
(1) User-Name = "host/A0700-GARWOLIN.domena.AD"
(1) NAS-Port = 33636384
(1) Service-Type = Framed-User
(1) Framed-Protocol = PPP
(1) Framed-IP-Address = 10.213.0.194
(1) Calling-Station-Id = "bc5f-f4dc-9eeb"
(1) NAS-Identifier = "SW-Garwolin-01"
(1) NAS-Port-Type = Ethernet
(1) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(1) State = 0xac869f77ac379b4172a4c2cace804dda
(1) EAP-Message = 0x02b100060319
(1) Message-Authenticator = 0xe35245542d557803b4aaaf3ff578e335
(1) Called-Station-Id = "04-F9-38-EC-8F-70"
(1) Login-IP-Host = 0.0.0.0
(1) NAS-IP-Address = 10.213.0.2
(1) Framed-MTU = 1500
(1) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(1) Huawei-Startup-Stamp = 1576522178
(1) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(1) Huawei-Connect-ID = 18269
(1) Huawei-Version = "Huawei S7700"
(1) Huawei-Product-ID = "S7700"
(1) Huawei-User-Mac = "\000\000\000\001"
(1) session-state: No cached attributes
(1) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(1) authorize {
(1) [preprocess] = ok
(1) if (!EAP-Message) {
(1) if (!EAP-Message) -> FALSE
(1) else {
(1) update control {
(1) Cache-Status-Only = yes
(1) } # update control = noop
(1) cache: EXPAND %{User-Name}
(1) cache: --> host/A0700-GARWOLIN.domena.AD
(1) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(1) [cache] = ok
(1) if (notfound) {
(1) if (notfound) -> FALSE
(1) else {
(1) update control {
(1) Auth-Type := eap
(1) } # update control = noop
(1) } # else = noop
(1) update control {
(1) Cache-Status-Only := no
(1) } # update control = noop
(1) cache: EXPAND %{User-Name}
(1) cache: --> host/A0700-GARWOLIN.domena.AD
(1) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(1) cache: Merging cache entry into request
(1) [cache] = ok
(1) } # else = ok
(1) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(1) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(1) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(1) auth_log: EXPAND %t
(1) auth_log: --> Sun Jan 12 23:12:06 2020
(1) [auth_log] = ok
(1) [chap] = noop
(1) [mschap] = noop
(1) [digest] = noop
(1) [expiration] = noop
(1) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(1) [pap] = noop
(1) } # authorize = ok
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1) authenticate {
(1) eap: Expiring EAP session with state 0xac869f77ac379b41
(1) eap: Finished EAP session with state 0xac869f77ac379b41
(1) eap: Previous EAP request found for state 0xac869f77ac379b41, released from the list
(1) eap: Peer sent packet with method EAP NAK (3)
(1) eap: Found mutually acceptable type PEAP (25)
(1) eap: Calling submodule eap_peap to process data
(1) eap_peap: Initiating new TLS session
(1) eap_peap: [eaptls start] = request
(1) eap: Sending EAP Request (code 1) ID 178 length 6
(1) eap: EAP session adding &reply:State = 0xac869f77ad348641
(1) [eap] = handled
(1) } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 49 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(1) EAP-Message = 0x01b200061920
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0xac869f77ad34864172a4c2cace804dda
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 41 from 10.213.0.2:57808 to 10.241.2.111:1812 length 447
(2) User-Name = "host/A0700-GARWOLIN.domena.AD"
(2) NAS-Port = 33636384
(2) Service-Type = Framed-User
(2) Framed-Protocol = PPP
(2) Framed-IP-Address = 10.213.0.194
(2) Calling-Station-Id = "bc5f-f4dc-9eeb"
(2) NAS-Identifier = "SW-Garwolin-01"
(2) NAS-Port-Type = Ethernet
(2) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(2) State = 0xac869f77ad34864172a4c2cace804dda
(2) EAP-Message = 0x02b2007119800000006716030100620100005e03015e1b99b688d08a5850ec55f65958af3c5d01145a5b3185bf42b63ccea17bf6a300001cc014c013003900330035002fc00ac00900380032000a00130005000401000019000a0006000400170018000b0002010000170000ff01000100
(2) Message-Authenticator = 0xc443e491a1694f08902ec5283dbf9f8b
(2) Called-Station-Id = "04-F9-38-EC-8F-70"
(2) Login-IP-Host = 0.0.0.0
(2) NAS-IP-Address = 10.213.0.2
(2) Framed-MTU = 1500
(2) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(2) Huawei-Startup-Stamp = 1576522178
(2) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(2) Huawei-Connect-ID = 18269
(2) Huawei-Version = "Huawei S7700"
(2) Huawei-Product-ID = "S7700"
(2) Huawei-User-Mac = "\000\000\000\001"
(2) session-state: No cached attributes
(2) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(2) authorize {
(2) [preprocess] = ok
(2) if (!EAP-Message) {
(2) if (!EAP-Message) -> FALSE
(2) else {
(2) update control {
(2) Cache-Status-Only = yes
(2) } # update control = noop
(2) cache: EXPAND %{User-Name}
(2) cache: --> host/A0700-GARWOLIN.domena.AD
(2) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(2) [cache] = ok
(2) if (notfound) {
(2) if (notfound) -> FALSE
(2) else {
(2) update control {
(2) Auth-Type := eap
(2) } # update control = noop
(2) } # else = noop
(2) update control {
(2) Cache-Status-Only := no
(2) } # update control = noop
(2) cache: EXPAND %{User-Name}
(2) cache: --> host/A0700-GARWOLIN.domena.AD
(2) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(2) cache: Merging cache entry into request
(2) [cache] = ok
(2) } # else = ok
(2) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(2) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(2) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(2) auth_log: EXPAND %t
(2) auth_log: --> Sun Jan 12 23:12:06 2020
(2) [auth_log] = ok
(2) [chap] = noop
(2) [mschap] = noop
(2) [digest] = noop
(2) [expiration] = noop
(2) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(2) [pap] = noop
(2) } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(2) authenticate {
(2) eap: Expiring EAP session with state 0xac869f77ad348641
(2) eap: Finished EAP session with state 0xac869f77ad348641
(2) eap: Previous EAP request found for state 0xac869f77ad348641, released from the list
(2) eap: Peer sent packet with method EAP PEAP (25)
(2) eap: Calling submodule eap_peap to process data
(2) eap_peap: Continuing EAP-TLS
(2) eap_peap: Peer indicated complete TLS record size will be 103 bytes
(2) eap_peap: Got complete TLS record (103 bytes)
(2) eap_peap: [eaptls verify] = length included
(2) eap_peap: (other): before SSL initialization
(2) eap_peap: TLS_accept: before SSL initialization
(2) eap_peap: TLS_accept: before SSL initialization
(2) eap_peap: <<< recv TLS 1.3 [length 0062]
(2) eap_peap: TLS_accept: SSLv3/TLS read client hello
(2) eap_peap: >>> send TLS 1.0 Handshake [length 003d], ServerHello
(2) eap_peap: TLS_accept: SSLv3/TLS write server hello
(2) eap_peap: >>> send TLS 1.0 Handshake [length 02f9], Certificate
(2) eap_peap: TLS_accept: SSLv3/TLS write certificate
(2) eap_peap: >>> send TLS 1.0 Handshake [length 014b], ServerKeyExchange
(2) eap_peap: TLS_accept: SSLv3/TLS write key exchange
(2) eap_peap: >>> send TLS 1.0 Handshake [length 0004], ServerHelloDone
(2) eap_peap: TLS_accept: SSLv3/TLS write server done
(2) eap_peap: TLS_accept: Need to read more data: SSLv3/TLS write server done
(2) eap_peap: TLS - In Handshake Phase
(2) eap_peap: TLS - got 1177 bytes of data
(2) eap_peap: [eaptls process] = handled
(2) eap: Sending EAP Request (code 1) ID 179 length 1004
(2) eap: EAP session adding &reply:State = 0xac869f77ae358641
(2) [eap] = handled
(2) } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 41 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(2) EAP-Message = 0x01b303ec19c000000499160301003d0200003903018c90403cb601d9261d1af5e21dafc7480f9c44b6337a811b444f574e4752440000c014000011ff01000100000b0004030001020017000016030102f90b0002f50002f20002ef308202eb308201d3a003020102021420418605649ecad19998c91716963abfed2bfdea300d06092a864886f70d01010b0500301a3118301606035504030c0f467265655261646975732e6d616173301e170d3139313231323230313232395a170d3239313230393230313232395a301a3118301606035504030c0f467265655261646975732e6d61617330820122300d06092a864886f70d01010105000382010f003082010a0282010100d9dfebe4a06e2f04f28a808aaa49f1db4470f2cfa1cab217c9c80d8d3c6b61b0e9be94164a0233b061169346c9cb4b7b104fa905dec7a4f21e663e292322bf0789ed82bcfd4e8636694e27b2bba917b66212d4833ed26f1e15768e6994137d8fc3ce27a7acc55a8284f2bf88e678e61d58
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0xac869f77ae35864172a4c2cace804dda
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 22 from 10.213.0.2:57808 to 10.241.2.111:1812 length 340
(3) User-Name = "host/A0700-GARWOLIN.domena.AD"
(3) NAS-Port = 33636384
(3) Service-Type = Framed-User
(3) Framed-Protocol = PPP
(3) Framed-IP-Address = 10.213.0.194
(3) Calling-Station-Id = "bc5f-f4dc-9eeb"
(3) NAS-Identifier = "SW-Garwolin-01"
(3) NAS-Port-Type = Ethernet
(3) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(3) State = 0xac869f77ae35864172a4c2cace804dda
(3) EAP-Message = 0x02b300061900
(3) Message-Authenticator = 0x450a7e9d8897183e0924f54306f10b5f
(3) Called-Station-Id = "04-F9-38-EC-8F-70"
(3) Login-IP-Host = 0.0.0.0
(3) NAS-IP-Address = 10.213.0.2
(3) Framed-MTU = 1500
(3) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(3) Huawei-Startup-Stamp = 1576522178
(3) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(3) Huawei-Connect-ID = 18269
(3) Huawei-Version = "Huawei S7700"
(3) Huawei-Product-ID = "S7700"
(3) Huawei-User-Mac = "\000\000\000\001"
(3) session-state: No cached attributes
(3) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(3) authorize {
(3) [preprocess] = ok
(3) if (!EAP-Message) {
(3) if (!EAP-Message) -> FALSE
(3) else {
(3) update control {
(3) Cache-Status-Only = yes
(3) } # update control = noop
(3) cache: EXPAND %{User-Name}
(3) cache: --> host/A0700-GARWOLIN.domena.AD
(3) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(3) [cache] = ok
(3) if (notfound) {
(3) if (notfound) -> FALSE
(3) else {
(3) update control {
(3) Auth-Type := eap
(3) } # update control = noop
(3) } # else = noop
(3) update control {
(3) Cache-Status-Only := no
(3) } # update control = noop
(3) cache: EXPAND %{User-Name}
(3) cache: --> host/A0700-GARWOLIN.domena.AD
(3) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(3) cache: Merging cache entry into request
(3) [cache] = ok
(3) } # else = ok
(3) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(3) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(3) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(3) auth_log: EXPAND %t
(3) auth_log: --> Sun Jan 12 23:12:06 2020
(3) [auth_log] = ok
(3) [chap] = noop
(3) [mschap] = noop
(3) [digest] = noop
(3) [expiration] = noop
(3) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(3) [pap] = noop
(3) } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(3) authenticate {
(3) eap: Expiring EAP session with state 0xac869f77ae358641
(3) eap: Finished EAP session with state 0xac869f77ae358641
(3) eap: Previous EAP request found for state 0xac869f77ae358641, released from the list
(3) eap: Peer sent packet with method EAP PEAP (25)
(3) eap: Calling submodule eap_peap to process data
(3) eap_peap: Continuing EAP-TLS
(3) eap_peap: Peer ACKed our handshake fragment
(3) eap_peap: [eaptls verify] = request
(3) eap_peap: [eaptls process] = handled
(3) eap: Sending EAP Request (code 1) ID 180 length 189
(3) eap: EAP session adding &reply:State = 0xac869f77af328641
(3) [eap] = handled
(3) } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 22 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(3) EAP-Message = 0x01b400bd19009ca96097462bc8b3f53d163f6bd6e26a225646ec3d32f3a658d114b4542c9230e8838df7152e145b52b54199efe1af33dc039aef99d0079fe198409efc2db43665dbbe9c906f8d24430edcb9bd0cb43238249882f806aff6d37d571a36329f54cda2fb87470c2a6fcaecf914786b68320fac830216e190795f8ec1af3ad4bd9951ee71a35ea7b20d618dd5f7ea72c986952ba15375b172be5c1e4c824f9431882e155b143861458d69f3ab195cca16030100040e000000
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0xac869f77af32864172a4c2cace804dda
(3) Finished request
Waking up in 4.9 seconds.
(4) Received Access-Request Id 21 from 10.213.0.2:57808 to 10.241.2.111:1812 length 478
(4) User-Name = "host/A0700-GARWOLIN.domena.AD"
(4) NAS-Port = 33636384
(4) Service-Type = Framed-User
(4) Framed-Protocol = PPP
(4) Framed-IP-Address = 10.213.0.194
(4) Calling-Station-Id = "bc5f-f4dc-9eeb"
(4) NAS-Identifier = "SW-Garwolin-01"
(4) NAS-Port-Type = Ethernet
(4) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(4) State = 0xac869f77af32864172a4c2cace804dda
(4) EAP-Message = 0x02b4009019800000008616030100461000004241044ccac18e4555740f95634fcb11d780c1b2c788fb3d5f0055d7c7b0dc62f353dbcc79af3b3cfcf1bcfe20a14ed364a31d5a58e4b0ffd4f271c26d94f0a108b60514030100010116030100309164a9cd1ae25bad5f51c88e0918cf57acae0b81bfd36e33eee2edb63d71fbfd1b788fdad82437d547de4377562332ec
(4) Message-Authenticator = 0xe426b40798e3b069f107fac9aa8a7320
(4) Called-Station-Id = "04-F9-38-EC-8F-70"
(4) Login-IP-Host = 0.0.0.0
(4) NAS-IP-Address = 10.213.0.2
(4) Framed-MTU = 1500
(4) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(4) Huawei-Startup-Stamp = 1576522178
(4) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(4) Huawei-Connect-ID = 18269
(4) Huawei-Version = "Huawei S7700"
(4) Huawei-Product-ID = "S7700"
(4) Huawei-User-Mac = "\000\000\000\001"
(4) session-state: No cached attributes
(4) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(4) authorize {
(4) [preprocess] = ok
(4) if (!EAP-Message) {
(4) if (!EAP-Message) -> FALSE
(4) else {
(4) update control {
(4) Cache-Status-Only = yes
(4) } # update control = noop
(4) cache: EXPAND %{User-Name}
(4) cache: --> host/A0700-GARWOLIN.domena.AD
(4) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(4) [cache] = ok
(4) if (notfound) {
(4) if (notfound) -> FALSE
(4) else {
(4) update control {
(4) Auth-Type := eap
(4) } # update control = noop
(4) } # else = noop
(4) update control {
(4) Cache-Status-Only := no
(4) } # update control = noop
(4) cache: EXPAND %{User-Name}
(4) cache: --> host/A0700-GARWOLIN.domena.AD
(4) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(4) cache: Merging cache entry into request
(4) [cache] = ok
(4) } # else = ok
(4) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(4) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(4) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(4) auth_log: EXPAND %t
(4) auth_log: --> Sun Jan 12 23:12:06 2020
(4) [auth_log] = ok
(4) [chap] = noop
(4) [mschap] = noop
(4) [digest] = noop
(4) [expiration] = noop
(4) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(4) [pap] = noop
(4) } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(4) authenticate {
(4) eap: Expiring EAP session with state 0xac869f77af328641
(4) eap: Finished EAP session with state 0xac869f77af328641
(4) eap: Previous EAP request found for state 0xac869f77af328641, released from the list
(4) eap: Peer sent packet with method EAP PEAP (25)
(4) eap: Calling submodule eap_peap to process data
(4) eap_peap: Continuing EAP-TLS
(4) eap_peap: Peer indicated complete TLS record size will be 134 bytes
(4) eap_peap: Got complete TLS record (134 bytes)
(4) eap_peap: [eaptls verify] = length included
(4) eap_peap: TLS_accept: SSLv3/TLS write server done
(4) eap_peap: <<< recv TLS 1.0 Handshake [length 0046], ClientKeyExchange
(4) eap_peap: TLS_accept: SSLv3/TLS read client key exchange
(4) eap_peap: TLS_accept: SSLv3/TLS read change cipher spec
(4) eap_peap: <<< recv TLS 1.0 Handshake [length 0010], Finished
(4) eap_peap: TLS_accept: SSLv3/TLS read finished
(4) eap_peap: >>> send TLS 1.0 ChangeCipherSpec [length 0001]
(4) eap_peap: TLS_accept: SSLv3/TLS write change cipher spec
(4) eap_peap: >>> send TLS 1.0 Handshake [length 0010], Finished
(4) eap_peap: TLS_accept: SSLv3/TLS write finished
(4) eap_peap: (other): SSL negotiation finished successfully
(4) eap_peap: TLS - Connection Established
(4) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(4) eap_peap: TLS-Session-Version = "TLS 1.0"
(4) eap_peap: TLS - got 59 bytes of data
(4) eap_peap: [eaptls process] = handled
(4) eap: Sending EAP Request (code 1) ID 181 length 65
(4) eap: EAP session adding &reply:State = 0xac869f77a8338641
(4) [eap] = handled
(4) } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(4) TLS-Session-Version = "TLS 1.0"
(4) Sent Access-Challenge Id 21 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(4) EAP-Message = 0x01b50041190014030100010116030100303fff3da6ed0a2ce1ba917bde01542e7b56216b67bb058869aa43b8e936bf77f672678a9f49147ee2288583e0eb0e6f23
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0xac869f77a833864172a4c2cace804dda
(4) Finished request
Waking up in 4.9 seconds.
(5) Received Access-Request Id 7 from 10.213.0.2:57808 to 10.241.2.111:1812 length 340
(5) User-Name = "host/A0700-GARWOLIN.domena.AD"
(5) NAS-Port = 33636384
(5) Service-Type = Framed-User
(5) Framed-Protocol = PPP
(5) Framed-IP-Address = 10.213.0.194
(5) Calling-Station-Id = "bc5f-f4dc-9eeb"
(5) NAS-Identifier = "SW-Garwolin-01"
(5) NAS-Port-Type = Ethernet
(5) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(5) State = 0xac869f77a833864172a4c2cace804dda
(5) EAP-Message = 0x02b500061900
(5) Message-Authenticator = 0x8c69acfc13957163012c0865238d2b77
(5) Called-Station-Id = "04-F9-38-EC-8F-70"
(5) Login-IP-Host = 0.0.0.0
(5) NAS-IP-Address = 10.213.0.2
(5) Framed-MTU = 1500
(5) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(5) Huawei-Startup-Stamp = 1576522178
(5) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(5) Huawei-Connect-ID = 18269
(5) Huawei-Version = "Huawei S7700"
(5) Huawei-Product-ID = "S7700"
(5) Huawei-User-Mac = "\000\000\000\001"
(5) Restoring &session-state
(5) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(5) &session-state:TLS-Session-Version = "TLS 1.0"
(5) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(5) authorize {
(5) [preprocess] = ok
(5) if (!EAP-Message) {
(5) if (!EAP-Message) -> FALSE
(5) else {
(5) update control {
(5) Cache-Status-Only = yes
(5) } # update control = noop
(5) cache: EXPAND %{User-Name}
(5) cache: --> host/A0700-GARWOLIN.domena.AD
(5) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(5) [cache] = ok
(5) if (notfound) {
(5) if (notfound) -> FALSE
(5) else {
(5) update control {
(5) Auth-Type := eap
(5) } # update control = noop
(5) } # else = noop
(5) update control {
(5) Cache-Status-Only := no
(5) } # update control = noop
(5) cache: EXPAND %{User-Name}
(5) cache: --> host/A0700-GARWOLIN.domena.AD
(5) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(5) cache: Merging cache entry into request
(5) [cache] = ok
(5) } # else = ok
(5) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(5) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(5) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(5) auth_log: EXPAND %t
(5) auth_log: --> Sun Jan 12 23:12:06 2020
(5) [auth_log] = ok
(5) [chap] = noop
(5) [mschap] = noop
(5) [digest] = noop
(5) [expiration] = noop
(5) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(5) [pap] = noop
(5) } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(5) authenticate {
(5) eap: Expiring EAP session with state 0xac869f77a8338641
(5) eap: Finished EAP session with state 0xac869f77a8338641
(5) eap: Previous EAP request found for state 0xac869f77a8338641, released from the list
(5) eap: Peer sent packet with method EAP PEAP (25)
(5) eap: Calling submodule eap_peap to process data
(5) eap_peap: Continuing EAP-TLS
(5) eap_peap: Peer ACKed our handshake fragment. handshake is finished
(5) eap_peap: [eaptls verify] = success
(5) eap_peap: [eaptls process] = success
(5) eap_peap: Session established. Decoding tunneled attributes
(5) eap_peap: PEAP state TUNNEL ESTABLISHED
(5) eap: Sending EAP Request (code 1) ID 182 length 43
(5) eap: EAP session adding &reply:State = 0xac869f77a9308641
(5) [eap] = handled
(5) } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(5) Challenge { ... } # empty sub-section is ignored
(5) session-state: Saving cached attributes
(5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(5) TLS-Session-Version = "TLS 1.0"
(5) Sent Access-Challenge Id 7 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(5) EAP-Message = 0x01b6002b190017030100209817d2492334edcc990503a5bed58645dc0013116b1aed89c674b7938de810f9
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0xac869f77a930864172a4c2cace804dda
(5) Finished request
Waking up in 4.9 seconds.
(6) Received Access-Request Id 74 from 10.213.0.2:57808 to 10.241.2.111:1812 length 393
(6) User-Name = "host/A0700-GARWOLIN.domena.AD"
(6) NAS-Port = 33636384
(6) Service-Type = Framed-User
(6) Framed-Protocol = PPP
(6) Framed-IP-Address = 10.213.0.194
(6) Calling-Station-Id = "bc5f-f4dc-9eeb"
(6) NAS-Identifier = "SW-Garwolin-01"
(6) NAS-Port-Type = Ethernet
(6) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(6) State = 0xac869f77a930864172a4c2cace804dda
(6) EAP-Message = 0x02b6003b1900170301003033c220184416cc47bf3e2edef33969c379e9e1d1d33c7b4210ad092f52e607f408e24496464dfa0ce64d510d13b1bea8
(6) Message-Authenticator = 0xd38bfede5e80aeb26094e516d6240efb
(6) Called-Station-Id = "04-F9-38-EC-8F-70"
(6) Login-IP-Host = 0.0.0.0
(6) NAS-IP-Address = 10.213.0.2
(6) Framed-MTU = 1500
(6) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(6) Huawei-Startup-Stamp = 1576522178
(6) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(6) Huawei-Connect-ID = 18269
(6) Huawei-Version = "Huawei S7700"
(6) Huawei-Product-ID = "S7700"
(6) Huawei-User-Mac = "\000\000\000\001"
(6) Restoring &session-state
(6) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(6) &session-state:TLS-Session-Version = "TLS 1.0"
(6) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(6) authorize {
(6) [preprocess] = ok
(6) if (!EAP-Message) {
(6) if (!EAP-Message) -> FALSE
(6) else {
(6) update control {
(6) Cache-Status-Only = yes
(6) } # update control = noop
(6) cache: EXPAND %{User-Name}
(6) cache: --> host/A0700-GARWOLIN.domena.AD
(6) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(6) [cache] = ok
(6) if (notfound) {
(6) if (notfound) -> FALSE
(6) else {
(6) update control {
(6) Auth-Type := eap
(6) } # update control = noop
(6) } # else = noop
(6) update control {
(6) Cache-Status-Only := no
(6) } # update control = noop
(6) cache: EXPAND %{User-Name}
(6) cache: --> host/A0700-GARWOLIN.domena.AD
(6) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(6) cache: Merging cache entry into request
(6) [cache] = ok
(6) } # else = ok
(6) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(6) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(6) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(6) auth_log: EXPAND %t
(6) auth_log: --> Sun Jan 12 23:12:06 2020
(6) [auth_log] = ok
(6) [chap] = noop
(6) [mschap] = noop
(6) [digest] = noop
(6) [expiration] = noop
(6) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(6) [pap] = noop
(6) } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(6) authenticate {
(6) eap: Expiring EAP session with state 0xac869f77a9308641
(6) eap: Finished EAP session with state 0xac869f77a9308641
(6) eap: Previous EAP request found for state 0xac869f77a9308641, released from the list
(6) eap: Peer sent packet with method EAP PEAP (25)
(6) eap: Calling submodule eap_peap to process data
(6) eap_peap: Continuing EAP-TLS
(6) eap_peap: [eaptls verify] = ok
(6) eap_peap: Done initial handshake
(6) eap_peap: [eaptls process] = ok
(6) eap_peap: Session established. Decoding tunneled attributes
(6) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(6) eap_peap: Identity - host/A0700-GARWOLIN.domena.AD
(6) eap_peap: Got inner identity 'host/A0700-GARWOLIN.domena.AD'
(6) eap_peap: Setting default EAP type for tunneled EAP session
(6) eap_peap: Got tunneled request
(6) eap_peap: EAP-Message = 0x02b6001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(6) eap_peap: Setting User-Name to host/A0700-GARWOLIN.domena.AD
(6) eap_peap: Sending tunneled request to inner-tunnel
(6) eap_peap: EAP-Message = 0x02b6001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(6) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(6) eap_peap: User-Name = "host/A0700-GARWOLIN.domena.AD"
(6) eap_peap: NAS-Port = 33636384
(6) eap_peap: Service-Type = Framed-User
(6) eap_peap: Framed-Protocol = PPP
(6) eap_peap: Framed-IP-Address = 10.213.0.194
(6) eap_peap: Calling-Station-Id = "bc5f-f4dc-9eeb"
(6) eap_peap: NAS-Identifier = "SW-Garwolin-01"
(6) eap_peap: NAS-Port-Type = Ethernet
(6) eap_peap: NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(6) eap_peap: Called-Station-Id = "04-F9-38-EC-8F-70"
(6) eap_peap: Login-IP-Host = 0.0.0.0
(6) eap_peap: NAS-IP-Address = 10.213.0.2
(6) eap_peap: Framed-MTU = 1500
(6) eap_peap: Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(6) eap_peap: Huawei-Startup-Stamp = 1576522178
(6) eap_peap: Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(6) eap_peap: Huawei-Connect-ID = 18269
(6) eap_peap: Huawei-Version = "Huawei S7700"
(6) eap_peap: Huawei-Product-ID = "S7700"
(6) eap_peap: Huawei-User-Mac = "\000\000\000\001"
(6) eap_peap: Event-Timestamp = "Jan 12 2020 23:12:06 CET"
(6) Virtual server inner-tunnel received request
(6) EAP-Message = 0x02b6001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(6) FreeRADIUS-Proxied-To = 127.0.0.1
(6) User-Name = "host/A0700-GARWOLIN.domena.AD"
(6) NAS-Port = 33636384
(6) Service-Type = Framed-User
(6) Framed-Protocol = PPP
(6) Framed-IP-Address = 10.213.0.194
(6) Calling-Station-Id = "bc5f-f4dc-9eeb"
(6) NAS-Identifier = "SW-Garwolin-01"
(6) NAS-Port-Type = Ethernet
(6) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(6) Called-Station-Id = "04-F9-38-EC-8F-70"
(6) Login-IP-Host = 0.0.0.0
(6) NAS-IP-Address = 10.213.0.2
(6) Framed-MTU = 1500
(6) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(6) Huawei-Startup-Stamp = 1576522178
(6) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(6) Huawei-Connect-ID = 18269
(6) Huawei-Version = "Huawei S7700"
(6) Huawei-Product-ID = "S7700"
(6) Huawei-User-Mac = "\000\000\000\001"
(6) Event-Timestamp = "Jan 12 2020 23:12:06 CET"
(6) WARNING: Outer and inner identities are the same. User privacy is compromised.
(6) server inner-tunnel {
(6) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(6) authorize {
(6) [chap] = noop
(6) update control {
(6) &Proxy-To-Realm := LOCAL
(6) } # update control = noop
(6) eap: Peer sent EAP Response (code 2) ID 182 length 31
(6) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(6) [eap] = ok
(6) } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(6) authenticate {
(6) eap: Peer sent packet with method EAP Identity (1)
(6) eap: Calling submodule eap_mschapv2 to process data
(6) eap_mschapv2: Issuing Challenge
(6) eap: Sending EAP Request (code 1) ID 183 length 43
(6) eap: EAP session adding &reply:State = 0x17f2b0a51745aacb
(6) [eap] = handled
(6) } # authenticate = handled
(6) } # server inner-tunnel
(6) Virtual server sending reply
(6) EAP-Message = 0x01b7002b1a01b7002610576109f915bdfeeb327b759c96ae51f2667265657261646975732d332e302e3139
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0x17f2b0a51745aacb5b0da8375e67c866
(6) eap_peap: Got tunneled reply code 11
(6) eap_peap: EAP-Message = 0x01b7002b1a01b7002610576109f915bdfeeb327b759c96ae51f2667265657261646975732d332e302e3139
(6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(6) eap_peap: State = 0x17f2b0a51745aacb5b0da8375e67c866
(6) eap_peap: Got tunneled reply RADIUS code 11
(6) eap_peap: EAP-Message = 0x01b7002b1a01b7002610576109f915bdfeeb327b759c96ae51f2667265657261646975732d332e302e3139
(6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(6) eap_peap: State = 0x17f2b0a51745aacb5b0da8375e67c866
(6) eap_peap: Got tunneled Access-Challenge
(6) eap: Sending EAP Request (code 1) ID 183 length 75
(6) eap: EAP session adding &reply:State = 0xac869f77aa318641
(6) [eap] = handled
(6) } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(6) Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(6) TLS-Session-Version = "TLS 1.0"
(6) Sent Access-Challenge Id 74 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(6) EAP-Message = 0x01b7004b1900170301004012275ca70d5a307d6e6dfc2746e48c446efea69a6df50c08709b2abbb0fb26b5ef26bf07f0b0674b073ea3f87337ccb3369d64a60f233d1f4d6456c37046948a
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0xac869f77aa31864172a4c2cace804dda
(6) Finished request
Waking up in 4.8 seconds.
(7) Received Access-Request Id 26 from 10.213.0.2:57808 to 10.241.2.111:1812 length 457
(7) User-Name = "host/A0700-GARWOLIN.domena.AD"
(7) NAS-Port = 33636384
(7) Service-Type = Framed-User
(7) Framed-Protocol = PPP
(7) Framed-IP-Address = 10.213.0.194
(7) Calling-Station-Id = "bc5f-f4dc-9eeb"
(7) NAS-Identifier = "SW-Garwolin-01"
(7) NAS-Port-Type = Ethernet
(7) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(7) State = 0xac869f77aa31864172a4c2cace804dda
(7) EAP-Message = 0x02b7007b190017030100701064699d73f489ab94edf644579632573e5dd715d4c8667d47ee527dea896b27c0199195358a2f0c7989afc36c50bbbe8d0ccd2d6f4cf8550e86b48577563efc2a40711a1851d3cd11c77c18fe06154ed24b730ba27edb5bc6824cd05d236cccf3ef0d23702ca32212053b9999f33fa8
(7) Message-Authenticator = 0x3302e748f36a82af500413af3493f6fc
(7) Called-Station-Id = "04-F9-38-EC-8F-70"
(7) Login-IP-Host = 0.0.0.0
(7) NAS-IP-Address = 10.213.0.2
(7) Framed-MTU = 1500
(7) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(7) Huawei-Startup-Stamp = 1576522178
(7) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(7) Huawei-Connect-ID = 18269
(7) Huawei-Version = "Huawei S7700"
(7) Huawei-Product-ID = "S7700"
(7) Huawei-User-Mac = "\000\000\000\001"
(7) Restoring &session-state
(7) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(7) &session-state:TLS-Session-Version = "TLS 1.0"
(7) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(7) authorize {
(7) [preprocess] = ok
(7) if (!EAP-Message) {
(7) if (!EAP-Message) -> FALSE
(7) else {
(7) update control {
(7) Cache-Status-Only = yes
(7) } # update control = noop
(7) cache: EXPAND %{User-Name}
(7) cache: --> host/A0700-GARWOLIN.domena.AD
(7) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(7) [cache] = ok
(7) if (notfound) {
(7) if (notfound) -> FALSE
(7) else {
(7) update control {
(7) Auth-Type := eap
(7) } # update control = noop
(7) } # else = noop
(7) update control {
(7) Cache-Status-Only := no
(7) } # update control = noop
(7) cache: EXPAND %{User-Name}
(7) cache: --> host/A0700-GARWOLIN.domena.AD
(7) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(7) cache: Merging cache entry into request
(7) [cache] = ok
(7) } # else = ok
(7) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(7) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(7) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(7) auth_log: EXPAND %t
(7) auth_log: --> Sun Jan 12 23:12:06 2020
(7) [auth_log] = ok
(7) [chap] = noop
(7) [mschap] = noop
(7) [digest] = noop
(7) [expiration] = noop
(7) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(7) [pap] = noop
(7) } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(7) authenticate {
(7) eap: Expiring EAP session with state 0x17f2b0a51745aacb
(7) eap: Finished EAP session with state 0xac869f77aa318641
(7) eap: Previous EAP request found for state 0xac869f77aa318641, released from the list
(7) eap: Peer sent packet with method EAP PEAP (25)
(7) eap: Calling submodule eap_peap to process data
(7) eap_peap: Continuing EAP-TLS
(7) eap_peap: [eaptls verify] = ok
(7) eap_peap: Done initial handshake
(7) eap_peap: [eaptls process] = ok
(7) eap_peap: Session established. Decoding tunneled attributes
(7) eap_peap: PEAP state phase2
(7) eap_peap: EAP method MSCHAPv2 (26)
(7) eap_peap: Got tunneled request
(7) eap_peap: EAP-Message = 0x02b700551a02b7005031190a653750bb031ab1107e8f42f520ba0000000000000000638dbbcd2927ad72e7a5893c5dc0120069e1cfc941b36f7100686f73742f41303730302d474152574f4c494e2e5a55532e4144
(7) eap_peap: Setting User-Name to host/A0700-GARWOLIN.domena.AD
(7) eap_peap: Sending tunneled request to inner-tunnel
(7) eap_peap: EAP-Message = 0x02b700551a02b7005031190a653750bb031ab1107e8f42f520ba0000000000000000638dbbcd2927ad72e7a5893c5dc0120069e1cfc941b36f7100686f73742f41303730302d474152574f4c494e2e5a55532e4144
(7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(7) eap_peap: User-Name = "host/A0700-GARWOLIN.domena.AD"
(7) eap_peap: State = 0x17f2b0a51745aacb5b0da8375e67c866
(7) eap_peap: NAS-Port = 33636384
(7) eap_peap: Service-Type = Framed-User
(7) eap_peap: Framed-Protocol = PPP
(7) eap_peap: Framed-IP-Address = 10.213.0.194
(7) eap_peap: Calling-Station-Id = "bc5f-f4dc-9eeb"
(7) eap_peap: NAS-Identifier = "SW-Garwolin-01"
(7) eap_peap: NAS-Port-Type = Ethernet
(7) eap_peap: NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(7) eap_peap: Called-Station-Id = "04-F9-38-EC-8F-70"
(7) eap_peap: Login-IP-Host = 0.0.0.0
(7) eap_peap: NAS-IP-Address = 10.213.0.2
(7) eap_peap: Framed-MTU = 1500
(7) eap_peap: Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(7) eap_peap: Huawei-Startup-Stamp = 1576522178
(7) eap_peap: Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(7) eap_peap: Huawei-Connect-ID = 18269
(7) eap_peap: Huawei-Version = "Huawei S7700"
(7) eap_peap: Huawei-Product-ID = "S7700"
(7) eap_peap: Huawei-User-Mac = "\000\000\000\001"
(7) eap_peap: Event-Timestamp = "Jan 12 2020 23:12:06 CET"
(7) Virtual server inner-tunnel received request
(7) EAP-Message = 0x02b700551a02b7005031190a653750bb031ab1107e8f42f520ba0000000000000000638dbbcd2927ad72e7a5893c5dc0120069e1cfc941b36f7100686f73742f41303730302d474152574f4c494e2e5a55532e4144
(7) FreeRADIUS-Proxied-To = 127.0.0.1
(7) User-Name = "host/A0700-GARWOLIN.domena.AD"
(7) State = 0x17f2b0a51745aacb5b0da8375e67c866
(7) NAS-Port = 33636384
(7) Service-Type = Framed-User
(7) Framed-Protocol = PPP
(7) Framed-IP-Address = 10.213.0.194
(7) Calling-Station-Id = "bc5f-f4dc-9eeb"
(7) NAS-Identifier = "SW-Garwolin-01"
(7) NAS-Port-Type = Ethernet
(7) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(7) Called-Station-Id = "04-F9-38-EC-8F-70"
(7) Login-IP-Host = 0.0.0.0
(7) NAS-IP-Address = 10.213.0.2
(7) Framed-MTU = 1500
(7) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(7) Huawei-Startup-Stamp = 1576522178
(7) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(7) Huawei-Connect-ID = 18269
(7) Huawei-Version = "Huawei S7700"
(7) Huawei-Product-ID = "S7700"
(7) Huawei-User-Mac = "\000\000\000\001"
(7) Event-Timestamp = "Jan 12 2020 23:12:06 CET"
(7) WARNING: Outer and inner identities are the same. User privacy is compromised.
(7) server inner-tunnel {
(7) session-state: No cached attributes
(7) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(7) authorize {
(7) [chap] = noop
(7) update control {
(7) &Proxy-To-Realm := LOCAL
(7) } # update control = noop
(7) eap: Peer sent EAP Response (code 2) ID 183 length 85
(7) eap: No EAP Start, assuming it's an on-going EAP conversation
(7) [eap] = updated
(7) sql: EXPAND %{User-Name}
(7) sql: --> host/A0700-GARWOLIN.domena.AD
(7) sql: SQL-User-Name set to 'host/A0700-GARWOLIN.domena.AD'
rlm_sql (sql): Reserved connection (1)
(7) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(7) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY id
(7) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY id
rlm_sql (sql): Reserved connection (2)
rlm_sql (sql): Released connection (2)
Need 5 more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (6), 1 of 26 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
(7) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(7) sql: --> SELECT groupname FROM radusergroup WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY priority
(7) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY priority
(7) sql: User not found in any groups
rlm_sql (sql): Released connection (1)
(7) [sql] = notfound
rlm_ldap (ldap): Reserved connection (0)
(7) ldap: EXPAND (sAMAccountName=%{%{Stripped-User-Name}:-%{mschap:User-Name}})
(7) ldap: --> (sAMAccountName=A0700-GARWOLIN$)
(7) ldap: Performing search in "dc=domena,dc=AD" with filter "(sAMAccountName=A0700-GARWOLIN$)", scope "sub"
(7) ldap: Waiting for search result...
(7) ldap: User object found at DN "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(7) ldap: Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(7) ldap: Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(7) ldap: Waiting for search result...
(7) ldap: Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
(7) ldap: Adding cacheable user object memberships
(7) ldap: &control:LDAP-Cached-Membership += "VLAN130_SIEO1"
(7) ldap: EXPAND (|(&(objectClass=group)(member=%{control:Ldap-UserDn})))
(7) ldap: --> (|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD)))
(7) ldap: Performing search in "dc=domena,dc=AD" with filter "(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD)))", scope "sub"
(7) ldap: Waiting for search result...
(7) ldap: Adding cacheable group object memberships
(7) ldap: &control:LDAP-Cached-Membership += "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (0)
Need 5 more connections to reach 10 spares
rlm_ldap (ldap): Opening additional connection (5), 1 of 27 pending slots used
rlm_ldap (ldap): Connecting to ldap://domena.ad:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
(7) [ldap] = ok
(7) [expiration] = noop
(7) [logintime] = noop
(7) [pap] = noop
(7) } # authorize = updated
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(7) authenticate {
(7) eap: Expiring EAP session with state 0x17f2b0a51745aacb
(7) eap: Finished EAP session with state 0x17f2b0a51745aacb
(7) eap: Previous EAP request found for state 0x17f2b0a51745aacb, released from the list
(7) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(7) eap: Calling submodule eap_mschapv2 to process data
(7) eap_mschapv2: # Executing group from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(7) eap_mschapv2: authenticate {
(7) mschap: Creating challenge hash with username: host/A0700-GARWOLIN.domena.AD
(7) mschap: Client is using MS-CHAPv2
(7) mschap: Executing: /usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name:-None} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00} --domain=%{%{mschap:NT-Domain}:-domena.AD}:
(7) mschap: EXPAND --username=%{mschap:User-Name:-None}
(7) mschap: --> --username=A0700-GARWOLIN$
(7) mschap: Creating challenge hash with username: host/A0700-GARWOLIN.domena.AD
(7) mschap: EXPAND --challenge=%{mschap:Challenge:-00}
(7) mschap: --> --challenge=05373c8f91296048
(7) mschap: EXPAND --nt-response=%{mschap:NT-Response:-00}
(7) mschap: --> --nt-response=638dbbcd2927ad72e7a5893c5dc0120069e1cfc941b36f71
(7) mschap: EXPAND --domain=%{%{mschap:NT-Domain}:-domena.AD}
(7) mschap: --> --domain=domena
(7) mschap: Program returned code (0) and output 'NT_KEY: 8A9188983E5BE1100D294775B7FD4292'
(7) mschap: Adding MS-CHAPv2 MPPE keys
(7) eap_mschapv2: [mschap] = ok
(7) eap_mschapv2: } # authenticate = ok
(7) eap_mschapv2: MSCHAP Success
(7) eap: Sending EAP Request (code 1) ID 184 length 51
(7) eap: EAP session adding &reply:State = 0x17f2b0a5164aaacb
(7) [eap] = handled
(7) } # authenticate = handled
(7) } # server inner-tunnel
(7) Virtual server sending reply
(7) EAP-Message = 0x01b800331a03b7002e533d33424137314644383039353343393738364130304334363130413436413631423035374231314645
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0x17f2b0a5164aaacb5b0da8375e67c866
(7) eap_peap: Got tunneled reply code 11
(7) eap_peap: EAP-Message = 0x01b800331a03b7002e533d33424137314644383039353343393738364130304334363130413436413631423035374231314645
(7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap: State = 0x17f2b0a5164aaacb5b0da8375e67c866
(7) eap_peap: Got tunneled reply RADIUS code 11
(7) eap_peap: EAP-Message = 0x01b800331a03b7002e533d33424137314644383039353343393738364130304334363130413436413631423035374231314645
(7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap: State = 0x17f2b0a5164aaacb5b0da8375e67c866
(7) eap_peap: Got tunneled Access-Challenge
(7) eap: Sending EAP Request (code 1) ID 184 length 91
(7) eap: EAP session adding &reply:State = 0xac869f77ab3e8641
(7) [eap] = handled
(7) } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(7) Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(7) TLS-Session-Version = "TLS 1.0"
(7) Sent Access-Challenge Id 26 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(7) EAP-Message = 0x01b8005b190017030100507eb13f2202cfb7a5fc61116747f189a66ea6aeef2eb2d76c97ecfe7f1993faa2bd1af9adb9d4ba2453bbd60a257ddf9fcb5e1e69f28c46ccca556e9bfeac23a450acfa137f051580bb2f29b0f3b4a9f6
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0xac869f77ab3e864172a4c2cace804dda
(7) Finished request
Waking up in 4.7 seconds.
(8) Received Access-Request Id 70 from 10.213.0.2:57808 to 10.241.2.111:1812 length 377
(8) User-Name = "host/A0700-GARWOLIN.domena.AD"
(8) NAS-Port = 33636384
(8) Service-Type = Framed-User
(8) Framed-Protocol = PPP
(8) Framed-IP-Address = 10.213.0.194
(8) Calling-Station-Id = "bc5f-f4dc-9eeb"
(8) NAS-Identifier = "SW-Garwolin-01"
(8) NAS-Port-Type = Ethernet
(8) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(8) State = 0xac869f77ab3e864172a4c2cace804dda
(8) EAP-Message = 0x02b8002b19001703010020d8f46cc385955da85d278b11a8f344a6b0e686c862edca6f62f6332f5727d79e
(8) Message-Authenticator = 0xedd396a30d1943722efd30cf1b7bf5cb
(8) Called-Station-Id = "04-F9-38-EC-8F-70"
(8) Login-IP-Host = 0.0.0.0
(8) NAS-IP-Address = 10.213.0.2
(8) Framed-MTU = 1500
(8) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(8) Huawei-Startup-Stamp = 1576522178
(8) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(8) Huawei-Connect-ID = 18269
(8) Huawei-Version = "Huawei S7700"
(8) Huawei-Product-ID = "S7700"
(8) Huawei-User-Mac = "\000\000\000\001"
(8) Restoring &session-state
(8) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(8) &session-state:TLS-Session-Version = "TLS 1.0"
(8) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(8) authorize {
(8) [preprocess] = ok
(8) if (!EAP-Message) {
(8) if (!EAP-Message) -> FALSE
(8) else {
(8) update control {
(8) Cache-Status-Only = yes
(8) } # update control = noop
(8) cache: EXPAND %{User-Name}
(8) cache: --> host/A0700-GARWOLIN.domena.AD
(8) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(8) [cache] = ok
(8) if (notfound) {
(8) if (notfound) -> FALSE
(8) else {
(8) update control {
(8) Auth-Type := eap
(8) } # update control = noop
(8) } # else = noop
(8) update control {
(8) Cache-Status-Only := no
(8) } # update control = noop
(8) cache: EXPAND %{User-Name}
(8) cache: --> host/A0700-GARWOLIN.domena.AD
(8) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(8) cache: Merging cache entry into request
(8) [cache] = ok
(8) } # else = ok
(8) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(8) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(8) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(8) auth_log: EXPAND %t
(8) auth_log: --> Sun Jan 12 23:12:06 2020
(8) [auth_log] = ok
(8) [chap] = noop
(8) [mschap] = noop
(8) [digest] = noop
(8) [expiration] = noop
(8) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(8) [pap] = noop
(8) } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(8) authenticate {
(8) eap: Expiring EAP session with state 0x17f2b0a5164aaacb
(8) eap: Finished EAP session with state 0xac869f77ab3e8641
(8) eap: Previous EAP request found for state 0xac869f77ab3e8641, released from the list
(8) eap: Peer sent packet with method EAP PEAP (25)
(8) eap: Calling submodule eap_peap to process data
(8) eap_peap: Continuing EAP-TLS
(8) eap_peap: [eaptls verify] = ok
(8) eap_peap: Done initial handshake
(8) eap_peap: [eaptls process] = ok
(8) eap_peap: Session established. Decoding tunneled attributes
(8) eap_peap: PEAP state phase2
(8) eap_peap: EAP method MSCHAPv2 (26)
(8) eap_peap: Got tunneled request
(8) eap_peap: EAP-Message = 0x02b800061a03
(8) eap_peap: Setting User-Name to host/A0700-GARWOLIN.domena.AD
(8) eap_peap: Sending tunneled request to inner-tunnel
(8) eap_peap: EAP-Message = 0x02b800061a03
(8) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(8) eap_peap: User-Name = "host/A0700-GARWOLIN.domena.AD"
(8) eap_peap: State = 0x17f2b0a5164aaacb5b0da8375e67c866
(8) eap_peap: NAS-Port = 33636384
(8) eap_peap: Service-Type = Framed-User
(8) eap_peap: Framed-Protocol = PPP
(8) eap_peap: Framed-IP-Address = 10.213.0.194
(8) eap_peap: Calling-Station-Id = "bc5f-f4dc-9eeb"
(8) eap_peap: NAS-Identifier = "SW-Garwolin-01"
(8) eap_peap: NAS-Port-Type = Ethernet
(8) eap_peap: NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(8) eap_peap: Called-Station-Id = "04-F9-38-EC-8F-70"
(8) eap_peap: Login-IP-Host = 0.0.0.0
(8) eap_peap: NAS-IP-Address = 10.213.0.2
(8) eap_peap: Framed-MTU = 1500
(8) eap_peap: Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(8) eap_peap: Huawei-Startup-Stamp = 1576522178
(8) eap_peap: Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(8) eap_peap: Huawei-Connect-ID = 18269
(8) eap_peap: Huawei-Version = "Huawei S7700"
(8) eap_peap: Huawei-Product-ID = "S7700"
(8) eap_peap: Huawei-User-Mac = "\000\000\000\001"
(8) eap_peap: Event-Timestamp = "Jan 12 2020 23:12:06 CET"
(8) Virtual server inner-tunnel received request
(8) EAP-Message = 0x02b800061a03
(8) FreeRADIUS-Proxied-To = 127.0.0.1
(8) User-Name = "host/A0700-GARWOLIN.domena.AD"
(8) State = 0x17f2b0a5164aaacb5b0da8375e67c866
(8) NAS-Port = 33636384
(8) Service-Type = Framed-User
(8) Framed-Protocol = PPP
(8) Framed-IP-Address = 10.213.0.194
(8) Calling-Station-Id = "bc5f-f4dc-9eeb"
(8) NAS-Identifier = "SW-Garwolin-01"
(8) NAS-Port-Type = Ethernet
(8) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(8) Called-Station-Id = "04-F9-38-EC-8F-70"
(8) Login-IP-Host = 0.0.0.0
(8) NAS-IP-Address = 10.213.0.2
(8) Framed-MTU = 1500
(8) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(8) Huawei-Startup-Stamp = 1576522178
(8) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(8) Huawei-Connect-ID = 18269
(8) Huawei-Version = "Huawei S7700"
(8) Huawei-Product-ID = "S7700"
(8) Huawei-User-Mac = "\000\000\000\001"
(8) Event-Timestamp = "Jan 12 2020 23:12:06 CET"
(8) WARNING: Outer and inner identities are the same. User privacy is compromised.
(8) server inner-tunnel {
(8) session-state: No cached attributes
(8) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(8) authorize {
(8) [chap] = noop
(8) update control {
(8) &Proxy-To-Realm := LOCAL
(8) } # update control = noop
(8) eap: Peer sent EAP Response (code 2) ID 184 length 6
(8) eap: No EAP Start, assuming it's an on-going EAP conversation
(8) [eap] = updated
(8) sql: EXPAND %{User-Name}
(8) sql: --> host/A0700-GARWOLIN.domena.AD
(8) sql: SQL-User-Name set to 'host/A0700-GARWOLIN.domena.AD'
rlm_sql (sql): Reserved connection (3)
(8) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(8) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY id
(8) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY id
rlm_sql (sql): Reserved connection (4)
rlm_sql (sql): Released connection (4)
(8) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(8) sql: --> SELECT groupname FROM radusergroup WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY priority
(8) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'host/A0700-GARWOLIN.domena.AD' ORDER BY priority
(8) sql: User not found in any groups
rlm_sql (sql): Released connection (3)
(8) [sql] = notfound
rlm_ldap (ldap): Reserved connection (1)
(8) ldap: EXPAND (sAMAccountName=%{%{Stripped-User-Name}:-%{mschap:User-Name}})
(8) ldap: --> (sAMAccountName=A0700-GARWOLIN$)
(8) ldap: Performing search in "dc=domena,dc=AD" with filter "(sAMAccountName=A0700-GARWOLIN$)", scope "sub"
(8) ldap: Waiting for search result...
(8) ldap: User object found at DN "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(8) ldap: Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(8) ldap: Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(8) ldap: Waiting for search result...
(8) ldap: Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
(8) ldap: Adding cacheable user object memberships
(8) ldap: &control:LDAP-Cached-Membership += "VLAN130_SIEO1"
(8) ldap: EXPAND (|(&(objectClass=group)(member=%{control:Ldap-UserDn})))
(8) ldap: --> (|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD)))
(8) ldap: Performing search in "dc=domena,dc=AD" with filter "(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD)))", scope "sub"
(8) ldap: Waiting for search result...
(8) ldap: Adding cacheable group object memberships
(8) ldap: &control:LDAP-Cached-Membership += "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (1)
(8) [ldap] = ok
(8) [expiration] = noop
(8) [logintime] = noop
(8) [pap] = noop
(8) } # authorize = updated
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(8) authenticate {
(8) eap: Expiring EAP session with state 0x17f2b0a5164aaacb
(8) eap: Finished EAP session with state 0x17f2b0a5164aaacb
(8) eap: Previous EAP request found for state 0x17f2b0a5164aaacb, released from the list
(8) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(8) eap: Calling submodule eap_mschapv2 to process data
(8) eap: Sending EAP Success (code 3) ID 184 length 4
(8) eap: Freeing handler
(8) [eap] = ok
(8) } # authenticate = ok
(8) # Executing section post-auth from file /etc/freeradius/3.0/sites-enabled/inner-tunnel
(8) post-auth {
(8) sql: EXPAND .query
(8) sql: --> .query
(8) sql: Using query template 'query'
rlm_sql (sql): Reserved connection (0)
(8) sql: EXPAND %{User-Name}
(8) sql: --> host/A0700-GARWOLIN.domena.AD
(8) sql: SQL-User-Name set to 'host/A0700-GARWOLIN.domena.AD'
(8) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')
(8) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'host/A0700-GARWOLIN.domena.AD', '', 'Access-Accept', '2020-01-12 23:12:06')
(8) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'host/A0700-GARWOLIN.domena.AD', '', 'Access-Accept', '2020-01-12 23:12:06')
(8) sql: SQL query returned: success
(8) sql: 1 record(s) updated
rlm_sql (sql): Released connection (0)
(8) [sql] = ok
(8) if (0) {
(8) if (0) -> FALSE
(8) } # post-auth = ok
(8) } # server inner-tunnel
(8) Virtual server sending reply
(8) MS-MPPE-Encryption-Policy = Encryption-Allowed
(8) MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(8) MS-MPPE-Send-Key = 0xe7f40166e7d146d1b79041134706ed75
(8) MS-MPPE-Recv-Key = 0xe3b8d016fd99c2fc93bfa185b2c17944
(8) EAP-Message = 0x03b80004
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) User-Name = "host/A0700-GARWOLIN.domena.AD"
(8) eap_peap: Got tunneled reply code 2
(8) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed
(8) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(8) eap_peap: MS-MPPE-Send-Key = 0xe7f40166e7d146d1b79041134706ed75
(8) eap_peap: MS-MPPE-Recv-Key = 0xe3b8d016fd99c2fc93bfa185b2c17944
(8) eap_peap: EAP-Message = 0x03b80004
(8) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(8) eap_peap: User-Name = "host/A0700-GARWOLIN.domena.AD"
(8) eap_peap: Got tunneled reply RADIUS code 2
(8) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed
(8) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(8) eap_peap: MS-MPPE-Send-Key = 0xe7f40166e7d146d1b79041134706ed75
(8) eap_peap: MS-MPPE-Recv-Key = 0xe3b8d016fd99c2fc93bfa185b2c17944
(8) eap_peap: EAP-Message = 0x03b80004
(8) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000
(8) eap_peap: User-Name = "host/A0700-GARWOLIN.domena.AD"
(8) eap_peap: Tunneled authentication was successful
(8) eap_peap: SUCCESS
(8) eap_peap: Saving tunneled attributes for later
(8) eap: Sending EAP Request (code 1) ID 185 length 43
(8) eap: EAP session adding &reply:State = 0xac869f77a43f8641
(8) [eap] = handled
(8) } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(8) Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(8) TLS-Session-Version = "TLS 1.0"
(8) Sent Access-Challenge Id 70 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(8) EAP-Message = 0x01b9002b190017030100207326a1cec2bb3a170d4bebf33311f9e4b266761bb31f2903d317ba02c39368c7
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0xac869f77a43f864172a4c2cace804dda
(8) Finished request
Waking up in 4.7 seconds.
(9) Received Access-Request Id 69 from 10.213.0.2:57808 to 10.241.2.111:1812 length 377
(9) User-Name = "host/A0700-GARWOLIN.domena.AD"
(9) NAS-Port = 33636384
(9) Service-Type = Framed-User
(9) Framed-Protocol = PPP
(9) Framed-IP-Address = 10.213.0.194
(9) Calling-Station-Id = "bc5f-f4dc-9eeb"
(9) NAS-Identifier = "SW-Garwolin-01"
(9) NAS-Port-Type = Ethernet
(9) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(9) State = 0xac869f77a43f864172a4c2cace804dda
(9) EAP-Message = 0x02b9002b190017030100202da283152fb77381c21341e4921c32510a97c386c6ee9b291532b3e93ae7730c
(9) Message-Authenticator = 0x48120974986200b2a9a2102a5851e653
(9) Called-Station-Id = "04-F9-38-EC-8F-70"
(9) Login-IP-Host = 0.0.0.0
(9) NAS-IP-Address = 10.213.0.2
(9) Framed-MTU = 1500
(9) Acct-Session-Id = "SW-Garw0202000000003205f361000475d"
(9) Huawei-Startup-Stamp = 1576522178
(9) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(9) Huawei-Connect-ID = 18269
(9) Huawei-Version = "Huawei S7700"
(9) Huawei-Product-ID = "S7700"
(9) Huawei-User-Mac = "\000\000\000\001"
(9) Restoring &session-state
(9) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-SHA"
(9) &session-state:TLS-Session-Version = "TLS 1.0"
(9) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(9) authorize {
(9) [preprocess] = ok
(9) if (!EAP-Message) {
(9) if (!EAP-Message) -> FALSE
(9) else {
(9) update control {
(9) Cache-Status-Only = yes
(9) } # update control = noop
(9) cache: EXPAND %{User-Name}
(9) cache: --> host/A0700-GARWOLIN.domena.AD
(9) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(9) [cache] = ok
(9) if (notfound) {
(9) if (notfound) -> FALSE
(9) else {
(9) update control {
(9) Auth-Type := eap
(9) } # update control = noop
(9) } # else = noop
(9) update control {
(9) Cache-Status-Only := no
(9) } # update control = noop
(9) cache: EXPAND %{User-Name}
(9) cache: --> host/A0700-GARWOLIN.domena.AD
(9) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(9) cache: Merging cache entry into request
(9) [cache] = ok
(9) } # else = ok
(9) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(9) auth_log: --> /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(9) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/10.213.0.2/auth-detail-20200112
(9) auth_log: EXPAND %t
(9) auth_log: --> Sun Jan 12 23:12:06 2020
(9) [auth_log] = ok
(9) [chap] = noop
(9) [mschap] = noop
(9) [digest] = noop
(9) [expiration] = noop
(9) [logintime] = noop
Not doing PAP as Auth-Type is already set.
(9) [pap] = noop
(9) } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(9) authenticate {
(9) eap: Expiring EAP session with state 0xac869f77a43f8641
(9) eap: Finished EAP session with state 0xac869f77a43f8641
(9) eap: Previous EAP request found for state 0xac869f77a43f8641, released from the list
(9) eap: Peer sent packet with method EAP PEAP (25)
(9) eap: Calling submodule eap_peap to process data
(9) eap_peap: Continuing EAP-TLS
(9) eap_peap: [eaptls verify] = ok
(9) eap_peap: Done initial handshake
(9) eap_peap: [eaptls process] = ok
(9) eap_peap: Session established. Decoding tunneled attributes
(9) eap_peap: PEAP state send tlv success
(9) eap_peap: Received EAP-TLV response
(9) eap_peap: Success
(9) eap_peap: Using saved attributes from the original Access-Accept
(9) eap_peap: User-Name = "host/A0700-GARWOLIN.domena.AD"
(9) eap: Sending EAP Success (code 3) ID 185 length 4
(9) eap: Freeing handler
(9) [eap] = ok
(9) } # authenticate = ok
(9) # Executing section post-auth from file /etc/freeradius/3.0/sites-enabled/default
(9) post-auth {
(9) update {
(9) &reply::TLS-Session-Cipher-Suite += &session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES256-SHA'
(9) &reply::TLS-Session-Version += &session-state:TLS-Session-Version[*] -> 'TLS 1.0'
(9) } # update = noop
(9) update control {
(9) Cache-Status-Only = yes
(9) } # update control = noop
(9) cache: EXPAND %{User-Name}
(9) cache: --> host/A0700-GARWOLIN.domena.AD
(9) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(9) [cache] = ok
(9) if (notfound) {
(9) if (notfound) -> FALSE
(9) update control {
(9) Cache-Status-Only := no
(9) } # update control = noop
(9) cache: EXPAND %{User-Name}
(9) cache: --> host/A0700-GARWOLIN.domena.AD
(9) cache: Found entry for "host/A0700-GARWOLIN.domena.AD"
(9) cache: Merging cache entry into request
(9) [cache] = ok
(9) [exec] = noop
(9) policy group_filter {
(9) if (LDAP-Group == VLAN16_SIEO1) {
(9) Searching for user in group "VLAN16_SIEO1"
rlm_ldap (ldap): Reserved connection (2)
(9) EXPAND (sAMAccountName=%{%{Stripped-User-Name}:-%{mschap:User-Name}})
(9) --> (sAMAccountName=A0700-GARWOLIN$)
(9) Performing search in "dc=domena,dc=AD" with filter "(sAMAccountName=A0700-GARWOLIN$)", scope "sub"
(9) Waiting for search result...
(9) User object found at DN "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN16_SIEO1)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN16_SIEO1)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN16_SIEO1)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (2)
(9) User is not a member of "VLAN16_SIEO1"
(9) if (LDAP-Group == VLAN16_SIEO1) -> FALSE
(9) elsif (LDAP-Group == VLAN32) {
(9) Searching for user in group "VLAN32"
rlm_ldap (ldap): Reserved connection (3)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN32)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN32)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN32)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (3)
Need 4 more connections to reach 10 spares
rlm_ldap (ldap): Opening additional connection (6), 1 of 26 pending slots used
rlm_ldap (ldap): Connecting to ldap://domena.ad:389
rlm_ldap (ldap): Waiting for bind result...
rlm_ldap (ldap): Bind successful
(9) User is not a member of "VLAN32"
(9) elsif (LDAP-Group == VLAN32) -> FALSE
(9) elsif (LDAP-Group == VLAN128) {
(9) Searching for user in group "VLAN128"
rlm_ldap (ldap): Reserved connection (4)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN128)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN128)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN128)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (4)
(9) User is not a member of "VLAN128"
(9) elsif (LDAP-Group == VLAN128) -> FALSE
(9) elsif (LDAP-Group == VLAN129) {
(9) Searching for user in group "VLAN129"
rlm_ldap (ldap): Reserved connection (0)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN129)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN129)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN129)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (0)
(9) User is not a member of "VLAN129"
(9) elsif (LDAP-Group == VLAN129) -> FALSE
(9) elsif (LDAP-Cached-Membership[*] =~ /.*VLAN130_.*/) {
(9) elsif (LDAP-Cached-Membership[*] =~ /.*VLAN130_.*/) -> FALSE
(9) elsif (LDAP-Group == VLAN131) {
(9) Searching for user in group "VLAN131"
rlm_ldap (ldap): Reserved connection (5)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN131)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN131)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN131)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (5)
(9) User is not a member of "VLAN131"
(9) elsif (LDAP-Group == VLAN131) -> FALSE
(9) elsif (LDAP-Group == VLAN132) {
(9) Searching for user in group "VLAN132"
rlm_ldap (ldap): Reserved connection (1)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN132)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN132)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN132)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (1)
(9) User is not a member of "VLAN132"
(9) elsif (LDAP-Group == VLAN132) -> FALSE
(9) elsif (LDAP-Group == VLAN133) {
(9) Searching for user in group "VLAN133"
rlm_ldap (ldap): Reserved connection (2)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN133)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN133)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN133)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (2)
(9) User is not a member of "VLAN133"
(9) elsif (LDAP-Group == VLAN133) -> FALSE
(9) elsif (LDAP-Group == VLAN134) {
(9) Searching for user in group "VLAN134"
rlm_ldap (ldap): Reserved connection (3)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN134)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN134)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN134)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (3)
(9) User is not a member of "VLAN134"
(9) elsif (LDAP-Group == VLAN134) -> FALSE
(9) elsif (LDAP-Group == VLAN135) {
(9) Searching for user in group "VLAN135"
rlm_ldap (ldap): Reserved connection (6)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN135)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN135)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN135)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (6)
(9) User is not a member of "VLAN135"
(9) elsif (LDAP-Group == VLAN135) -> FALSE
(9) elsif (LDAP-Group == VLAN136) {
(9) Searching for user in group "VLAN136"
rlm_ldap (ldap): Reserved connection (4)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN136)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN136)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN136)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (4)
(9) User is not a member of "VLAN136"
(9) elsif (LDAP-Group == VLAN136) -> FALSE
(9) elsif (LDAP-Group == VLAN137) {
(9) Searching for user in group "VLAN137"
rlm_ldap (ldap): Reserved connection (0)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN137)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN137)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN137)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (0)
(9) User is not a member of "VLAN137"
(9) elsif (LDAP-Group == VLAN137) -> FALSE
(9) elsif (LDAP-Group == VLAN138) {
(9) Searching for user in group "VLAN138"
rlm_ldap (ldap): Reserved connection (5)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN138)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN138)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN138)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (5)
(9) User is not a member of "VLAN138"
(9) elsif (LDAP-Group == VLAN138) -> FALSE
(9) elsif (LDAP-Group == VLAN140) {
(9) Searching for user in group "VLAN140"
rlm_ldap (ldap): Reserved connection (1)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN140)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN140)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN140)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (1)
(9) User is not a member of "VLAN140"
(9) elsif (LDAP-Group == VLAN140) -> FALSE
(9) elsif (LDAP-Group == VLAN141) {
(9) Searching for user in group "VLAN141"
rlm_ldap (ldap): Reserved connection (2)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN141)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN141)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN141)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (2)
(9) User is not a member of "VLAN141"
(9) elsif (LDAP-Group == VLAN141) -> FALSE
(9) elsif (LDAP-Group == VLAN142) {
(9) Searching for user in group "VLAN142"
rlm_ldap (ldap): Reserved connection (3)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN142)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN142)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN142)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (3)
(9) User is not a member of "VLAN142"
(9) elsif (LDAP-Group == VLAN142) -> FALSE
(9) elsif (LDAP-Group == VLAN144) {
(9) Searching for user in group "VLAN144"
rlm_ldap (ldap): Reserved connection (6)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN144)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN144)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN144)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (6)
(9) User is not a member of "VLAN144"
(9) elsif (LDAP-Group == VLAN144) -> FALSE
(9) elsif (LDAP-Group == VLAN145) {
(9) Searching for user in group "VLAN145"
rlm_ldap (ldap): Reserved connection (4)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN145)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN145)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN145)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (4)
(9) User is not a member of "VLAN145"
(9) elsif (LDAP-Group == VLAN145) -> FALSE
(9) elsif (LDAP-Group == VLAN146) {
(9) Searching for user in group "VLAN146"
rlm_ldap (ldap): Reserved connection (0)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN146)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN146)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN146)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (0)
(9) User is not a member of "VLAN146"
(9) elsif (LDAP-Group == VLAN146) -> FALSE
(9) elsif (LDAP-Group == VLAN147) {
(9) Searching for user in group "VLAN147"
rlm_ldap (ldap): Reserved connection (5)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN147)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN147)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN147)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (5)
(9) User is not a member of "VLAN147"
(9) elsif (LDAP-Group == VLAN147) -> FALSE
(9) elsif (LDAP-Group == VLAN148) {
(9) Searching for user in group "VLAN148"
rlm_ldap (ldap): Reserved connection (1)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN148)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN148)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN148)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (1)
(9) User is not a member of "VLAN148"
(9) elsif (LDAP-Group == VLAN148) -> FALSE
(9) elsif (LDAP-Group == VLAN149) {
(9) Searching for user in group "VLAN149"
rlm_ldap (ldap): Reserved connection (2)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN149)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN149)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN149)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (2)
(9) User is not a member of "VLAN149"
(9) elsif (LDAP-Group == VLAN149) -> FALSE
(9) elsif (LDAP-Group == VLAN150) {
(9) Searching for user in group "VLAN150"
rlm_ldap (ldap): Reserved connection (3)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN150)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN150)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN150)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (3)
(9) User is not a member of "VLAN150"
(9) elsif (LDAP-Group == VLAN150) -> FALSE
(9) elsif (LDAP-Group == VLAN151) {
(9) Searching for user in group "VLAN151"
rlm_ldap (ldap): Reserved connection (6)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN151)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN151)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN151)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (6)
(9) User is not a member of "VLAN151"
(9) elsif (LDAP-Group == VLAN151) -> FALSE
(9) elsif (LDAP-Group == VLAN191) {
(9) Searching for user in group "VLAN191"
rlm_ldap (ldap): Reserved connection (4)
(9) Using user DN from request "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(9) Checking for user in group objects
(9) EXPAND (&(cn=VLAN191)(|(&(objectClass=group)(member=%{control:Ldap-UserDn}))))
(9) --> (&(cn=VLAN191)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))
(9) Performing search in "dc=domena,dc=AD" with filter "(&(cn=VLAN191)(|(&(objectClass=group)(member=CN\3dA0700-GARWOLIN\2cOU\3dstacje_robocze\2cOU\3dSiedlce\2cDC\3ddomena\2cDC\3dAD))))", scope "sub"
(9) Waiting for search result...
(9) Search returned no results
(9) Checking user object's memberOf attributes
(9) Performing unfiltered search in "CN=A0700-GARWOLIN,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Processing memberOf value "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" as a DN
(9) Resolving group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" to group name
(9) Performing unfiltered search in "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD", scope "base"
(9) Waiting for search result...
(9) Group DN "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD" resolves to name "VLAN130_SIEO1"
rlm_ldap (ldap): Released connection (4)
(9) User is not a member of "VLAN191"
(9) elsif (LDAP-Group == VLAN191) -> FALSE
(9) else {
(9) if (!EAP-Message) {
(9) if (!EAP-Message) -> FALSE
(9) else {
(9) update reply {
(9) &reply:Auth-Type := Reject
(9) } # update reply = noop
(9) [reject] = reject
(9) } # else = reject
(9) } # else = reject
(9) } # policy group_filter = reject
(9) } # post-auth = reject
(9) Using Post-Auth-Type Reject
(9) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(9) Post-Auth-Type REJECT {
(9) sql: EXPAND .query
(9) sql: --> .query
(9) sql: Using query template 'query'
rlm_sql (sql): Reserved connection (5)
(9) sql: EXPAND %{User-Name}
(9) sql: --> host/A0700-GARWOLIN.domena.AD
(9) sql: SQL-User-Name set to 'host/A0700-GARWOLIN.domena.AD'
(9) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')
(9) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'host/A0700-GARWOLIN.domena.AD', '', 'Access-Reject', '2020-01-12 23:12:06')
(9) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'host/A0700-GARWOLIN.domena.AD', '', 'Access-Reject', '2020-01-12 23:12:06')
(9) sql: SQL query returned: success
(9) sql: 1 record(s) updated
rlm_sql (sql): Released connection (5)
Need 3 more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (7), 1 of 25 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
(9) [sql] = ok
(9) attr_filter.access_reject: EXPAND %{User-Name}
(9) attr_filter.access_reject: --> host/A0700-GARWOLIN.domena.AD
(9) attr_filter.access_reject: Matched entry DEFAULT at line 11
(9) [attr_filter.access_reject] = updated
(9) [eap] = noop
(9) } # Post-Auth-Type REJECT = updated
(9) Delaying response for 1.000000 seconds
Waking up in 0.2 seconds.
Waking up in 0.7 seconds.
(10) Received Accounting-Request Id 89 from 10.8.10.6:1812 to 10.241.2.111:1813 length 295
(10) User-Name = "00c0ee48cb2d"
(10) NAS-IP-Address = 10.8.10.6
(10) NAS-Port = 114778
(10) Framed-IP-Address = 10.8.90.17
(10) NAS-Identifier = "sw_PD_Mlynowa_p123_Bialystok"
(10) Acct-Status-Type = Interim-Update
(10) Acct-Delay-Time = 5
(10) Acct-Input-Octets = 0
(10) Acct-Output-Octets = 0
(10) Acct-Session-Id = "sw_PD_M00028000000001c2dc2a000076"
(10) Acct-Authentic = RADIUS
(10) Acct-Session-Time = 2348734
(10) Acct-Input-Packets = 0
(10) Acct-Output-Packets = 0
(10) Acct-Input-Gigawords = 0
(10) Acct-Output-Gigawords = 0
(10) Event-Timestamp = "Jan 12 2020 23:12:02 CET"
(10) NAS-Port-Type = Ethernet
(10) Calling-Station-Id = "00c0-ee48-cb2d"
(10) NAS-Port-Id = "slot=0;subslot=0;port=28;vlanid=90"
(10) Framed-Protocol = PPP
(10) Huawei-IPHost-Addr = "10.8.90.17 00:c0:ee:48:cb:2d"
(10) Huawei-Connect-ID = 76
(10) Huawei-User-Mac = "\000\000\000\002"
(10) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default
(10) preacct {
(10) [preprocess] = ok
(10) } # preacct = ok
(10) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default
(10) accounting {
(10) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
(10) detail: --> /var/log/freeradius/radacct/10.8.10.6/detail-20200112
(10) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/10.8.10.6/detail-20200112
(10) detail: EXPAND %t
(10) detail: --> Sun Jan 12 23:12:07 2020
(10) [detail] = ok
(10) sql: EXPAND %{tolower:type.%{Acct-Status-Type}.query}
(10) sql: --> type.interim-update.query
(10) sql: Using query template 'query'
rlm_sql (sql): Reserved connection (1)
(10) sql: EXPAND %{User-Name}
(10) sql: --> 00c0ee48cb2d
(10) sql: SQL-User-Name set to '00c0ee48cb2d'
(10) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{integer:Event-Timestamp}), acctinterval = %{integer:Event-Timestamp} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Session-Id}'
(10) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1578867122), acctinterval = 1578867122 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.8.90.17', acctsessiontime = 2348734, acctinputoctets = '0' << 32 | '0', acctoutputoctets = '0' << 32 | '0' WHERE AcctUniqueId = 'sw_PD_M00028000000001c2dc2a000076'
(10) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1578867122), acctinterval = 1578867122 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.8.90.17', acctsessiontime = 2348734, acctinputoctets = '0' << 32 | '0', acctoutputoctets = '0' << 32 | '0' WHERE AcctUniqueId = 'sw_PD_M00028000000001c2dc2a000076'
rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 0
(10) sql: SQL query returned: success
(10) sql: 1 record(s) updated
rlm_sql (sql): Released connection (1)
(10) [sql] = ok
(10) [exec] = noop
(10) attr_filter.accounting_response: EXPAND %{User-Name}
(10) attr_filter.accounting_response: --> 00c0ee48cb2d
(10) attr_filter.accounting_response: Matched entry DEFAULT at line 12
(10) [attr_filter.accounting_response] = updated
(10) } # accounting = updated
(10) Sent Accounting-Response Id 89 from 10.241.2.111:1813 to 10.8.10.6:1812 length 0
(10) Finished request
(10) Cleaning up request packet ID 89 with timestamp +3
Waking up in 0.2 seconds.
(9) Sending delayed response
(9) Sent Access-Reject Id 69 from 10.241.2.111:1812 to 10.213.0.2:57808 length 44
(9) EAP-Message = 0x03b90004
(9) Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.6 seconds.
(11) Received Access-Request Id 4 from 10.213.0.2:57808 to 10.241.2.111:1812 length 286
(11) User-Name = "bc5ff4dc9eeb"
(11) User-Password = "bc5ff4dc9eeb"
(11) NAS-Port = 33636384
(11) Service-Type = Call-Check
(11) Framed-Protocol = PPP
(11) Framed-IP-Address = 10.213.0.194
(11) Calling-Station-Id = "bc5ff4dc9eeb"
(11) NAS-Identifier = "SW-Garwolin-01"
(11) NAS-Port-Type = Ethernet
(11) NAS-Port-Id = "slot=2;subslot=0;port=20;vlanid=32"
(11) Called-Station-Id = "04-F9-38-EC-8F-70"
(11) NAS-IP-Address = 10.213.0.2
(11) Acct-Session-Id = "SW-Garw02020000000032e53841000475d"
(11) Huawei-Startup-Stamp = 1576522178
(11) Huawei-IPHost-Addr = "10.213.0.194 bc:5f:f4:dc:9e:eb"
(11) Huawei-Connect-ID = 18269
(11) Huawei-Version = "Huawei S7700"
(11) Huawei-Product-ID = "S7700"
(11) Huawei-User-Mac = "\000\000\000\002"
(11) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(11) authorize {
(11) [preprocess] = ok
(11) if (!EAP-Message) {
(11) if (!EAP-Message) -> TRUE
(11) if (!EAP-Message) {
(11) sql: EXPAND %{User-Name}
(11) sql: --> bc5ff4dc9eeb
(11) sql: SQL-User-Name set to 'bc5ff4dc9eeb'
rlm_sql (sql): Reserved connection (2)
(11) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id
(11) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'bc5ff4dc9eeb' ORDER BY id
(11) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'bc5ff4dc9eeb' ORDER BY id
rlm_sql (sql): Reserved connection (6)
rlm_sql (sql): Released connection (6)
Need 3 more connections to reach 10 spares
rlm_sql (sql): Opening additional connection (8), 1 of 24 pending slots used
rlm_sql_mysql: Starting connect to MySQL server
rlm_sql_mysql: Connected to database 'radius' on 10.241.2.117 via TCP/IP, server version 5.7.28-0ubuntu0.18.04.4-log, protocol version 10
(11) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority
(11) sql: --> SELECT groupname FROM radusergroup WHERE username = 'bc5ff4dc9eeb' ORDER BY priority
(11) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'bc5ff4dc9eeb' ORDER BY priority
(11) sql: User not found in any groups
rlm_sql (sql): Released connection (2)
(11) [sql] = notfound
(11) if (!ok) {
(11) if (!ok) -> TRUE
(11) if (!ok) {
(11) [reject] = reject
(11) } # if (!ok) = reject
(11) } # if (!EAP-Message) = reject
(11) } # authorize = reject
(11) Invalid user: [bc5ff4dc9eeb] (from client SW-Garwolin-01 port 33636384 cli bc5ff4dc9eeb)
(11) Using Post-Auth-Type Reject
(11) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(11) Post-Auth-Type REJECT {
(11) sql: EXPAND .query
(11) sql: --> .query
(11) sql: Using query template 'query'
rlm_sql (sql): Reserved connection (3)
(11) sql: EXPAND %{User-Name}
(11) sql: --> bc5ff4dc9eeb
(11) sql: SQL-User-Name set to 'bc5ff4dc9eeb'
(11) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')
(11) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'bc5ff4dc9eeb', 'bc5ff4dc9eeb', 'Access-Reject', '2020-01-12 23:12:08')
(11) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'bc5ff4dc9eeb', 'bc5ff4dc9eeb', 'Access-Reject', '2020-01-12 23:12:08')
(11) sql: SQL query returned: success
(11) sql: 1 record(s) updated
rlm_sql (sql): Released connection (3)
(11) [sql] = ok
(11) attr_filter.access_reject: EXPAND %{User-Name}
(11) attr_filter.access_reject: --> bc5ff4dc9eeb
(11) attr_filter.access_reject: Matched entry DEFAULT at line 11
(11) [attr_filter.access_reject] = updated
(11) [eap] = noop
(11) } # Post-Auth-Type REJECT = updated
(11) Delaying response for 1.000000 seconds
Waking up in 0.2 seconds.
Waking up in 0.7 seconds.
(11) Sending delayed response
(11) Sent Access-Reject Id 4 from 10.241.2.111:1812 to 10.213.0.2:57808 length 20
Waking up in 2.1 seconds.
(0) Cleaning up request packet ID 64 with timestamp +2
(1) Cleaning up request packet ID 49 with timestamp +2
(2) Cleaning up request packet ID 41 with timestamp +2
(3) Cleaning up request packet ID 22 with timestamp +2
(4) Cleaning up request packet ID 21 with timestamp +2
(5) Cleaning up request packet ID 7 with timestamp +2
(6) Cleaning up request packet ID 74 with timestamp +2
(7) Cleaning up request packet ID 26 with timestamp +2
(8) Cleaning up request packet ID 70 with timestamp +2
Waking up in 0.1 seconds.
(9) Cleaning up request packet ID 69 with timestamp +2
Waking up in 1.4 seconds.
(11) Cleaning up request packet ID 4 with timestamp +4
Ready to process requests
regards
Marek Smoliński
Od: Arran Cudbard-Bell
Wysłano: niedziela, 12 stycznia 2020 22:38
Do: FreeRadius users mailing list
Temat: Re: Microsoft AD group check
> On Jan 12, 2020, at 4:22 PM, Alan DeKok <aland at deployingradius.com> wrote:
>
> On Jan 12, 2020, at 3:27 PM, Marek Smoliński <marksmol at o2.pl> wrote:
>>
>> Debug output
>> ...
>>
>>> On Jan 12, 2020, at 2:40 PM, Marek Smoliński <marksmol at o2.pl> wrote:
>>>
>>> I see a message in debug: Debug: No old matches
>
> That message does not appear in the debug output you posted.
>
>Also, can you turn off cacheable_dn and repost.
>
>There's a lot of extraneous stuff there caused by it doing group name to DN resolution.
>
>-Arran
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list