Страница 1 из 1

A проблема с FreeRadius!

Добавлено: Вс июл 01, 2007 11:15 am
Cucumber86
Народ схожу с ума :) 3-и сутки сижу, делаю четко по мане, не понимаю в чем трабл :oops:
FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE/ freeradius-1.1.6 / poptop-1.3.0 /

radtest не проходит, NAS создал в биллинге и тариф и юзера
1 localhost 127.0.0.1 exppp SQL ENABLE (NAS)

#radtest slava 12345 127.0.0.1:1812 0 rad12345 0 127.0.0.1

Sending Access-Request of id 218 to 127.0.0.1 port 1812
User-Name = "slava"
User-Password = "210986"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Framed-Protocol = PPP
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=218, length=20
---------------------------------------------------------------------------------

В логе радиуса

rad_recv: Access-Request packet from host 127.0.0.1:62410, id=218, length=63
User-Name = "slava"
User-Password = "12345"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Framed-Protocol = PPP
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 3
modcall[authorize]: module "preprocess" returns ok for request 3
rlm_realm: No '@' in User-Name = "slava", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 3
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 3
users: Matched entry DEFAULT at line 153
users: Matched entry DEFAULT at line 172
users: Matched entry DEFAULT at line 184
modcall[authorize]: module "files" returns ok for request 3
rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this.
modcall[authorize]: module "pap" returns noop for request 3
modcall: leaving group authorize (returns ok) for request 3
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 3
modcall[authenticate]: module "unix" returns notfound for request 3
modcall: leaving group authenticate (returns notfound) for request 3
auth: Failed to validate the user.
Delaying request 3 for 1 seconds
Finished request 3
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 218 to 127.0.0.1 port 62410
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 3 ID 218 with timestamp 46878c22
Nothing to do. Sleeping until we see a request.
----------------------------------------------------------------------------------

Перепробовал все и переставил все заново, тоже самое, где промахнулся не понимаю :?:

Добавлено: Пн июл 02, 2007 12:03 pm
Cucumber86
Тупость, скопировал содержимое raddb/clients.conf, удалил файл, создал
его с таким же именем и вставил обратно из буффера дынне
ВСЕ ЗАРАБОТАЛО! :shock: wtf?