Решено: freeradius + dynamic VLAN (игнорирует настройки)

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС.

Модератор: SLEDopit

Ответить
Аватара пользователя
mikes
Сообщения: 294
ОС: ubuntu
Контактная информация:

Решено: freeradius + dynamic VLAN

Сообщение mikes »

собственно сабж.. есть freeradius(ubuntu 10.04.1)+AD дабы пускать людей в сеть через dlink 3200ap попутно проверяя принадлежность к группам в AD через LDAP
теперь хочется что каждая группа попадала в свой собственный vlan.
вписал в /etc/freeradius/users

Код: Выделить всё

DEFAULT Ldap-Group == "depIT"
        Reply-Message  = "Welcome, you are a depIT user",
        Tunnel-Medium-Type = 6,
        Tunnel-Private-Group-Id = 25,
        Tunnel-Type = 13

Правило срабатывает.. поскольку radisus все же авторизует пользователя
но в Access-Accept не содержится упоминания об выше указанных настройках, хотя в процессе авторизации присутствует

Код: Выделить всё

[peap] Got tunneled reply code 2
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x03070004
    Message-Authenticator = 0x00000000000000000000000000000000
    User-Name = "VGASU\\mikes"
[peap] Got tunneled reply RADIUS code 2
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x03070004
    Message-Authenticator = 0x00000000000000000000000000000000
    User-Name = "VGASU\\mikes"
[peap] Tunneled authentication was successful.
[peap] SUCCESS


если же прописать в секции post-auth в /etc/freeradius/sites-enabled/default

