В связи с возникшей проблемой viewtopic.php?t=4400&highlight=, переустанавливаю все снова на тестовой машине...
Все работает, кроме того, что радиус не передает Cid

Причем, на основном сервере, Cid передается...
Вот Radiusd -X:
Код: Выделить всё
rad_recv: Access-Request packet from host [ip_vpn]:58556, id=144, length=234
NAS-Identifier = "[hostname]"
Acct-Session-Id = "9989421-L-1"
NAS-Port = 1
NAS-Port-Type = Virtual
Service-Type = Framed-User
Framed-Protocol = PPP
Calling-Station-Id = ""
Called-Station-Id = ""
NAS-Port-Id = "sk1"
Vendor-12341-Attr-12 = 0x4c2d31
Tunnel-Type:0 = PPTP
Tunnel-Medium-Type:0 = IPv4
Tunnel-Server-Endpoint:0 = "[ip_vpn]"
Tunnel-Client-Endpoint:0 = "[client_ip_adress]"
Tunnel-Server-Auth-Id:0 = "[hostname]"
User-Name = "test"
MS-CHAP-Challenge = 0xbb1e68f7c1141e5e4a9ed9eeca59d3a1
MS-CHAP2-Response = 0x01008474df90ab7a19c84af93e9fb95d714d0000000000000000fd2c608de4a2ec58d1f4060156c7a2e48f2f175ea98e2311
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
Exec-Program output: User-Password == "[user_password]"
Exec-Program-Wait: value-pairs: User-Password == "[user_password]"
Exec-Program: returned: 0
modcall[authorize]: module "pre_auth" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
rlm_mschap: Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
modcall[authorize]: module "mschap" returns ok for request 0
users: Matched entry DEFAULT at line 2
modcall[authorize]: module "files" returns ok for request 0
Using perl at 0x2840c13c
User-Password == "[user_password]"rlm_perl: Added pair Reply-Message = Wrong CID ''
rlm_perl: Added pair User-Password = [user_password]
rlm_perl: Added pair Auth-Type = Reject
modcall[authorize]: module "perl" returns reject for request 0
modcall: leaving group authorize (returns reject) for request 0
Invalid user: [test/<no User-Password attribute>] (from client mpd port 1 cli )
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 144 to [ip_vpn] port 58556
Reply-Message = "Wrong CID ''"
Waking up in 4 seconds...
Причем, если я в админке удалю CID, клиент подключается...
Вообще хотелось бы узнать, какие версии портов лучше устанавливать (FreeRadius, MPD)