最近在測試freeradius連線,全部安裝設定完,下面兩項都成功了,但是radtest測試AP位置卻失敗,用我電腦NTRadPing軟體也沒成功,/etc/raddb/clients.conf有設定電腦和AP了
ntlm_auth --request-nt-key --domain=DOMAIN(大寫)–username=AD 帳號 --password=AD 帳號密碼
radtest test test localhost 0 testing123
LOG
Fri Jul 5 17:08:56 2019 : Info: Debugger not attached
Fri Jul 5 17:08:56 2019 : Warning: [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT".
Fri Jul 5 17:08:56 2019 : Warning: [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT".
Fri Jul 5 17:08:56 2019 : Info: Loaded virtual server
Fri Jul 5 17:08:56 2019 : Warning: Ignoring "sql" (see raddb/mods-available/README.rst)
Fri Jul 5 17:08:56 2019 : Warning: Ignoring "ldap" (see raddb/mods-available/README.rst)
Fri Jul 5 17:08:56 2019 : Info: Loaded virtual server default
Fri Jul 5 17:08:56 2019 : Info: # Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:332
Fri Jul 5 17:08:56 2019 : Info: Loaded virtual server inner-tunnel
Fri Jul 5 17:08:56 2019 : Info: Debugger not attached
Fri Jul 5 17:08:56 2019 : Warning: [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT".
Fri Jul 5 17:08:56 2019 : Warning: [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT".
Fri Jul 5 17:08:56 2019 : Info: Loaded virtual server
Fri Jul 5 17:08:56 2019 : Warning: Ignoring "sql" (see raddb/mods-available/README.rst)
Fri Jul 5 17:08:56 2019 : Warning: Ignoring "ldap" (see raddb/mods-available/README.rst)
Fri Jul 5 17:08:56 2019 : Info: Loaded virtual server default
Fri Jul 5 17:08:56 2019 : Info: # Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:332
Fri Jul 5 17:08:56 2019 : Info: Loaded virtual server inner-tunnel
Fri Jul 5 17:08:56 2019 : Info: Ready to process requests
參考來源
https://roamingcenter.tanet.edu.tw/table/freeradius+AD-v1.0.pdf
https://www.muzifei.com/post/freeradius_with_active_directory.html