Код: Выделить всё

       update reply {
                Tunnel-Type := 13
                Tunnel-Medium-Type = 6
                Tunnel-Private-Group-ID = 25
то в Access-Accept нужные строки появляются и vlan назначается клиенту.. но тогда нет разделения по группам :(

наставьте на пусть истинный.. в какую сторону копать то?

вывод freeradius -X

Код: Выделить всё

FreeRADIUS Version 2.1.8, for host i486-pc-linux-gnu, built on Jan  5 2010 at 02:49:11
Copyright (C) 1999-2009 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 v2.
Starting - reading configuration files ...
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/modules/
including configuration file /etc/freeradius/modules/acct_unique
including configuration file /etc/freeradius/modules/preprocess
including configuration file /etc/freeradius/modules/policy
including configuration file /etc/freeradius/modules/expiration
including configuration file /etc/freeradius/modules/expr
including configuration file /etc/freeradius/modules/sradutmp
including configuration file /etc/freeradius/modules/detail.log
including configuration file /etc/freeradius/modules/ldap
including configuration file /etc/freeradius/modules/otp
including configuration file /etc/freeradius/modules/sql_log
including configuration file /etc/freeradius/modules/digest
including configuration file /etc/freeradius/modules/attr_filter
including configuration file /etc/freeradius/modules/linelog
including configuration file /etc/freeradius/modules/smbpasswd
including configuration file /etc/freeradius/modules/pap
including configuration file /etc/freeradius/modules/attr_rewrite
including configuration file /etc/freeradius/modules/inner-eap
including configuration file /etc/freeradius/modules/unix
including configuration file /etc/freeradius/modules/counter
including configuration file /etc/freeradius/modules/etc_group
including configuration file /etc/freeradius/modules/logintime
including configuration file /etc/freeradius/modules/passwd
including configuration file /etc/freeradius/modules/mschap
including configuration file /etc/freeradius/modules/detail.example.com
including configuration file /etc/freeradius/modules/ippool
including configuration file /etc/freeradius/modules/exec
including configuration file /etc/freeradius/modules/wimax
including configuration file /etc/freeradius/modules/files
including configuration file /etc/freeradius/modules/detail
including configuration file /etc/freeradius/modules/pam
including configuration file /etc/freeradius/modules/checkval
including configuration file /etc/freeradius/modules/ntlm_auth
including configuration file /etc/freeradius/modules/cui
including configuration file /etc/freeradius/modules/chap
including configuration file /etc/freeradius/modules/radutmp
including configuration file /etc/freeradius/modules/mac2vlan
including configuration file /etc/freeradius/modules/always
including configuration file /etc/freeradius/modules/perl
including configuration file /etc/freeradius/modules/krb5
including configuration file /etc/freeradius/modules/realm
including configuration file /etc/freeradius/modules/mac2ip
including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login
including configuration file /etc/freeradius/modules/echo
including configuration file /etc/freeradius/modules/smsotp
including configuration file /etc/freeradius/eap.conf
including configuration file /etc/freeradius/policy.conf
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
main {
    user = "freerad"
    group = "freerad"
    allow_core_dumps = no
}
including dictionary file /etc/freeradius/dictionary
main {
    prefix = "/usr"
    localstatedir = "/var"
    logdir = "/var/log/freeradius"
    libdir = "/usr/lib/freeradius"
    radacctdir = "/var/log/freeradius/radacct"
    hostname_lookups = no
    max_request_time = 30
    cleanup_delay = 5
    max_requests = 1024
    pidfile = "/var/run/freeradius/freeradius.pid"
    checkrad = "/usr/sbin/checkrad"
    debug_level = 0
    proxy_requests = yes
 log {
    stripped_names = no
    auth = no
    auth_badpass = no
    auth_goodpass = no
 }
 security {
    max_attributes = 200
    reject_delay = 1
    status_server = yes
 }
}
radiusd: #### Loading Realms and Home Servers ####
 proxy server {
    retry_delay = 5
    retry_count = 3
    default_fallback = no
    dead_time = 120
    wake_all_if_all_dead = no
 }
 home_server localhost {
    ipaddr = 127.0.0.1
    port = 1812
    type = "auth"
    secret = "testing123"
    response_window = 20
    max_outstanding = 65536
    require_message_authenticator = no
    zombie_period = 40
    status_check = "status-server"
    ping_interval = 30
    check_interval = 30
    num_answers_to_alive = 3
    num_pings_to_alive = 3
    revive_interval = 120
    status_check_timeout = 4
    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 = "testing123"
    nastype = "other"
 }
 client 192.168.200.3 {
    require_message_authenticator = no
    secret = "test123"
    shortname = "dlink1"
 }
radiusd: #### Instantiating modules ####
 instantiate {
 Module: Linked to module rlm_exec
 Module: Instantiating exec
  exec {
    wait = no
    input_pairs = "request"
    shell_escape = yes
  }
 Module: Linked to module rlm_expr
 Module: Instantiating expr
 Module: Linked to module rlm_expiration
 Module: Instantiating expiration
  expiration {
    reply-message = "Password Has Expired  "
  }
 Module: Linked to module rlm_logintime
 Module: Instantiating logintime
  logintime {
    reply-message = "You are calling outside your allowed timespan  "
    minimum-timeout = 60
  }
 }
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Instantiating ntlm_auth
  exec ntlm_auth {
    wait = yes
    program = "/usr/bin/ntlm_auth --request-nt-key --domain=DOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
    input_pairs = "request"
    shell_escape = yes
  }
 Module: Linked to module rlm_pap
 Module: Instantiating pap
  pap {
    encryption_scheme = "auto"
    auto_header = no
  }
 Module: Linked to module rlm_chap
 Module: Instantiating chap
 Module: Linked to module rlm_mschap
 Module: Instantiating 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} --domain=%{%{mschap:NT-Domain}:-DOMAIN} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
  }
 Module: Linked to module rlm_unix
 Module: Instantiating unix
  unix {
    radwtmp = "/var/log/freeradius/radwtmp"
  }
 Module: Linked to module rlm_eap
 Module: Instantiating eap
  eap {
    default_eap_type = "md5"
    timer_expire = 60
    ignore_unknown_eap_types = no
    cisco_accounting_username_bug = no
    max_sessions = 4096
  }
 Module: Linked to sub-module rlm_eap_md5
 Module: Instantiating eap-md5
 Module: Linked to sub-module rlm_eap_leap
 Module: Instantiating eap-leap
 Module: Linked to sub-module rlm_eap_gtc
 Module: Instantiating eap-gtc
   gtc {
    challenge = "Password: "
    auth_type = "PAP"
   }
 Module: Linked to sub-module rlm_eap_tls
 Module: Instantiating eap-tls
   tls {
    rsa_key_exchange = no
    dh_key_exchange = yes
    rsa_key_length = 512
    dh_key_length = 512
    verify_depth = 0
    pem_file_type = yes
    private_key_file = "/etc/freeradius/certs/server.key"
    certificate_file = "/etc/freeradius/certs/server.pem"
    CA_file = "/etc/freeradius/certs/ca.pem"
    private_key_password = "whatever"
    dh_file = "/etc/freeradius/certs/dh"
    random_file = "/etc/freeradius/certs/random"
    fragment_size = 1024
    include_length = yes
    check_crl = no
    cipher_list = "DEFAULT"
    make_cert_command = "/etc/freeradius/certs/bootstrap"
    cache {
    enable = no
    lifetime = 24
    max_entries = 255
    }
   }
 Module: Linked to sub-module rlm_eap_ttls
 Module: Instantiating eap-ttls
   ttls {
    default_eap_type = "md5"
    copy_request_to_tunnel = no
    use_tunneled_reply = no
    virtual_server = "inner-tunnel"
    include_length = yes
   }
 Module: Linked to sub-module rlm_eap_peap
 Module: Instantiating eap-peap
   peap {
    default_eap_type = "mschapv2"
    copy_request_to_tunnel = no
    use_tunneled_reply = no
    proxy_tunneled_request_as_eap = yes
    virtual_server = "inner-tunnel"
   }
 Module: Linked to sub-module rlm_eap_mschapv2
 Module: Instantiating eap-mschapv2
   mschapv2 {
    with_ntdomain_hack = no
   }
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_realm
 Module: Instantiating suffix
  realm suffix {
    format = "suffix"
    delimiter = "@"
    ignore_default = no
    ignore_null = no
  }
 Module: Linked to module rlm_files
 Module: Instantiating files
  files {
    usersfile = "/etc/freeradius/users"
    acctusersfile = "/etc/freeradius/acct_users"
    preproxy_usersfile = "/etc/freeradius/preproxy_users"
    compat = "no"
  }
 Module: Linked to module rlm_ldap
 Module: Instantiating ldap
  ldap {
    server = "ad2.DOMAIN.vrn.ru"
    port = 389
    password = "RADIUS01"
    identity = "cn=rad01,ou=Services,dc=DOMAIN,dc=VRN,dc=RU"
    net_timeout = 1
    timeout = 4
    timelimit = 3
    tls_mode = no
    start_tls = no
    tls_require_cert = "allow"
   tls {
    start_tls = no
    require_cert = "allow"
   }
    basedn = "dc=DOMAIN,dc=VRN,dc=RU"
    filter = "(&(sAMAccountName=%{mschap:User-Name:-%{User-Name}}))"
    base_filter = "(objectclass=radiusprofile)"
    auto_header = no
    access_attr_used_for_allow = yes
    chase_referrals = yes
    rebind = yes
    groupname_attribute = "cn"
    groupmembership_filter = "(|(&(objectClass=group)(member=%Ldap-UserDn}))(&(objectClass=top)(uniquemember=%{Ldap-UserDn})))"
    groupmembership_attribute = "memberOf"
    dictionary_mapping = "/etc/freeradius/ldap.attrmap"
    ldap_debug = 0
    ldap_connections_number = 5
    compare_check_items = no
    do_xlat = yes
    edir_account_policy_check = no
    set_auth_type = yes
  }
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: Over-riding set_auth_type, as there is no module ldap listed in the "authenticate" section.
rlm_ldap: reading ldap<->radius mappings from file /etc/freeradius/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id
conns: 0x97379d0
 Module: Checking session {...} for more modules to load
 Module: Linked to module rlm_radutmp
 Module: Instantiating radutmp
  radutmp {
    filename = "/var/log/freeradius/radutmp"
    username = "%{User-Name}"
    case_sensitive = yes
    check_with_nas = yes
    perm = 384
    callerid = yes
  }
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 Module: Linked to module rlm_attr_filter
 Module: Instantiating attr_filter.access_reject
  attr_filter attr_filter.access_reject {
    attrsfile = "/etc/freeradius/attrs.access_reject"
    key = "%{User-Name}"
  }
 } # modules
} # server
server {
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_preprocess
 Module: Instantiating preprocess
  preprocess {
    huntgroups = "/etc/freeradius/huntgroups"
    hints = "/etc/freeradius/hints"
    with_ascend_hack = no
    ascend_channels_per_line = 23
    with_ntdomain_hack = no
    with_specialix_jetstream_hack = no
    with_cisco_vsa_hack = no
    with_alvarion_vsa_hack = no
  }
 Module: Checking preacct {...} for more modules to load
 Module: Linked to module rlm_acct_unique
 Module: Instantiating acct_unique
  acct_unique {
    key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
  }
 Module: Checking accounting {...} for more modules to load
 Module: Linked to module rlm_detail
 Module: Instantiating detail
  detail {
    detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
    header = "%t"
    detailperm = 384
    dirperm = 493
    locking = no
    log_packet_header = no
  }
 Module: Instantiating attr_filter.accounting_response
  attr_filter attr_filter.accounting_response {
    attrsfile = "/etc/freeradius/attrs.accounting_response"
    key = "%{User-Name}"
  }
 Module: Checking session {...} for more modules to load
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 } # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
    type = "auth"
    ipaddr = *
    port = 0
}
listen {
    type = "acct"
    ipaddr = *
    port = 0
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=0, length=202
    Message-Authenticator = 0x64b46e860c16f90fde4f6730d6422136
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x020000100156474153555c6d696b6573
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 0 length 16
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[unix] returns notfound
  [ldap] Entering ldap_groupcmp()
[files]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
[files]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] attempting LDAP reconnection
  [ldap] (re)connect to ad2.DOMAIN.vrn.ru:389, authentication 0
  [ldap] bind as cn=rad01,ou=Services,dc=DOMAIN,dc=VRN,dc=RU/RADIUS01 to ad2.DOMAIN.vrn.ru:389
  [ldap] waiting for bind result ...
  [ldap] Bind was successful
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] ldap_release_conn: Release Id: 0
[files]     expand: (|(&(objectClass=group)(member=%Ldap-UserDn}))(&(objectClass=top)(uniquemember=%{Ldap-UserDn}))) -> (|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=)))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(cn=depIT)(|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=))))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] object not found
  [ldap] ldap_release_conn: Release Id: 0
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in CN=USERNAME,OU=Staff,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (objectclass=*)
  [ldap] performing search in CN=sp_NewsExtendedEditors,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=fais.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=int.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=VIP_DomainAdmin,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=ProjectSABPU,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=DepIT,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
