FreeBSD5, MPD-0.13, Freeradius-0.7
Не получаеться сдружить MPD и Freeradius
в mpd.conf включаю поддержку радиуса...
set radius server localhost sb 1812 1813
set radius timeout 10
set radius retries 2
set bundle enable radius-auth
В radius.log
Wed Jun 18 14:52:14 2003 : Auth: rlm_unix: Attribute "User-Password" is required for authentication.
В mpd.log
[pptp0] RADIUS: RadiusAddServer Adding localhost
[pptp0] RADIUS: RadiusPutAuth: RADIUS_CHAP (MSOFTv2) peer name: sbuser
[pptp0] RADIUS: RadiusSendRequest: RAD_ACCESS_REJECT for user sbuser
[pptp0] CHAP: sending FAILURE
[pptp0] LCP: authorization failed
[pptp0] device: CLOSE event in state UP
По отдельности mpd и freeradius, работают.
#radtest sbuser test localhost 1812 sb
Sending Access-Request of id 84 to 127.0.0.1:1812
User-Name = "sbuser"
User-Password = "\273^r\027\247\361j\004\207\222\226\207R\264\026\004"
NAS-IP-Address = newrouter.domaun.ru
NAS-Port-Id = "1812"
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=84, length=20
C клиентской машины под W2K
NTRadPing.exe
>Access-accept
Подскажите plz!