Microsoft AD group check

Marek Smoliński marksmol at o2.pl
Sun Jan 12 21:27:59 CET 2020


Debug output

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 = yes
        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 47118
Listening on proxy address :: port 35378
Ready to process requests
(0) Received Access-Request Id 79 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 = 0x0254001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(0)   Message-Authenticator = 0x7366dcc54b2b37d00a339d39feae83a2
(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-Garw0202000000003297d760000475d"
(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 84 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 21:09:09 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 85 length 22
(0) eap: EAP session adding &reply:State = 0x64c4caf96491ce16
(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 79 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(0)   EAP-Message = 0x01550016041004dc18e091fc8f38199ccf8e5e7df6be
(0)   Message-Authenticator = 0x00000000000000000000000000000000
(0)   State = 0x64c4caf96491ce163ebae30f1a8eb949
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 75 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 = 0x64c4caf96491ce163ebae30f1a8eb949
(1)   EAP-Message = 0x025500060319
(1)   Message-Authenticator = 0xe6baba280012463fb48ffa56ba2f67dc
(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-Garw0202000000003297d760000475d"
(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 21:09:09 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 0x64c4caf96491ce16
(1) eap: Finished EAP session with state 0x64c4caf96491ce16
(1) eap: Previous EAP request found for state 0x64c4caf96491ce16, 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 86 length 6
(1) eap: EAP session adding &reply:State = 0x64c4caf96592d316
(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 75 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(1)   EAP-Message = 0x015600061920
(1)   Message-Authenticator = 0x00000000000000000000000000000000
(1)   State = 0x64c4caf96592d3163ebae30f1a8eb949
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 6 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 = 0x64c4caf96592d3163ebae30f1a8eb949
(2)   EAP-Message = 0x0256007119800000006716030100620100005e03015e1b7ce51498ac2b269d0fcae5aaf9de5c937d7aabf5c185ae4f2cabdad4fc4b00001cc014c013003900330035002fc00ac00900380032000a00130005000401000019000a0006000400170018000b0002010000170000ff01000100
(2)   Message-Authenticator = 0x3aebece6db0c769d2693a8692544c965
(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-Garw0202000000003297d760000475d"
(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 21:09:09 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 0x64c4caf96592d316
(2) eap: Finished EAP session with state 0x64c4caf96592d316
(2) eap: Previous EAP request found for state 0x64c4caf96592d316, 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 87 length 1004
(2) eap: EAP session adding &reply:State = 0x64c4caf96693d316
(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 6 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(2)   EAP-Message = 0x015703ec19c000000499160301003d02000039030164ef34c48a17ef34c6c102ba4db4f0a5fe84c04dc085c526444f574e4752440000c014000011ff01000100000b0004030001020017000016030102f90b0002f50002f20002ef308202eb308201d3a003020102021420418605649ecad19998c91716963abfed2bfdea300d06092a864886f70d01010b0500301a3118301606035504030c0f467265655261646975732e6d616173301e170d3139313231323230313232395a170d3239313230393230313232395a301a3118301606035504030c0f467265655261646975732e6d61617330820122300d06092a864886f70d01010105000382010f003082010a0282010100d9dfebe4a06e2f04f28a808aaa49f1db4470f2cfa1cab217c9c80d8d3c6b61b0e9be94164a0233b061169346c9cb4b7b104fa905dec7a4f21e663e292322bf0789ed82bcfd4e8636694e27b2bba917b66212d4833ed26f1e15768e6994137d8fc3ce27a7acc55a8284f2bf88e678e61d58
(2)   Message-Authenticator = 0x00000000000000000000000000000000
(2)   State = 0x64c4caf96693d3163ebae30f1a8eb949
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 71 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 = 0x64c4caf96693d3163ebae30f1a8eb949
(3)   EAP-Message = 0x025700061900
(3)   Message-Authenticator = 0x350ee70a067d94cd9ade88389a4c6db9
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 0x64c4caf96693d316
(3) eap: Finished EAP session with state 0x64c4caf96693d316
(3) eap: Previous EAP request found for state 0x64c4caf96693d316, 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 88 length 189
(3) eap: EAP session adding &reply:State = 0x64c4caf9679cd316
(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 71 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(3)   EAP-Message = 0x015800bd1900b7c8ea7de4caffb1ae77ae233c12cca657d806e9b8f052fcabc7c9ef240ce5b89506679d30c048ca0b76411e70c0c4a1142bf6b36d2379c3b841a4ccf92785e6a077dd8a2f2d4fb8dde42676e30b6de17f25151886aa30e79fa201c23aec5322405315bcb7394e0ab6b20d8c4f8d9b89244c0ed94e03b566d00c3c8443fa492824b82af0993212e101db6618e366c0daf8c0693fd31028d72bc038998b0571938c899a076e5536d0195e704efca316030100040e000000
(3)   Message-Authenticator = 0x00000000000000000000000000000000
(3)   State = 0x64c4caf9679cd3163ebae30f1a8eb949
(3) Finished request
Waking up in 4.9 seconds.
(4) Received Access-Request Id 83 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 = 0x64c4caf9679cd3163ebae30f1a8eb949
(4)   EAP-Message = 0x0258009019800000008616030100461000004241042b1d599a50a6d6a02f9dcd53cb193a7c1de69eb023680fff000a6da1ea6df931decef5288b2032dc46ee031acdccf00f78aa1c2cfa41b6a0a755353c9df372ac14030100010116030100304b12107bc3b5d1ff0f0a124e0bfd46efd2a79d86db790393eb049b56a20b14356f37176d997ae38d16e4570aef7f0ab2
(4)   Message-Authenticator = 0xccc04fbc25eaae9720c646487c5de68e
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 0x64c4caf9679cd316
(4) eap: Finished EAP session with state 0x64c4caf9679cd316
(4) eap: Previous EAP request found for state 0x64c4caf9679cd316, 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 89 length 65
(4) eap: EAP session adding &reply:State = 0x64c4caf9609dd316
(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 83 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(4)   EAP-Message = 0x0159004119001403010001011603010030bbb732051cbb13ad4c20897829db1e6749b6867b6d917bc64238d15e75b936534079e8308eec36155de1281e87605e1d
(4)   Message-Authenticator = 0x00000000000000000000000000000000
(4)   State = 0x64c4caf9609dd3163ebae30f1a8eb949
(4) Finished request
Waking up in 4.8 seconds.
(5) Received Access-Request Id 84 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 = 0x64c4caf9609dd3163ebae30f1a8eb949
(5)   EAP-Message = 0x025900061900
(5)   Message-Authenticator = 0xc5f004daca09560bf2a361c5d8ff2f06
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 0x64c4caf9609dd316
(5) eap: Finished EAP session with state 0x64c4caf9609dd316
(5) eap: Previous EAP request found for state 0x64c4caf9609dd316, 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 90 length 43
(5) eap: EAP session adding &reply:State = 0x64c4caf9619ed316
(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 84 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(5)   EAP-Message = 0x015a002b19001703010020cb4b2493d8dc20a5060d24037604e024f138ed4a33d2f581c4015264deb49e41
(5)   Message-Authenticator = 0x00000000000000000000000000000000
(5)   State = 0x64c4caf9619ed3163ebae30f1a8eb949
(5) Finished request
Waking up in 4.8 seconds.
(6) Received Access-Request Id 85 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 = 0x64c4caf9619ed3163ebae30f1a8eb949
(6)   EAP-Message = 0x025a003b190017030100307c0e307c0ad82cfb88df1593770c08da258eb5b5f410929c969f738b2ea54ec98305eb9b418f04d4d3374eb7430b1ef3
(6)   Message-Authenticator = 0x68edbe3e326208f5f38caf527edfee6f
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 0x64c4caf9619ed316
(6) eap: Finished EAP session with state 0x64c4caf9619ed316
(6) eap: Previous EAP request found for state 0x64c4caf9619ed316, 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 = 0x025a001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(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 = 0x025a001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(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-Garw0202000000003297d760000475d"
(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 21:09:10 CET"
(6) Virtual server inner-tunnel received request
(6)   EAP-Message = 0x025a001f01686f73742f41303730302d474152574f4c494e2e5a55532e4144
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 90 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 91 length 43
(6) eap: EAP session adding &reply:State = 0x882bde2a8870c462
(6)       [eap] = handled
(6)     } # authenticate = handled
(6) } # server inner-tunnel
(6) Virtual server sending reply
(6)   EAP-Message = 0x015b002b1a015b002610efc37d389e7190e29136b6aa54d95621667265657261646975732d332e302e3139
(6)   Message-Authenticator = 0x00000000000000000000000000000000
(6)   State = 0x882bde2a8870c462ae1cab3eec630f8a
(6) eap_peap: Got tunneled reply code 11
(6) eap_peap:   EAP-Message = 0x015b002b1a015b002610efc37d389e7190e29136b6aa54d95621667265657261646975732d332e302e3139
(6) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(6) eap_peap:   State = 0x882bde2a8870c462ae1cab3eec630f8a
(6) eap_peap: Got tunneled reply RADIUS code 11
(6) eap_peap:   EAP-Message = 0x015b002b1a015b002610efc37d389e7190e29136b6aa54d95621667265657261646975732d332e302e3139
(6) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(6) eap_peap:   State = 0x882bde2a8870c462ae1cab3eec630f8a
(6) eap_peap: Got tunneled Access-Challenge
(6) eap: Sending EAP Request (code 1) ID 91 length 75
(6) eap: EAP session adding &reply:State = 0x64c4caf9629fd316
(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 85 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(6)   EAP-Message = 0x015b004b19001703010040070d248610c673b24b79b22c17821669b1af516d4b579614688c4b9ce80b2e2261ec94ef83efb4dfef0ba057b76f16b684edfd234644ba2870319234eee9a9da
(6)   Message-Authenticator = 0x00000000000000000000000000000000
(6)   State = 0x64c4caf9629fd3163ebae30f1a8eb949
(6) Finished request
Waking up in 4.8 seconds.
(7) Received Access-Request Id 67 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 = 0x64c4caf9629fd3163ebae30f1a8eb949
(7)   EAP-Message = 0x025b007b190017030100703e8df50f8d93c793d67b4ea7cfb6204be38186c96caed58f55a75c6f44fdc48cff203a47619a2e18fbadcdf40263a2ac7dea18835695fc1d00d6fc080768e29cdb557e7e7dc27a57f74ac4fbc58b70edd04caadb50f2f168daff023d9d1d6314764b5075010ef93bd9ea7411f154a822
(7)   Message-Authenticator = 0x911a12322e6b0eb8d922e488da797d20
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 0x882bde2a8870c462
(7) eap: Finished EAP session with state 0x64c4caf9629fd316
(7) eap: Previous EAP request found for state 0x64c4caf9629fd316, 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 = 0x025b00551a025b005031d3d97923948cc76d809b1ba4189dd891000000000000000082f848eb8b57b07494113d95d2d04f60b81eeb4a34b9f8a100686f73742f41303730302d474152574f4c494e2e5a55532e4144
(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 = 0x025b00551a025b005031d3d97923948cc76d809b1ba4189dd891000000000000000082f848eb8b57b07494113d95d2d04f60b81eeb4a34b9f8a100686f73742f41303730302d474152574f4c494e2e5a55532e4144
(7) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(7) eap_peap:   User-Name = "host/A0700-GARWOLIN.domena.AD"
(7) eap_peap:   State = 0x882bde2a8870c462ae1cab3eec630f8a
(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-Garw0202000000003297d760000475d"
(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 21:09:10 CET"
(7) Virtual server inner-tunnel received request
(7)   EAP-Message = 0x025b00551a025b005031d3d97923948cc76d809b1ba4189dd891000000000000000082f848eb8b57b07494113d95d2d04f60b81eeb4a34b9f8a100686f73742f41303730302d474152574f4c494e2e5a55532e4144
(7)   FreeRADIUS-Proxied-To = 127.0.0.1
(7)   User-Name = "host/A0700-GARWOLIN.domena.AD"
(7)   State = 0x882bde2a8870c462ae1cab3eec630f8a
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 91 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 += "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(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 += "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(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 0x882bde2a8870c462
(7) eap: Finished EAP session with state 0x882bde2a8870c462
(7) eap: Previous EAP request found for state 0x882bde2a8870c462, 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=8327ecbf0f4f5caa
(7) mschap: EXPAND --nt-response=%{mschap:NT-Response:-00}
(7) mschap:    --> --nt-response=82f848eb8b57b07494113d95d2d04f60b81eeb4a34b9f8a1
(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 92 length 51
(7) eap: EAP session adding &reply:State = 0x882bde2a8977c462
(7)       [eap] = handled
(7)     } # authenticate = handled
(7) } # server inner-tunnel
(7) Virtual server sending reply
(7)   EAP-Message = 0x015c00331a035b002e533d44373733333439383430363539393634463846303838363832313933454231364144393734384231
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0x882bde2a8977c462ae1cab3eec630f8a
(7) eap_peap: Got tunneled reply code 11
(7) eap_peap:   EAP-Message = 0x015c00331a035b002e533d44373733333439383430363539393634463846303838363832313933454231364144393734384231
(7) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap:   State = 0x882bde2a8977c462ae1cab3eec630f8a
(7) eap_peap: Got tunneled reply RADIUS code 11
(7) eap_peap:   EAP-Message = 0x015c00331a035b002e533d44373733333439383430363539393634463846303838363832313933454231364144393734384231
(7) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap:   State = 0x882bde2a8977c462ae1cab3eec630f8a
(7) eap_peap: Got tunneled Access-Challenge
(7) eap: Sending EAP Request (code 1) ID 92 length 91
(7) eap: EAP session adding &reply:State = 0x64c4caf96398d316
(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 67 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(7)   EAP-Message = 0x015c005b190017030100504b18553e858fb21515efce3f5cf9a1a148bfa87dec9abcb1876fb41cc4d8c3c92f7304ec01f91e26a8217c859651c8eed237f9ebb92b367ca43f75817368491afa9e43a5046339968d61ccef58ae0e77
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0x64c4caf96398d3163ebae30f1a8eb949
(7) Finished request
Waking up in 4.7 seconds.
(8) Received Access-Request Id 0 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 = 0x64c4caf96398d3163ebae30f1a8eb949
(8)   EAP-Message = 0x025c002b19001703010020c3771bdedde515df05ffa977fc5227c07a8ff0729361cdaab591fb43bf6f8857
(8)   Message-Authenticator = 0x29712f7aab4f976052e37843ca2d059e
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 0x882bde2a8977c462
(8) eap: Finished EAP session with state 0x64c4caf96398d316
(8) eap: Previous EAP request found for state 0x64c4caf96398d316, 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 = 0x025c00061a03
(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 = 0x025c00061a03
(8) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(8) eap_peap:   User-Name = "host/A0700-GARWOLIN.domena.AD"
(8) eap_peap:   State = 0x882bde2a8977c462ae1cab3eec630f8a
(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-Garw0202000000003297d760000475d"
(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 21:09:10 CET"
(8) Virtual server inner-tunnel received request
(8)   EAP-Message = 0x025c00061a03
(8)   FreeRADIUS-Proxied-To = 127.0.0.1
(8)   User-Name = "host/A0700-GARWOLIN.domena.AD"
(8)   State = 0x882bde2a8977c462ae1cab3eec630f8a
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 92 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 += "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(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 += "CN=VLAN130_SIEO1,OU=stacje_robocze,OU=Siedlce,DC=domena,DC=AD"
(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 0x882bde2a8977c462
(8) eap: Finished EAP session with state 0x882bde2a8977c462
(8) eap: Previous EAP request found for state 0x882bde2a8977c462, 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 92 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 21:09:10')
(8) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'host/A0700-GARWOLIN.domena.AD', '', 'Access-Accept', '2020-01-12 21:09:10')
(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 = 0xc3b50a4ff8f428b5a491919d3f1fbd7b
(8)   MS-MPPE-Recv-Key = 0xa5fcbf74e6c8c8538f3f360ec49685b8
(8)   EAP-Message = 0x035c0004
(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 = 0xc3b50a4ff8f428b5a491919d3f1fbd7b
(8) eap_peap:   MS-MPPE-Recv-Key = 0xa5fcbf74e6c8c8538f3f360ec49685b8
(8) eap_peap:   EAP-Message = 0x035c0004
(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 = 0xc3b50a4ff8f428b5a491919d3f1fbd7b
(8) eap_peap:   MS-MPPE-Recv-Key = 0xa5fcbf74e6c8c8538f3f360ec49685b8
(8) eap_peap:   EAP-Message = 0x035c0004
(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 93 length 43
(8) eap: EAP session adding &reply:State = 0x64c4caf96c99d316
(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 0 from 10.241.2.111:1812 to 10.213.0.2:57808 length 0
(8)   EAP-Message = 0x015d002b190017030100206825079fd65a7906068d81f96f80453e68baeb9a4a5cf0b0ad1013c700de517f
(8)   Message-Authenticator = 0x00000000000000000000000000000000
(8)   State = 0x64c4caf96c99d3163ebae30f1a8eb949
(8) Finished request
Waking up in 4.6 seconds.
(9) Received Access-Request Id 93 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 = 0x64c4caf96c99d3163ebae30f1a8eb949
(9)   EAP-Message = 0x025d002b19001703010020c9bd81cbfce02181e835993f9f0bf8de15f92b7b7a4269da3f3543fdf8881449
(9)   Message-Authenticator = 0xbb7af32b92ed7430a05cd39dbef7bf43
(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-Garw0202000000003297d760000475d"
(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 21:09:10 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 0x64c4caf96c99d316
(9) eap: Finished EAP session with state 0x64c4caf96c99d316
(9) eap: Previous EAP request found for state 0x64c4caf96c99d316, 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 93 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)
(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 (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=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 (4)
(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 (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=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 (0)
(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 (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=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 (5)
(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 (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=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 (1)
(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 (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=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 (2)
(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 (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=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 (3)
(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 (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=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 (4)
(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 (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=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 (0)
(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 (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=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 (5)
(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 (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=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 (1)
(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 (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=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 (2)
(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 (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=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 (3)
(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 (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=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 (4)
(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 (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=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 (0)
(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 (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=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 (5)
(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 (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=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 (1)
(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 21:09:10')
(9) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'host/A0700-GARWOLIN.domena.AD', '', 'Access-Reject', '2020-01-12 21:09:10')
(9) sql: SQL query returned: success
(9) sql: 1 record(s) updated
rlm_sql (sql): Released connection (5)
(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.
(9) Sending delayed response
(9) Sent Access-Reject Id 93 from 10.241.2.111:1812 to 10.213.0.2:57808 length 44
(9)   EAP-Message = 0x035d0004
(9)   Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.5 seconds.

regards
Marek Smoliński

Od: Arran Cudbard-Bell
Wysłano: niedziela, 12 stycznia 2020 20:52
Do: FreeRadius users mailing list
Temat: Re: Microsoft AD group check



> On Jan 12, 2020, at 2:40 PM, Marek Smoliński <marksmol at o2.pl> wrote:
> 
> One computer can only be in one group in AD unfortunately because of the high complexity of AD, delegations of permissions for AD administrators are so many groups.
> 
> I have cachable_name and cacheable_dn enabled, I may not be able to use it.
> 
> I've tried to follow the documentation. In post-auth:
> 
>    update control {
>        Cache-Status-Only = 'yes'
>    }
>    cache
>    if (notfound) {
>        ldap
>        if (LDAP-Group =~ /.*VLAN16_.*/) {
>           update reply {
>               ...
>           }
>        }
>    }
>    cache
> 
> I see a message in debug: Debug: No old matches
> 
> What am I doing wrong?

>Post the debug output and we might be able to tell you. 

>-Arran
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list