rlm_ldap::ldap_groupcmp: User found in group depIT
  [ldap] ldap_release_conn: Release Id: 0
[files] users: Matched entry DEFAULT at line 229
++[files] returns ok
[ldap] performing user authorization for DOMAIN\mikes
[ldap]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
[ldap]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP.  Are you sure that the user is configured correctly?
[ldap] user DOMAIN\mikes authorized to use remote access
  [ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user.  Authentication may fail because of this.
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 0 to 192.168.200.3 port 1201
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x01010016041066a08336c25bd7332ba3ec5707d3aab5
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63cbf0ffd64029afad71eb75d7
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=1, length=210
    Message-Authenticator = 0xae88d28bee2292982708bfd8c27eb8ab
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63cbf0ffd64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x020100060319
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[unix] returns notfound
  [ldap] Entering ldap_groupcmp()
[files]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
[files]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] ldap_release_conn: Release Id: 0
[files]     expand: (|(&(objectClass=group)(member=%Ldap-UserDn}))(&(objectClass=top)(uniquemember=%{Ldap-UserDn}))) -> (|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=)))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(cn=depIT)(|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=))))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] object not found
  [ldap] ldap_release_conn: Release Id: 0
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in CN=USERNAME,OU=Staff,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (objectclass=*)
  [ldap] performing search in CN=sp_NewsExtendedEditors,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=fais.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=int.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=VIP_DomainAdmin,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=ProjectSABPU,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=DepIT,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
