<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); "><div><div><div style="font-family: Verdana, sans-serif; font-size: 12px; ">Hi Alexander,</div><div style="font-family: Verdana, sans-serif; font-size: 12px; "><br></div><div style="font-family: Verdana, sans-serif; font-size: 12px; ">Start by checking this table, check how the passwords are stored in your ldap and then you will know what kind of protocols you can use with it.</div><div style="font-family: Verdana, sans-serif; font-size: 12px; "><br></div><div style="font-family: Verdana, sans-serif; font-size: 12px; ">I was working on the same thing, my ldap stores the password in SHA encryption so I am only able to use PAP protocol on the supplicant (laptops) , PAP does not exist natively on windows therefore I had to install a third-party software (supplicant) on the laptops in order for the authentication to work.</div><div style="font-family: Verdana, sans-serif; font-size: 12px; "><br></div><div style="font-family: Verdana, sans-serif; font-size: 12px; ">If the passwords are stored in clear-text, then you could use any protocol.</div><div style="font-family: Verdana, sans-serif; font-size: 12px; "><br></div><div style="font-family: Verdana, sans-serif; font-size: 12px; ">Wassim.</div><div><div><div style="font-size: 12px; font-family: Verdana; "><span style="font-family: Verdana, sans-serif; "><span style="color: black; "><font class="Apple-style-span" size="1"><span class="Apple-style-span" style="font-size: 9px; "><br></span></font></span></span></div></div></div></div></div><div style="font-family: Verdana, sans-serif; font-size: 12px; "><br></div><span id="OLK_SRC_BODY_SECTION" style="font-size: 12px; font-family: Verdana, sans-serif; "><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Alexander Kulbiy <<a href="mailto:alexander.kulbiy@wildix.com">alexander.kulbiy@wildix.com</a>><br><span style="font-weight:bold">Reply-To: </span> FreeRadius users mailing list <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br><span style="font-weight:bold">Date: </span> Wednesday, April 25, 2012 1:47 PM<br><span style="font-weight:bold">To: </span> <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br><span style="font-weight:bold">Subject: </span> RADIUS + LDAP authentication problem<br></div><div><br></div>Hello all,
<div><br></div><div>I'm trying to configure RADIUS server that would be used for authentication of users in Wi-Fi network with WPA-enterprise encryption. To do this I'm trying to use EAP + LDAP inside of freeradius.</div><div>The problem is that I see in log: </div><div><br></div><div><div>++[ldap] returns ok</div><div>ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user</div><div>Failed to authenticate the user.</div></div><div><br></div><div>After this client fails aithentication. Here is full log of freeradius -X:</div><div><br></div><div><div>FreeRADIUS Version 2.1.10, for host i486-pc-linux-gnu, built on Nov 14 2010 at 20:41:03</div><div>Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. </div><div>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A </div><div>PARTICULAR PURPOSE. </div><div>You may redistribute copies of FreeRADIUS under the terms of the </div><div>GNU General Public License v2. </div><div>Starting - reading configuration files ...</div><div>including configuration file /etc/freeradius/radiusd.conf</div><div>including configuration file /etc/freeradius/proxy.conf</div><div>including configuration file /etc/freeradius/clients.conf</div><div>including files in directory /etc/freeradius/modules/</div><div>including configuration file /etc/freeradius/modules/otp</div><div>including configuration file /etc/freeradius/modules/chap</div><div>including configuration file /etc/freeradius/modules/expr</div><div>including configuration file /etc/freeradius/modules/passwd</div><div>including configuration file /etc/freeradius/modules/counter</div><div>including configuration file /etc/freeradius/modules/mac2ip</div><div>including configuration file /etc/freeradius/modules/pam</div><div>including configuration file /etc/freeradius/modules/echo</div><div>including configuration file /etc/freeradius/modules/policy</div><div>including configuration file /etc/freeradius/modules/mschap</div><div>including configuration file /etc/freeradius/modules/pap</div><div>including configuration file /etc/freeradius/modules/sql_log</div><div>including configuration file /etc/freeradius/modules/unix</div><div>including configuration file /etc/freeradius/modules/ntlm_auth</div><div>including configuration file /etc/freeradius/modules/ldap</div><div>including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login</div><div>including configuration file /etc/freeradius/modules/exec</div><div>including configuration file /etc/freeradius/modules/files</div><div>including configuration file /etc/freeradius/modules/always</div><div>including configuration file /etc/freeradius/modules/mac2vlan</div><div>including configuration file /etc/freeradius/modules/cui</div><div>including configuration file /etc/freeradius/modules/realm</div><div>including configuration file /etc/freeradius/modules/detail.log</div><div>including configuration file /etc/freeradius/modules/<a href="http://detail.example.com">detail.example.com</a></div><div>including configuration file /etc/freeradius/modules/linelog</div><div>including configuration file /etc/freeradius/modules/checkval</div><div>including configuration file /etc/freeradius/modules/etc_group</div><div>
including configuration file /etc/freeradius/modules/sradutmp</div><div>including configuration file /etc/freeradius/modules/dynamic_clients</div><div>including configuration file /etc/freeradius/modules/attr_rewrite</div><div>including configuration file /etc/freeradius/modules/digest</div><div>including configuration file /etc/freeradius/modules/detail</div><div>including configuration file /etc/freeradius/modules/perl</div><div>including configuration file /etc/freeradius/modules/smsotp</div><div>including configuration file /etc/freeradius/modules/opendirectory</div><div>including configuration file /etc/freeradius/modules/radutmp</div><div>including configuration file /etc/freeradius/modules/expiration</div><div>including configuration file /etc/freeradius/modules/smbpasswd</div><div>including configuration file /etc/freeradius/modules/acct_unique</div><div>including configuration file /etc/freeradius/modules/krb5</div><div>
including configuration file /etc/freeradius/modules/attr_filter</div><div>including configuration file /etc/freeradius/modules/inner-eap</div><div>including configuration file /etc/freeradius/modules/logintime</div><div>
including configuration file /etc/freeradius/modules/ippool</div><div>including configuration file /etc/freeradius/modules/wimax</div><div>including configuration file /etc/freeradius/modules/preprocess</div><div>including configuration file /etc/freeradius/eap.conf</div><div>including configuration file /etc/freeradius/policy.conf</div><div>including files in directory /etc/freeradius/sites-enabled/</div><div>including configuration file /etc/freeradius/sites-enabled/default</div><div>including configuration file /etc/freeradius/sites-enabled/inner-tunnel</div><div>main {</div><div> user = "freerad"</div><div> group = "freerad"</div><div> allow_core_dumps = no</div><div>}</div><div>including dictionary file /etc/freeradius/dictionary</div><div>main {</div><div> prefix = "/usr"</div><div> localstatedir = "/var"</div><div> logdir = "/var/log/freeradius"</div><div> libdir = "/usr/lib/freeradius"</div><div> radacctdir = "/var/log/freeradius/radacct"</div><div> hostname_lookups = no</div><div> max_request_time = 30</div><div> cleanup_delay = 5</div><div> max_requests = 1024</div><div> pidfile = "/var/run/freeradius/freeradius.pid"</div><div> checkrad = "/usr/sbin/checkrad"</div><div> debug_level = 0</div><div> proxy_requests = yes</div><div> log {</div><div> stripped_names = no</div><div> auth = no</div><div> auth_badpass = no</div><div> auth_goodpass = no</div><div> }</div><div> security {</div><div> max_attributes = 200</div><div> reject_delay = 1</div><div> status_server = yes</div><div> }</div><div>}</div><div>radiusd: #### Loading Realms and Home Servers ####</div><div> proxy server {</div><div> retry_delay = 5</div><div> retry_count = 3</div><div>
default_fallback = no</div><div> dead_time = 120</div><div> wake_all_if_all_dead = no</div><div> }</div><div> home_server localhost {</div><div> ipaddr = 127.0.0.1</div><div> port = 1812</div><div> type = "auth"</div><div> secret = "testing123"</div><div> response_window = 20</div><div> max_outstanding = 65536</div><div> require_message_authenticator = yes</div><div> zombie_period = 40</div><div> status_check = "status-server"</div><div> ping_interval = 30</div><div> check_interval = 30</div><div> num_answers_to_alive = 3</div><div> num_pings_to_alive = 3</div><div> revive_interval = 120</div><div> status_check_timeout = 4</div><div> irt = 2</div><div> mrt = 16</div><div> mrc = 5</div><div> mrd = 30</div><div> }</div><div> home_server_pool my_auth_failover {</div><div> type = fail-over</div><div> home_server = localhost</div><div> }</div><div> realm <a href="http://example.com">example.com</a> {</div><div> auth_pool = my_auth_failover</div><div> }</div><div> realm LOCAL {</div><div> }</div><div>radiusd: #### Loading Clients ####</div><div> client localhost {</div><div> ipaddr = 127.0.0.1</div><div> require_message_authenticator = no</div><div> secret = "testing123"</div><div> nastype = "other"</div><div> }</div><div> client <a href="http://192.168.0.0/16">192.168.0.0/16</a> {</div><div> require_message_authenticator = no</div><div> secret = "wildix--dix"</div><div> shortname = "private-network-2"</div><div> }</div><div>radiusd: #### Instantiating modules ####</div><div> instantiate {</div><div> Module: Linked to module rlm_exec</div><div> Module: Instantiating module "exec" from file /etc/freeradius/modules/exec</div><div> exec {</div><div> wait = no</div><div> input_pairs = "request"</div><div> shell_escape = yes</div><div> }</div><div> Module: Linked to module rlm_expr</div><div> Module: Instantiating module "expr" from file /etc/freeradius/modules/expr</div><div> Module: Linked to module rlm_expiration</div><div> Module: Instantiating module "expiration" from file /etc/freeradius/modules/expiration</div><div> expiration {</div><div> reply-message = "Password Has Expired "</div><div> }</div><div> Module: Linked to module rlm_logintime</div><div> Module: Instantiating module "logintime" from file /etc/freeradius/modules/logintime</div><div> logintime {</div><div> reply-message = "You are calling outside your allowed timespan "</div><div> minimum-timeout = 60</div><div> }</div><div> }</div><div>radiusd: #### Loading Virtual Servers ####</div><div>server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel</div><div> modules {</div><div> Module: Checking authenticate {...} for more modules to load</div><div> Module: Linked to module rlm_pap</div><div> Module: Instantiating module "pap" from file /etc/freeradius/modules/pap</div><div> pap {</div><div> encryption_scheme = "auto"</div><div> auto_header = no</div><div> }</div><div> Module: Linked to module rlm_chap</div><div> Module: Instantiating module "chap" from file /etc/freeradius/modules/chap</div><div> Module: Linked to module rlm_mschap</div><div> Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap</div><div> mschap {</div><div> use_mppe = yes</div><div> require_encryption = no</div><div> require_strong = no</div><div> with_ntdomain_hack = no</div><div> }</div><div> Module: Linked to module rlm_unix</div><div> Module: Instantiating module "unix" from file /etc/freeradius/modules/unix</div><div> unix {</div><div> radwtmp = "/var/log/freeradius/radwtmp"</div><div> }</div><div> Module: Linked to module rlm_ldap</div><div> Module: Instantiating module "ldap" from file /etc/freeradius/modules/ldap</div><div> ldap {</div><div> server = "<a href="http://ldap-test.wildix.in">ldap-test.wildix.in</a>"</div><div> port = 389</div><div> password = "wil--pdc"</div><div> identity = "cn=admin,dc=wildix,dc=local"</div><div> net_timeout = 10</div><div> timeout = 4</div><div> timelimit = 3</div><div> tls_mode = no</div><div> start_tls = no</div><div> tls_require_cert = "allow"</div><div>
tls {</div><div> start_tls = no</div><div> require_cert = "allow"</div><div> }</div><div> basedn = "ou=People,dc=wildix,dc=local"</div><div> filter = "(cn=%{%{Stripped-User-Name}:-%{User-Name}})"</div><div> base_filter = "(objectclass=radiusprofile)"</div><div> auto_header = no</div><div> access_attr_used_for_allow = yes</div><div> groupname_attribute = "cn"</div><div> groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"</div><div> dictionary_mapping = "/etc/freeradius/ldap.attrmap"</div><div> ldap_debug = 40</div><div> ldap_connections_number = 5</div><div> compare_check_items = no</div><div> do_xlat = yes</div><div> edir_account_policy_check = no</div><div> set_auth_type = no</div><div> }</div><div>rlm_ldap: Registering ldap_groupcmp for Ldap-Group</div><div>rlm_ldap: Registering ldap_xlat with xlat_name ldap</div><div>rlm_ldap: reading ldap<->radius mappings from file /etc/freeradius/ldap.attrmap</div><div>rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$</div><div>rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$</div><div>rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type</div><div>rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use</div><div>rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id</div><div>rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id</div><div>rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password</div><div>rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password</div><div>rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password</div><div>rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password</div><div>rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password</div><div>rlm_ldap: LDAP userPassword mapped to RADIUS Password-With-Header</div><div>rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT</div><div>rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration</div><div>rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address</div><div>rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type</div><div>
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol</div><div>rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address</div><div>rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask</div><div>rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route</div><div>rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing</div><div>rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id</div><div>
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU</div><div>rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression</div><div>rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host</div><div>rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service</div><div>rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port</div><div>rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number</div><div>rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id</div><div>rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network</div><div>rlm_ldap: LDAP radiusClass mapped to RADIUS Class</div><div>rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout</div><div>rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout</div><div>rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action</div><div>rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service</div><div>rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node</div><div>rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group</div><div>rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link</div><div>rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network</div><div>rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone</div><div>rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit</div><div>rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port</div><div>rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message</div><div>rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type</div><div>rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type</div><div>rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id</div><div>conns: 0xa15b000</div><div> Module: Linked to module rlm_eap</div><div> Module: Instantiating module "eap" from file /etc/freeradius/eap.conf</div><div> eap {</div><div> default_eap_type = "ttls"</div><div> timer_expire = 10</div><div> ignore_unknown_eap_types = no</div><div> cisco_accounting_username_bug = no</div><div> max_sessions = 2048</div><div> }</div><div> Module: Linked to sub-module rlm_eap_gtc</div><div> Module: Instantiating eap-gtc</div><div> gtc {</div><div>
challenge = "Password: "</div><div> auth_type = "LDAP"</div><div> }</div><div> Module: Linked to sub-module rlm_eap_tls</div><div> Module: Instantiating eap-tls</div><div> tls {</div><div> rsa_key_exchange = no</div><div> dh_key_exchange = yes</div><div> rsa_key_length = 512</div><div> dh_key_length = 512</div><div> verify_depth = 0</div><div> CA_path = "/etc/freeradius/certs"</div><div> pem_file_type = yes</div><div> private_key_file = "/etc/freeradius/certs/server.key"</div><div> certificate_file = "/etc/freeradius/certs/server.pem"</div><div> CA_file = "/etc/freeradius/certs/ca.pem"</div><div> private_key_password = "whatever"</div><div> dh_file = "/etc/freeradius/certs/dh"</div><div> random_file = "/dev/urandom"</div><div> fragment_size = 1024</div><div> include_length = yes</div><div> check_crl = no</div><div> cipher_list = "DEFAULT"</div><div> }</div><div> Module: Linked to sub-module rlm_eap_ttls</div><div> Module: Instantiating eap-ttls</div><div> ttls {</div><div> default_eap_type = "gtc"</div><div> copy_request_to_tunnel = no</div><div> use_tunneled_reply = no</div><div> include_length = yes</div><div> }</div><div> Module: Linked to sub-module rlm_eap_peap</div><div> Module: Instantiating eap-peap</div><div> peap {</div><div> default_eap_type = "gtc"</div><div> copy_request_to_tunnel = no</div><div> use_tunneled_reply = no</div><div> proxy_tunneled_request_as_eap = yes</div><div> }</div><div> Module: Checking authorize {...} for more modules to load</div><div> Module: Linked to module rlm_realm</div><div> Module: Instantiating module "suffix" from file /etc/freeradius/modules/realm</div><div> realm suffix {</div><div> format = "suffix"</div><div> delimiter = "@"</div><div> ignore_default = no</div><div> ignore_null = no</div><div> }</div><div> Module: Linked to module rlm_files</div><div> Module: Instantiating module "files" from file /etc/freeradius/modules/files</div><div> files {</div><div> usersfile = "/etc/freeradius/users"</div><div> acctusersfile = "/etc/freeradius/acct_users"</div><div> preproxy_usersfile = "/etc/freeradius/preproxy_users"</div><div> compat = "no"</div><div> }</div><div> Module: Checking session {...} for more modules to load</div><div> Module: Linked to module rlm_radutmp</div><div> Module: Instantiating module "radutmp" from file /etc/freeradius/modules/radutmp</div><div> radutmp {</div><div> filename = "/var/log/freeradius/radutmp"</div><div> username = "%{User-Name}"</div><div> case_sensitive = yes</div><div> check_with_nas = yes</div><div> perm = 384</div><div> callerid = yes</div><div> }</div><div> Module: Checking post-proxy {...} for more modules to load</div><div> Module: Checking post-auth {...} for more modules to load</div><div> Module: Linked to module rlm_attr_filter</div><div> Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter</div><div> attr_filter attr_filter.access_reject {</div><div> attrsfile = "/etc/freeradius/attrs.access_reject"</div><div> key = "%{User-Name}"</div><div> }</div><div> } # modules</div><div>
} # server</div><div>server { # from file /etc/freeradius/radiusd.conf</div><div> modules {</div><div> Module: Checking authenticate {...} for more modules to load</div><div> Module: Checking authorize {...} for more modules to load</div><div> Module: Linked to module rlm_preprocess</div><div> Module: Instantiating module "preprocess" from file /etc/freeradius/modules/preprocess</div><div> preprocess {</div><div> huntgroups = "/etc/freeradius/huntgroups"</div><div> hints = "/etc/freeradius/hints"</div><div> with_ascend_hack = no</div><div> ascend_channels_per_line = 23</div><div> with_ntdomain_hack = no</div><div> with_specialix_jetstream_hack = no</div><div> with_cisco_vsa_hack = no</div><div> with_alvarion_vsa_hack = no</div><div> }</div><div> Module: Instantiating module "ntdomain" from file /etc/freeradius/modules/realm</div><div> realm ntdomain {</div><div> format = "prefix"</div><div> delimiter = "\"</div><div> ignore_default = no</div><div> ignore_null = no</div><div> }</div><div> } # modules</div><div>} # server</div><div>radiusd: #### Opening IP addresses and Ports ####</div><div>listen {</div><div> type = "auth"</div><div> ipaddr = *</div><div> port = 0</div><div>}</div><div>listen {</div><div> type = "acct"</div><div> ipaddr = *</div><div> port = 0</div><div>}</div><div>listen {</div><div> type = "auth"</div><div> ipaddr = 127.0.0.1</div><div> port = 18120</div><div>}</div><div>Listening on authentication address * port 1812</div><div>Listening on accounting address * port 1813</div><div>Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel</div><div>Listening on proxy address * port 1814</div><div>Ready to process requests.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>rad_recv: Access-Request packet from host 192.168.1.150 port 32769, id=0, length=148</div><div> User-Name = "alexander.duts"</div><div> NAS-IP-Address = 192.168.1.150</div><div> NAS-Identifier = "RalinkAP0"</div><div> NAS-Port = 0</div><div> Called-Station-Id = "54-04-A6-E9-43-10"</div><div> Calling-Station-Id = "60-C5-47-99-DC-E2"</div><div> Framed-MTU = 1400</div><div> NAS-Port-Type = Wireless-802.11</div><div> EAP-Message = 0x0201001301616c6578616e6465722e64757473</div><div> Message-Authenticator = 0x45a7c02b2bc257737c8ba12abc372b5c</div><div># Executing section authorize from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authorize {...}</div><div>++[preprocess] returns ok</div><div>[suffix] No '@' in User-Name = "alexander.duts", looking up realm NULL</div><div>[suffix] No such realm "NULL"</div><div>++[suffix] returns noop</div><div>[ntdomain] No '\' in User-Name = "alexander.duts", looking up realm NULL</div><div>[ntdomain] No such realm "NULL"</div><div>++[ntdomain] returns noop</div><div>[eap] EAP packet type response id 1 length 19</div><div>[eap] No EAP Start, assuming it's an on-going EAP conversation</div><div>++[eap] returns updated</div><div>++[files] returns noop</div><div>[ldap] performing user authorization for alexander.duts</div><div>[ldap] expand: %{Stripped-User-Name} -> </div><div>[ldap] ... expanding second conditional</div><div>[ldap] expand: %{User-Name} -> alexander.duts</div><div>[ldap] expand: (cn=%{%{Stripped-User-Name}:-%{User-Name}}) -> (cn=alexander.duts)</div><div>[ldap] expand: ou=People,dc=wildix,dc=local -> ou=People,dc=wildix,dc=local</div><div> [ldap] ldap_get_conn: Checking Id: 0</div><div> [ldap] ldap_get_conn: Got Id: 0</div><div> [ldap] attempting LDAP reconnection</div><div> [ldap] (re)connect to <a href="http://ldap-test.wildix.in:389">ldap-test.wildix.in:389</a>, authentication 0</div><div> [ldap] bind as cn=admin,dc=wildix,dc=local/wil--pdc to <a href="http://ldap-test.wildix.in:389">ldap-test.wildix.in:389</a></div><div> [ldap] waiting for bind result ...</div><div> [ldap] Bind was successful</div><div> [ldap] performing search in ou=People,dc=wildix,dc=local, with filter (cn=alexander.duts)</div><div>[ldap] No default NMAS login sequence</div><div>[ldap] looking for check items in directory...</div><div> [ldap] userPassword -> Password-With-Header == "{MD5}ibKj45B56xWdI2wgngTn5A=="</div><div>[ldap] looking for reply items in directory...</div><div>
[ldap] user alexander.duts authorized to use remote access</div><div> [ldap] ldap_release_conn: Release Id: 0</div><div>++[ldap] returns ok</div><div>Found Auth-Type = EAP</div><div># Executing group from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authenticate {...}</div><div>[eap] EAP Identity</div><div>[eap] processing type tls</div><div>[tls] Initiate</div><div>[tls] Start returned 1</div><div>++[eap] returns handled</div><div>Sending Access-Challenge of id 0 to 192.168.1.150 port 32769</div><div> EAP-Message = 0x010200061520</div><div> Message-Authenticator = 0x00000000000000000000000000000000</div><div> State = 0xba753fceba772a527d9425cf769c2e59</div><div>Finished request 0.</div><div>Going to the next request</div><div>Waking up in 4.9 seconds.</div><div>rad_recv: Access-Request packet from host 192.168.1.150 port 32769, id=1, length=279</div><div> User-Name = "alexander.duts"</div><div> NAS-IP-Address = 192.168.1.150</div><div> NAS-Identifier = "RalinkAP0"</div><div> NAS-Port = 0</div><div> Called-Station-Id = "54-04-A6-E9-43-10"</div><div> Calling-Station-Id = "60-C5-47-99-DC-E2"</div><div> Framed-MTU = 1400</div><div> NAS-Port-Type = Wireless-802.11</div><div> EAP-Message = 0x0202008415800000007a16030100750100007103014f97d3f69920e670b14209ada72b804e54dd3d8e76f9966dcf85add2b044c47c000036c00ac009c007c008c013c014c011c012c004c005c002c003c00ec00fc00cc00d002f000500040035000a00320033003800390016001301000012000a00080006001700180019000b00020100</div><div> State = 0xba753fceba772a527d9425cf769c2e59</div><div> Message-Authenticator = 0xac3d792374214db61afd78a7273cdb11</div><div># Executing section authorize from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authorize {...}</div><div>++[preprocess] returns ok</div><div>[suffix] No '@' in User-Name = "alexander.duts", looking up realm NULL</div><div>[suffix] No such realm "NULL"</div><div>++[suffix] returns noop</div><div>[ntdomain] No '\' in User-Name = "alexander.duts", looking up realm NULL</div><div>[ntdomain] No such realm "NULL"</div><div>++[ntdomain] returns noop</div><div>[eap] EAP packet type response id 2 length 132</div><div>[eap] Continuing tunnel setup.</div><div>++[eap] returns ok</div><div>++[files] returns noop</div><div>[ldap] performing user authorization for alexander.duts</div><div>[ldap] expand: %{Stripped-User-Name} -> </div><div>[ldap] ... expanding second conditional</div><div>[ldap] expand: %{User-Name} -> alexander.duts</div><div>[ldap] expand: (cn=%{%{Stripped-User-Name}:-%{User-Name}}) -> (cn=alexander.duts)</div><div>[ldap] expand: ou=People,dc=wildix,dc=local -> ou=People,dc=wildix,dc=local</div><div> [ldap] ldap_get_conn: Checking Id: 0</div><div> [ldap] ldap_get_conn: Got Id: 0</div><div> [ldap] performing search in ou=People,dc=wildix,dc=local, with filter (cn=alexander.duts)</div><div>[ldap] No default NMAS login sequence</div><div>[ldap] looking for check items in directory...</div><div> [ldap] userPassword -> Password-With-Header == "{MD5}ibKj45B56xWdI2wgngTn5A=="</div><div>[ldap] looking for reply items in directory...</div><div>[ldap] user alexander.duts authorized to use remote access</div><div> [ldap] ldap_release_conn: Release Id: 0</div><div>++[ldap] returns ok</div><div>Found Auth-Type = EAP</div><div># Executing group from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authenticate {...}</div><div>[eap] Request found, released from the list</div><div>[eap] EAP/ttls</div><div>[eap] processing type ttls</div><div>[ttls] Authenticate</div><div>[ttls] processing EAP-TLS</div><div> TLS Length 122</div><div>[ttls] Length Included</div><div>[ttls] eaptls_verify returned 11 </div><div>[ttls] (other): before/accept initialization</div><div>[ttls] TLS_accept: before/accept initialization</div><div>[ttls] <<< TLS 1.0 Handshake [length 0075], ClientHello </div><div>[ttls] TLS_accept: SSLv3 read client hello A</div><div>[ttls] >>> TLS 1.0 Handshake [length 002a], ServerHello </div><div>[ttls] TLS_accept: SSLv3 write server hello A</div><div>[ttls] >>> TLS 1.0 Handshake [length 02c2], Certificate </div><div>[ttls] TLS_accept: SSLv3 write certificate A</div><div>[ttls] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone </div><div>
[ttls] TLS_accept: SSLv3 write server done A</div><div>[ttls] TLS_accept: SSLv3 flush data</div><div>[ttls] TLS_accept: Need to read more data: SSLv3 read client certificate A</div><div>In SSL Handshake Phase </div><div>In SSL Accept mode </div><div>[ttls] eaptls_process returned 13 </div><div>++[eap] returns handled</div><div>Sending Access-Challenge of id 1 to 192.168.1.150 port 32769</div><div> EAP-Message = 0x010303091580000002ff160301002a0200002603014f97d185e6ccf528844dce72d2c31e3b5de6d7ff909e8b43243627a9ecc6181300002f0016030102c20b0002be0002bb0002b8308202b43082019c020900f41bcab70f7d95eb300d06092a864886f70d0101050500301c311a301806035504031311646f6d61696e2e77696c6469782e636f6d301e170d3131303831383038353834315a170d3231303831353038353834315a301c311a301806035504031311646f6d61696e2e77696c6469782e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100bb18b7a3da0a4d6289e1b0ded28da6ec10c3bf97e97b</div><div> EAP-Message = 0x4dbb7aea52254af1f0a4ebd21661db4435fb81b94a95685cade22cd8af456649ae92a82f1f909145f0936dd132c8ad15462c4abcbbd8b8b00b7d38b47b7dfe8bfa53a95b5f581809cc9dd858985a153cf110d17a6c87afa2a889bb52febe8695e5bac521dcf44ef94d8768f959b1b99e21e7024a539f39b22c1a9a02e70ac68cdeb153b6b32e454d54714438958653955a3ee223d93a804453be00acd4ad0938724a7342fb895808e586a891d13e4ddbceb2e871f9a55292399aac9dd1b3db0fd3dff8688ed75789640f2854f782e7c8c1ea15c9e000f75c6bb9140a18992f60346be673f1f5742b42990203010001300d06092a864886f70d01010505</div><div> EAP-Message = 0x000382010100aeb4d05fb7d05508e4832c0a5085130bb13806a6749d9f179d4add128162d5d3435e6031b64591af7fb08414d9c7de87807e7b002ba625f9bb4d29ad817ce3b4a47026bcc158a3cbf2342607bb6d9c150c1dbb60726f8d66a58e5a3ffcd1220fd1f483841404d5bd2c969a81b88a59f04c997ca82c970e81699259a502d152187a2bb6b2ed04bbed632779709bf8548b8e5ea6b5057cd02717996b73912024572934718a66e82175b33225549a766f80ca4f7c867012b74132c0cfc7e914e408caa189ef91f853a0730dd6c086b4f84fe82f59ec83fdf99958d3c7bdad1f17833eb56bbcec13d55bb9366ffe31f79fb907f293dd2c44c7</div><div> EAP-Message = 0xc6b8a7b9020d795f9016030100040e000000</div><div> Message-Authenticator = 0x00000000000000000000000000000000</div><div> State = 0xba753fcebb762a527d9425cf769c2e59</div><div>Finished request 1.</div><div>Going to the next request</div><div>Waking up in 4.9 seconds.</div><div>rad_recv: Access-Request packet from host 192.168.1.150 port 32769, id=2, length=485</div><div> User-Name = "alexander.duts"</div><div> NAS-IP-Address = 192.168.1.150</div><div> NAS-Identifier = "RalinkAP0"</div><div> NAS-Port = 0</div><div> Called-Station-Id = "54-04-A6-E9-43-10"</div><div> Calling-Station-Id = "60-C5-47-99-DC-E2"</div><div> Framed-MTU = 1400</div><div> NAS-Port-Type = Wireless-802.11</div><div> EAP-Message = 0x020301501580000001461603010106100001020100702ffd52295b1d85923a25f173c2272d25023c306be0f5c638c06519b02642b90f97c28b77fe9186877f347e731c84ebf96453b61ccfb89828a46909d5af697fee8cf60334b6dfda77225527a2fe2c05bfc5e5b748bed837f33147276c6100b59888817be06b02ee72d6c75fdeaa70d7df75dcb91e7246377645539a8e6d5a976ddeaee85298953a5cb2fee1fe12fff90975ec12341b457a930d773a6d70512e932d974bc5fafc5b9264005c5979a903f6ceaccdade2219262dafe0aecdf66dff4455bc30bd98a17cf4832ab4daf00b1ec9c514d084bcf9468e388b0085c8bf0410aa15ac021ce56</div><div> EAP-Message = 0xfd432ce00489d4b939bbfd2d5433f345a9aecd4ab4f424831403010001011603010030067140ba5efb9def7fc906cb34b89dcebef50295e5fa9755a325a9a9dfe4f2542180467c4292a7c98c5238fdcfdaed9c</div><div> State = 0xba753fcebb762a527d9425cf769c2e59</div><div> Message-Authenticator = 0x7b76cb05216a62e94fc85496c11d6baf</div><div># Executing section authorize from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authorize {...}</div><div>++[preprocess] returns ok</div><div>[suffix] No '@' in User-Name = "alexander.duts", looking up realm NULL</div><div>[suffix] No such realm "NULL"</div><div>++[suffix] returns noop</div><div>[ntdomain] No '\' in User-Name = "alexander.duts", looking up realm NULL</div><div>[ntdomain] No such realm "NULL"</div><div>++[ntdomain] returns noop</div><div>[eap] EAP packet type response id 3 length 253</div><div>[eap] Continuing tunnel setup.</div><div>++[eap] returns ok</div><div>++[files] returns noop</div><div>[ldap] performing user authorization for alexander.duts</div><div>[ldap] expand: %{Stripped-User-Name} -> </div><div>[ldap] ... expanding second conditional</div><div>[ldap] expand: %{User-Name} -> alexander.duts</div><div>[ldap] expand: (cn=%{%{Stripped-User-Name}:-%{User-Name}}) -> (cn=alexander.duts)</div><div>[ldap] expand: ou=People,dc=wildix,dc=local -> ou=People,dc=wildix,dc=local</div><div> [ldap] ldap_get_conn: Checking Id: 0</div><div> [ldap] ldap_get_conn: Got Id: 0</div><div> [ldap] performing search in ou=People,dc=wildix,dc=local, with filter (cn=alexander.duts)</div><div>[ldap] No default NMAS login sequence</div><div>[ldap] looking for check items in directory...</div><div> [ldap] userPassword -> Password-With-Header == "{MD5}ibKj45B56xWdI2wgngTn5A=="</div><div>[ldap] looking for reply items in directory...</div><div>[ldap] user alexander.duts authorized to use remote access</div><div> [ldap] ldap_release_conn: Release Id: 0</div><div>++[ldap] returns ok</div><div>Found Auth-Type = EAP</div><div># Executing group from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authenticate {...}</div><div>[eap] Request found, released from the list</div><div>[eap] EAP/ttls</div><div>[eap] processing type ttls</div><div>[ttls] Authenticate</div><div>[ttls] processing EAP-TLS</div><div> TLS Length 326</div><div>[ttls] Length Included</div><div>[ttls] eaptls_verify returned 11 </div><div>[ttls] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange </div><div>[ttls] TLS_accept: SSLv3 read client key exchange A</div><div>[ttls] <<< TLS 1.0 ChangeCipherSpec [length 0001] </div><div>[ttls] <<< TLS 1.0 Handshake [length 0010], Finished </div><div>[ttls] TLS_accept: SSLv3 read finished A</div><div>[ttls] >>> TLS 1.0 ChangeCipherSpec [length 0001] </div><div>[ttls] TLS_accept: SSLv3 write change cipher spec A</div><div>[ttls] >>> TLS 1.0 Handshake [length 0010], Finished </div><div>[ttls] TLS_accept: SSLv3 write finished A</div><div>[ttls] TLS_accept: SSLv3 flush data</div><div>[ttls] (other): SSL negotiation finished successfully</div><div>SSL Connection Established </div><div>[ttls] eaptls_process returned 13 </div><div>++[eap] returns handled</div><div>Sending Access-Challenge of id 2 to 192.168.1.150 port 32769</div><div> EAP-Message = 0x0104004515800000003b14030100010116030100307071fceb1625b177a9f2e70894cceddf2d539a238ef606f1c9d735aee7b3fac6b23a23dd627b54dfa1494970914ad7f1</div><div> Message-Authenticator = 0x00000000000000000000000000000000</div><div> State = 0xba753fceb8712a527d9425cf769c2e59</div><div>Finished request 2.</div><div>Going to the next request</div><div>Waking up in 4.9 seconds.</div><div>rad_recv: Access-Request packet from host 192.168.1.150 port 32769, id=3, length=306</div><div> User-Name = "alexander.duts"</div><div> NAS-IP-Address = 192.168.1.150</div><div> NAS-Identifier = "RalinkAP0"</div><div> NAS-Port = 0</div><div> Called-Station-Id = "54-04-A6-E9-43-10"</div><div> Calling-Station-Id = "60-C5-47-99-DC-E2"</div><div> Framed-MTU = 1400</div><div> NAS-Port-Type = Wireless-802.11</div><div> EAP-Message = 0x0204009f1580000000951703010090a6050d6dfa5a020ed480b3a256bdee65722fdfc2eca0ed63507fff0309dc956a1f3327abd3cf051fb6f5fb2dd1f97a528b9bc23d3ba5e64eadec0e49f26bb731614c7d800085ac313b6fc1ead9a2779d7377d3c099cc74fc62315a1b23d6651385b69d502086f64b90fbacd0832cf2dc0ff4671ad4ea15326a3ad5ad1ce7a91025781097a47a59255b0fa9b99d6567ea</div><div> State = 0xba753fceb8712a527d9425cf769c2e59</div><div> Message-Authenticator = 0x97bc7ad1a50b740583db42cd83c152a6</div><div># Executing section authorize from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authorize {...}</div><div>++[preprocess] returns ok</div><div>[suffix] No '@' in User-Name = "alexander.duts", looking up realm NULL</div><div>[suffix] No such realm "NULL"</div><div>++[suffix] returns noop</div><div>[ntdomain] No '\' in User-Name = "alexander.duts", looking up realm NULL</div><div>[ntdomain] No such realm "NULL"</div><div>++[ntdomain] returns noop</div><div>[eap] EAP packet type response id 4 length 159</div><div>[eap] Continuing tunnel setup.</div><div>++[eap] returns ok</div><div>++[files] returns noop</div><div>[ldap] performing user authorization for alexander.duts</div><div>[ldap] expand: %{Stripped-User-Name} -> </div><div>[ldap] ... expanding second conditional</div><div>[ldap] expand: %{User-Name} -> alexander.duts</div><div>[ldap] expand: (cn=%{%{Stripped-User-Name}:-%{User-Name}}) -> (cn=alexander.duts)</div><div>[ldap] expand: ou=People,dc=wildix,dc=local -> ou=People,dc=wildix,dc=local</div><div> [ldap] ldap_get_conn: Checking Id: 0</div><div> [ldap] ldap_get_conn: Got Id: 0</div><div> [ldap] performing search in ou=People,dc=wildix,dc=local, with filter (cn=alexander.duts)</div><div>[ldap] No default NMAS login sequence</div><div>[ldap] looking for check items in directory...</div><div> [ldap] userPassword -> Password-With-Header == "{MD5}ibKj45B56xWdI2wgngTn5A=="</div><div>[ldap] looking for reply items in directory...</div><div>[ldap] user alexander.duts authorized to use remote access</div><div> [ldap] ldap_release_conn: Release Id: 0</div><div>++[ldap] returns ok</div><div>Found Auth-Type = EAP</div><div># Executing group from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authenticate {...}</div><div>[eap] Request found, released from the list</div><div>[eap] EAP/ttls</div><div>[eap] processing type ttls</div><div>[ttls] Authenticate</div><div>[ttls] processing EAP-TLS</div><div> TLS Length 149</div><div>[ttls] Length Included</div><div>[ttls] eaptls_verify returned 11 </div><div>[ttls] eaptls_process returned 7 </div><div>[ttls] Session established. Proceeding to decode tunneled attributes.</div><div>[ttls] Got tunneled request</div><div> User-Name = "alexander.duts"</div><div> MS-CHAP-Challenge = 0xa6d98f587da2024f7a6513f2e991d261</div><div> MS-CHAP2-Response = 0x7a004794198aef4fbcb66d3e389079ed41560000000000000000fa8c2cdf0c49219574c0826b377c9d6ca977ece95f465ae4</div><div> FreeRADIUS-Proxied-To = 127.0.0.1</div><div>[ttls] Sending tunneled request</div><div> User-Name = "alexander.duts"</div><div> MS-CHAP-Challenge = 0xa6d98f587da2024f7a6513f2e991d261</div><div> MS-CHAP2-Response = 0x7a004794198aef4fbcb66d3e389079ed41560000000000000000fa8c2cdf0c49219574c0826b377c9d6ca977ece95f465ae4</div><div> FreeRADIUS-Proxied-To = 127.0.0.1</div><div>server {</div><div># Executing section authorize from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authorize {...}</div><div>++[preprocess] returns ok</div><div>[suffix] No '@' in User-Name = "alexander.duts", looking up realm NULL</div><div>[suffix] No such realm "NULL"</div><div>++[suffix] returns noop</div><div>[ntdomain] No '\' in User-Name = "alexander.duts", looking up realm NULL</div><div>[ntdomain] No such realm "NULL"</div><div>++[ntdomain] returns noop</div><div>[eap] No EAP-Message, not doing EAP</div><div>++[eap] returns noop</div><div>++[files] returns noop</div><div>[ldap] performing user authorization for alexander.duts</div><div>[ldap] expand: %{Stripped-User-Name} -> </div><div>[ldap] ... expanding second conditional</div><div>[ldap] expand: %{User-Name} -> alexander.duts</div><div>[ldap] expand: (cn=%{%{Stripped-User-Name}:-%{User-Name}}) -> (cn=alexander.duts)</div><div>[ldap] expand: ou=People,dc=wildix,dc=local -> ou=People,dc=wildix,dc=local</div><div>127.0.0.1 localhost</div><div>127.0.1.1 <a href="http://testbox.wildix.com.ua">testbox.wildix.com.ua</a> testbox</div><div>#192.168.1.171 test</div><div>#192.168.1.171 <a href="http://out.pbx.wildix.com">out.pbx.wildix.com</a></div><div>#192.168.1.171 <a href="http://192_168_1_113.out.pbx.wildix.com">192_168_1_113.out.pbx.wildix.com</a></div><div>192.168.1.199 192.168.1.195</div><div><br></div><div> [ldap] ldap_get_conn: Checking Id: 0</div><div>
[ldap] ldap_get_conn: Got Id: 0</div><div> [ldap] performing search in ou=People,dc=wildix,dc=local, with filter (cn=alexander.duts)</div><div>[ldap] No default NMAS login sequence</div><div>[ldap] looking for check items in directory...</div><div> [ldap] userPassword -> Password-With-Header == "{MD5}ibKj45B56xWdI2wgngTn5A=="</div><div>[ldap] looking for reply items in directory...</div><div>[ldap] user alexander.duts authorized to use remote access</div><div> [ldap] ldap_release_conn: Release Id: 0</div><div>++[ldap] returns ok</div><div>ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user</div><div>Failed to authenticate the user.</div><div>
} # server </div><div>[ttls] Got tunneled reply code 3</div><div>[ttls] Got tunneled Access-Reject</div><div>[eap] Handler failed in EAP/ttls</div><div>[eap] Failed in EAP select</div><div>++[eap] returns invalid</div><div>
Failed to authenticate the user.</div><div>Using Post-Auth-Type Reject</div><div> WARNING: Unknown value specified for Post-Auth-Type. Cannot perform requested action.</div><div>Delaying reject of request 3 for 1 seconds</div><div>Going to the next request</div><div>Waking up in 0.9 seconds.</div><div>rad_recv: Access-Request packet from host 192.168.1.150 port 32769, id=3, length=306</div><div>Waiting to send Access-Reject to client private-network-2 port 32769 - ID: 3</div><div>Waking up in 0.1 seconds.</div><div>Sending delayed reject for request 3</div><div>Sending Access-Reject of id 3 to 192.168.1.150 port 32769</div><div> EAP-Message = 0x04040004</div><div> Message-Authenticator = 0x00000000000000000000000000000000</div><div>Waking up in 3.8 seconds.</div><div>Cleaning up request 0 ID 0 with timestamp +151</div><div>Cleaning up request 1 ID 1 with timestamp +152</div><div>Cleaning up request 2 ID 2 with timestamp +152</div><div>Waking up in 1.0 seconds.</div><div>Cleaning up request 3 ID 3 with timestamp +152</div><div>Ready to process requests.</div></div><div><br></div><div>Does anyone have idea what could be the problem?</div><div><br></div><div>Thanks in advance,</div><div>
Alexander</div>
-
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></span></body></html>