Re: FreeRADIUS認證問題
※ 引述《cyilung》之銘言:
> ※ 引述《angoulee (Angou)》之銘言:
> > 謝謝cyilung大大!依您指示,所得出之訊息,如下所示:
> > ꠊ> > rad_recv: Access-Request packet from host 192.168.11.1:1647, id=3, length=66
> > User-Name = "abc"
> > User-Password = "abc123"
> > Service-Type = Outbound-User
> > NAS-IP-Address = 192.168.11.1
> > NAS-Port = 1
> > Proxy-State = 0x3531
> <......恕刪......>
> > 不知問題出在哪裡?謝謝大家!
> 小弟功力淺,你的DEBUG訊息無法解讀,
> 但我建議先將users檔寫單純些,其它都#掉。
> 如,abc User-Password := "test123"
> DEFAULT Auth-Type = LOCAL
> client.conf則先以client 127.0.0.1 { .....}
> 來取代client 192.168.0.1/24,
> 再以radtest abc test123 localhost 0 YourSecretName測試,
> 看是否成功?!
cyilung大大:
我依您的方式測試,但是只測Unix Password(users檔不做任何設定)
不經realm!
結果如下:
.
.
.
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: Found realm "NULL"
rlm_realm: Adding Stripped-User-Name = "test"
rlm_realm: Proxying request from user eric to realm NULL
rlm_realm: Adding Realm = "NULL"
rlm_realm: Authentication realm is LOCAL.
.
.
.
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
rlm_unix: [eric]: invalid password
可是我確定密碼是正確的!
系統卻回應我密碼錯誤!
實在是找不出問題!
謝謝!
--
┌─────◆KKCITY◆─────┐ KK免/費/撥/接 ◤
│ bbs.kkcity.com.tw │▏電話(1):449◤1999 電話(2):4058-6000
└──《From:134.208.10.24 》──┘▏帳號:kkcity 密碼:kkcity
--
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章