rlm_ldap::ldap_groupcmp: User found in group depIT
  [ldap] ldap_release_conn: Release Id: 0
[files] users: Matched entry DEFAULT at line 229
++[files] returns ok
[ldap] performing user authorization for DOMAIN\mikes
[ldap]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
[ldap]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP.  Are you sure that the user is configured correctly?
[ldap] user DOMAIN\mikes authorized to use remote access
  [ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user.  Authentication may fail because of this.
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 1 to 192.168.200.3 port 1201
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x010200061920
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63caf3e2d64029afad71eb75d7
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=2, length=329
    Message-Authenticator = 0x0360c0d266a6b277e6621cd1a00da4c0
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63caf3e2d64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x0202007d198000000073160301006e0100006a03014cef7e4a214fca834fb7fecf00d338071af3
6af10a35a5a23e86ec35ae17be23000018002f00350005000ac013c014c009c00a003200380013000
401000029ff0100010000000010000e00000b76676173755c6d696b6573000a000600040017001800
0b00020100
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 125
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
  TLS Length 115
[peap] Length Included
[peap] eaptls_verify returned 11
[peap]     (other): before/accept initialization
[peap]     TLS_accept: before/accept initialization
[peap] <<< TLS 1.0 Handshake [length 006e], ClientHello
[peap]     TLS_accept: SSLv3 read client hello A
[peap] >>> TLS 1.0 Handshake [length 0031], ServerHello
[peap]     TLS_accept: SSLv3 write server hello A
[peap] >>> TLS 1.0 Handshake [length 01bf], Certificate
[peap]     TLS_accept: SSLv3 write certificate A
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
[peap]     TLS_accept: SSLv3 write server done A
[peap]     TLS_accept: SSLv3 flush data
[peap]     TLS_accept: Need to read more data: SSLv3 read client certificate A
In SSL Handshake Phase
In SSL Accept mode
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 2 to 192.168.200.3 port 1201
    EAP-Message = 0x01030209190016030100310200002d03014cef7e4beec16507d8e04cd51dc9d1bb3da3f6ff27a9
fedca7ba7bedb7916a0d00002f000005ff0100010016030101bf0b0001bb0001b80001b5308201b13
082011a020900bbba1aa6d0ccab86300d06092a864886f70d0101050500301d311b30190603550403
131272616430312e76676173752e76726e2e7275301e170d3130313132343130333032365a170d323
0313132313130333032365a301d311b30190603550403131272616430312e76676173752e76726e2e
727530819f300d06092a864886f70d010101050003818d0030818902818100cb1a4c76a8cfc5a8954
41463fd48598e511ebf6e85
    EAP-Message = 0x950468e9e4be438fa3fc0f9b8c09514317449cb72d5948b9d615492c376195c11bc8a8c2d8713c
0d3f6b4db86b1daf9195e807bccf56b36c8b120afa4f7d9d3491fd04336c8e239febc9aa1fa70ab5f
997f1c0ef3dd3a94aa495f9ecc4705ab9d9a1462fcc21a6a812d68f0203010001300d06092a864886
f70d01010505000381810081d948417876fe4e37c0337bc05be810791c92a93b0dc404cb68d30eaae
3ea1b047af4ba272f2309851a96c0cc6647bcf02c413aabc3b98070061e97ceec4f81899910353da6
93bb320608037cb1123a4b99229a1c7136f1add12044581ca0a424a5732a11aa3c3bc6fbc77b1a4e3
b5f905ab8fbc5ff1f5e7faf
    EAP-Message = 0x89c48298a58716030100040e000000
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63c9f2e2d64029afad71eb75d7
Finished request 2.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=3, length=412
    Message-Authenticator = 0x8a898f509a999d4e98fa366de4db6aa9
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63c9f2e2d64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x020300d01980000000c6160301008610000082008013acfcd2e181af70d91def20b2e1e6288c10
91e1bea4b84e8642db4388e1ffc3feb00493957d79af0d4472f6ebe377fd69ebdb6b1d10fe95d127c
3756a14c44e41013ee9b82f366661dd49fe061bab51e838bf2b6efddfc8ceb475a9cbfd2911d4fe45
378387c50b669fc5a1c7a45cc76cf3a0ce836fca4e98993bc0fd00138014030100010116030100309
8ad4e663cee4f05aa7d5f2d4770a8afd06656b1fe93d927416edf37a22e0693f526bb41925284805e
fc7924eace2c3e
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 3 length 208
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
  TLS Length 198
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange
[peap]     TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap]     TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap]     TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap]     TLS_accept: SSLv3 write finished A
[peap]     TLS_accept: SSLv3 flush data
[peap]     (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 3 to 192.168.200.3 port 1201
    EAP-Message = 0x0104004119001403010001011603010030c34e7674359dbcad26cf864eac42dbee2362fdf415a4
fe6116be4de0a008ee8878ed88ac30afc80c052408ee8a0946a9
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63c8f5e2d64029afad71eb75d7
Finished request 3.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=4, length=210
    Message-Authenticator = 0xf9acc38d3efb330c2124b6475d25d62d
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63c8f5e2d64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x020400061900
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 4 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
++[eap] returns handled
Sending Access-Challenge of id 4 to 192.168.200.3 port 1201
    EAP-Message = 0x0105002b19001703010020024b26f5dc68eeb64372ab9d51d307e1922186f79408d91495638388
5da65628
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63cff4e2d64029afad71eb75d7
Finished request 4.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=5, length=263
    Message-Authenticator = 0x37812501699d87aad14e9a7044c510a7
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63cff4e2d64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x0205003b19001703010030c71c0ab6e4f3bac9d84f11a0f9ed007871d1a2b6853e376b04ec2433
d961ecb0c166ed16fe495336551ace27d79a1e1c
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 5 length 59
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established.  Decoding tunneled attributes.
[peap] Identity - DOMAIN\mikes
[peap] Got tunneled request
    EAP-Message = 0x020500100156474153555c6d696b6573
server  {
  PEAP: Got tunneled identity of DOMAIN\mikes
  PEAP: Setting default EAP type for tunneled EAP session.
  PEAP: Setting User-Name to DOMAIN\mikes
Sending tunneled request
    EAP-Message = 0x020500100156474153555c6d696b6573
    FreeRADIUS-Proxied-To = 127.0.0.1
    User-Name = "DOMAIN\\mikes"
server inner-tunnel {
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
++[unix] returns notfound
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 5 length 16
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
  [ldap] Entering ldap_groupcmp()
[files]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
[files]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] ldap_release_conn: Release Id: 0
[files]     expand: (|(&(objectClass=group)(member=%Ldap-UserDn}))(&(objectClass=top)(uniquemember=%{Ldap-UserDn}))) -> (|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=)))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(cn=depIT)(|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=))))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] object not found
  [ldap] ldap_release_conn: Release Id: 0
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in CN=USERNAME,OU=Staff,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (objectclass=*)
  [ldap] performing search in CN=sp_NewsExtendedEditors,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=fais.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=int.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=VIP_DomainAdmin,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=ProjectSABPU,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=DepIT,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
