看板FreeBSD
标 题Re: FreeRADIUS认证问题
发信站KKCITY (Tue Jan 17 09:40:32 2006)
转信站ptt!ctu-reader!ctu-gate!news.nctu!news.ntu!news.au!zoonews.ee.ntu!bbs.
※ 引述《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
--