2015-10-20 306 views
0
授權

我已經安裝壓縮包FreeRADIUS2並加入raddb/users一個新用戶作爲無法在FreeRADIUS的

_aboli Cleartext-Password := "safarnama"_ 

但是當我嘗試授權,我得到以下錯誤:

rad_recv: Access-Request packet from host 192.168.9.128 port 60663, id=191, length=51 
    User-Name = 'aboli' 
    User-Password = 'safarnama' 
    NAS-Port = 0 
(0) WARNING: Empty authorize section. Using default return values. 
(0) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject 
(0) Failed to authenticate the user. 
(0) Using Post-Auth-Type Reject 
(0) WARNING: Unknown value specified for Post-Auth-Type. Cannot perform requested action. 
(0) Finished request 0. 
Waking up in 0.3 seconds. 

回答

1

消息WARNING: Empty authorize section. Using default return values.表示您在虛擬服務器配置的授權{}部分中沒有任何內容(最有可能的是/etc/raddb/sites-enabled/default或可能/etc/raddb/radiusd.conf,如果您一直在編輯它的話)。

確認您已經使用完整配置正確安裝了FreeRADIUS。這是最基本的配置,因此在全新安裝之後,您只需編輯users文件,然後嘗試從本地計算機運行radtest以確保其正常工作。一旦你做完了,它就可以工作,然後在clients.conf中添加一個條目,並轉到另一臺機器上的網絡測試。

現在你應該使用FreeRADIUS版本3.版本2是報廢的。