rlm_ldap::ldap_groupcmp: User found in group depIT
  [ldap] ldap_release_conn: Release Id: 0
[files] users: Matched entry DEFAULT at line 229
++[files] returns ok
[ldap] performing user authorization for DOMAIN\mikes
[ldap]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
[ldap]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP.  Are you sure that the user is configured correctly?
[ldap] user DOMAIN\mikes authorized to use remote access
  [ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x010600251a010600201043afe62cdec8a1ebaa59c9bdfd49aa1956474153555c6d696b6573
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xc7549d1cc75287eff35d855812b2ec26
[peap] Got tunneled reply RADIUS code 11
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x010600251a010600201043afe62cdec8a1ebaa59c9bdfd49aa1956474153555c6d696b6573
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xc7549d1cc75287eff35d855812b2ec26
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 5 to 192.168.200.3 port 1201
    EAP-Message = 0x0106004b19001703010040ca0d8c023d4d9ecdd5eb1e10ab3f3bfa757344992b924d91c0b0f071
0d67d67c01ace46a9fb61ab4d7f51970a91c1b35116b56344d4410df97f44a22669c5025
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63cef7e2d64029afad71eb75d7
Finished request 5.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=6, length=311
    Message-Authenticator = 0xd35c034fde79dc242578b415018d0c27
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63cef7e2d64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x0206006b1900170301006013eaae62901967fa76f240c961ce9d8bec8eb8fe297911a2df4869dd
47042721aa8cbc9c5e050e7441c34d7890b3db344d2e0fcda527d7383d6efd6d1b756f0615109fa91
ee14ec95c063f984c41cc76b21cb63ce9bc687bf45a9e4966d0aa66
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 6 length 107
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established.  Decoding tunneled attributes.
[peap] EAP type mschapv2
[peap] Got tunneled request
    EAP-Message = 0x020600461a02060041312506cfe793ac0edfcd73ab983849b83a0000000000000000ce4267fa7f
0e91e44539ebce90eed66e8d19c43acb82137d0056474153555c6d696b6573
server  {
  PEAP: Setting User-Name to DOMAIN\mikes
Sending tunneled request
    EAP-Message = 0x020600461a02060041312506cfe793ac0edfcd73ab983849b83a0000000000000000ce4267fa7f
0e91e44539ebce90eed66e8d19c43acb82137d0056474153555c6d696b6573
    FreeRADIUS-Proxied-To = 127.0.0.1
    User-Name = "DOMAIN\\mikes"
    State = 0xc7549d1cc75287eff35d855812b2ec26
server inner-tunnel {
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
++[unix] returns notfound
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 6 length 70
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
  [ldap] Entering ldap_groupcmp()
[files]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
[files]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] ldap_release_conn: Release Id: 0
[files]     expand: (|(&(objectClass=group)(member=%Ldap-UserDn}))(&(objectClass=top)(uniquemember=%{Ldap-UserDn}))) -> (|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=)))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(cn=depIT)(|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=))))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] object not found
  [ldap] ldap_release_conn: Release Id: 0
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in CN=USERNAME,OU=Staff,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (objectclass=*)
  [ldap] performing search in CN=sp_NewsExtendedEditors,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=fais.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=int.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=VIP_DomainAdmin,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=ProjectSABPU,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=DepIT,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
rlm_ldap::ldap_groupcmp: User found in group depIT
  [ldap] ldap_release_conn: Release Id: 0
[files] users: Matched entry DEFAULT at line 229
++[files] returns ok
[ldap] performing user authorization for DOMAIN\mikes
[ldap]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
[ldap]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP.  Are you sure that the user is configured correctly?
[ldap] user DOMAIN\mikes authorized to use remote access
  [ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] +- entering group MS-CHAP {...}
[mschap] Told to do MS-CHAPv2 for mikes with NT-Password
[mschap]     expand: --username=%{mschap:User-Name:-None} -> --username=mikes
[mschap]     expand: %{mschap:NT-Domain} -> DOMAIN
[mschap]     expand: --domain=%{%{mschap:NT-Domain}:-DOMAIN} -> --domain=DOMAIN
[mschap]  mschap2: 43
[mschap]     expand: --challenge=%{mschap:Challenge:-00} -> --challenge=d3036b3ca8bed9f3
[mschap]     expand: --nt-response=%{mschap:NT-Response:-00} -> --nt-response=ce4267fa7f0e91e44539ebce90eed66e8d19c43acb82137d
Exec-Program output: NT_KEY: B18ECF9D409C27B78253799FB94331FF
Exec-Program-Wait: plaintext: NT_KEY: B18ECF9D409C27B78253799FB94331FF
Exec-Program: returned: 0
[mschap] adding MS-CHAPv2 MPPE keys
++[mschap] returns ok
MSCHAP Success
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x010700331a0306002e533d43374436423343383830373332304644364435353736433345363844
423643453543344239444234
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xc7549d1cc65387eff35d855812b2ec26
[peap] Got tunneled reply RADIUS code 11
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x010700331a0306002e533d43374436423343383830373332304644364435353736433345363844
423643453543344239444234
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xc7549d1cc65387eff35d855812b2ec26
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 6 to 192.168.200.3 port 1201
    EAP-Message = 0x0107005b1900170301005075030a68041031e880b88b28cb659df1387fba1aa3bb9944d9a58b21
5589dea59dfccf9399ac9f8193a999604e64a0659aadd8e6ad3b3d7bad3b079595a51979065b25d03
02be3592f085f1424584ff6
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63cdf6e2d64029afad71eb75d7
Finished request 6.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=7, length=247
    Message-Authenticator = 0x20bf4b05f08ebaf3f9beeed3fc6afe24
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63cdf6e2d64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x0207002b190017030100207185a1eb267fab8cae8f396f8a07e700829bc24b09b5288732ca9b92
57d9ee9e
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 7 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established.  Decoding tunneled attributes.
[peap] EAP type mschapv2
[peap] Got tunneled request
    EAP-Message = 0x020700061a03
server  {
  PEAP: Setting User-Name to DOMAIN\mikes
Sending tunneled request
    EAP-Message = 0x020700061a03
    FreeRADIUS-Proxied-To = 127.0.0.1
    User-Name = "DOMAIN\\mikes"
    State = 0xc7549d1cc65387eff35d855812b2ec26
server inner-tunnel {
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
++[unix] returns notfound
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 7 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
  [ldap] Entering ldap_groupcmp()
[files]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
[files]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] ldap_release_conn: Release Id: 0
[files]     expand: (|(&(objectClass=group)(member=%Ldap-UserDn}))(&(objectClass=top)(uniquemember=%{Ldap-UserDn}))) -> (|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=)))
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(cn=depIT)(|(&(objectClass=group)(member=/var/log/freeradiusdap-UserDn}))(&(objectClass=top)(uniquemember=))))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] object not found
  [ldap] ldap_release_conn: Release Id: 0
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in CN=USERNAME,OU=Staff,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (objectclass=*)
  [ldap] performing search in CN=sp_NewsExtendedEditors,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=fais.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=int.DOMAIN,OU=wi-fi,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=VIP_DomainAdmin,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=ProjectSABPU,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
  [ldap] object not found
  [ldap] performing search in CN=DepIT,OU=Groups,OU=Administrative,DC=DOMAIN,DC=vrn,DC=ru, with filter (cn=depIT)
rlm_ldap::ldap_groupcmp: User found in group depIT
  [ldap] ldap_release_conn: Release Id: 0
[files] users: Matched entry DEFAULT at line 229
++[files] returns ok
[ldap] performing user authorization for DOMAIN\mikes
[ldap]     expand: (&(sAMAccountName=%{mschap:User-Name:-%{User-Name}})) -> (&(sAMAccountName=mikes))
[ldap]     expand: dc=DOMAIN,dc=VRN,dc=RU -> dc=DOMAIN,dc=VRN,dc=RU
  [ldap] ldap_get_conn: Checking Id: 0
  [ldap] ldap_get_conn: Got Id: 0
  [ldap] performing search in dc=DOMAIN,dc=VRN,dc=RU, with filter (&(sAMAccountName=mikes))
  [ldap] rebind to URL ldap://DomainDnsZones.DOMAIN.vrn.ru/DC=DomainDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://ForestDnsZones.DOMAIN.vrn.ru/DC=ForestDnsZones,DC=DOMAIN,DC=vrn,DC=ru
  [ldap] rebind to URL ldap://DOMAIN.vrn.ru/CN=Configuration,DC=DOMAIN,DC=vrn,DC=ru
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP.  Are you sure that the user is configured correctly?
[ldap] user DOMAIN\mikes authorized to use remote access
  [ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[eap] Freeing handler
++[eap] returns ok
  WARNING: Empty section.  Using default return values.
} # server inner-tunnel
[peap] Got tunneled reply code 2
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x03070004
    Message-Authenticator = 0x00000000000000000000000000000000
    User-Name = "DOMAIN\\mikes"
[peap] Got tunneled reply RADIUS code 2
    Reply-Message = "Welcome, you are a depIT user"
    Tunnel-Medium-Type:0 = IEEE-802
    Tunnel-Private-Group-Id:0 = "25"
    Tunnel-Type:0 = VLAN
    EAP-Message = 0x03070004
    Message-Authenticator = 0x00000000000000000000000000000000
    User-Name = "DOMAIN\\mikes"
[peap] Tunneled authentication was successful.
[peap] SUCCESS
++[eap] returns handled
Sending Access-Challenge of id 7 to 192.168.200.3 port 1201
    EAP-Message = 0x0108002b19001703010020988300563dc1cb20054d20f95cedc3c456a604c892ec43cd36f46998
20323848
    Message-Authenticator = 0x00000000000000000000000000000000
    State = 0xcbf1fb63ccf9e2d64029afad71eb75d7
Finished request 7.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 192.168.200.3 port 1201, id=8, length=247
    Message-Authenticator = 0x72cc835fcd98a4d13e82f63bbce77e79
    Service-Type = Framed-User
    User-Name = "DOMAIN\\mikes"
    Framed-MTU = 1488
    State = 0xcbf1fb63ccf9e2d64029afad71eb75d7
    Called-Station-Id = "00-1E-58-B0-C2-90:DOMAIN"
    Calling-Station-Id = "C4-17-FE-AE-20-6D"
    NAS-Identifier = "D-Link Access Point"
    NAS-Port-Type = Wireless-802.11
    Connect-Info = "CONNECT 54Mbps 802.11g"
    EAP-Message = 0x0208002b190017030100202ba2b3399c5d3b4f9db4fd3c878461108d6e561bd13ad267c3126195
74473e9a
    NAS-IP-Address = 192.168.200.3
    NAS-Port = 2
    NAS-Port-Id = "STA port # 2"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "DOMAIN\mikes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 8 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established.  Decoding tunneled attributes.
[peap] Received EAP-TLV response.
[peap] Success
[eap] Freeing handler
++[eap] returns ok
+- entering group post-auth {...}
++[exec] returns noop
Sending Access-Accept of id 8 to 192.168.200.3 port 1201
    MS-MPPE-Recv-Key = 0x8f1d6070268f5e8902bcb83d3fd4d828886dd4b410f26147c87f5988fbc505be
    MS-MPPE-Send-Key = 0x732f8022b6e5759afe64a5d0e1e5534cd22b1060db98e7b8d45d48139454a80b
    EAP-Message = 0x03080004
    Message-Authenticator = 0x00000000000000000000000000000000
    User-Name = "DOMAIN\\mikes"
Finished request 8.
Going to the next request
Waking up in 4.8 seconds.
Cleaning up request 0 ID 0 with timestamp +4
Cleaning up request 1 ID 1 with timestamp +4
Cleaning up request 2 ID 2 with timestamp +4
Cleaning up request 3 ID 3 with timestamp +4
Cleaning up request 4 ID 4 with timestamp +4
Cleaning up request 5 ID 5 with timestamp +4
Cleaning up request 6 ID 6 with timestamp +4
Cleaning up request 7 ID 7 with timestamp +4
Cleaning up request 8 ID 8 with timestamp +4
Ready to process requests.
Спасибо сказали:
Аватара пользователя
mikes
Сообщения: 294
ОС: ubuntu
Контактная информация:

Re: Решено: freeradius + dynamic VLAN

Сообщение mikes »

разобрался сам :)
оказалось что в /etc/freeradius/eap.conf в секции peap стояло use_tunneled_reply = no
соответственно поменял.. и все заработало
Спасибо сказали:
Ответить