Все поставил в точной инструкции с сайта. Версия 0.34b. Запускаю radtest test 1 127.0.0.1:1812 0 пароль_радиус 0 127.0.0.1 пишет Access-Reject.
Тоже и при подключении этого пользователя через циску... Нашел на форуме что могут быть проблемы кодировок и т.п. - все проверил - все ок. Провери правильно ли декодирует пароль - все правильно где смотреть - в логах радиус-сервера ничего не пишет.... в /abills/var/log/ ничего не пишет.
Проверяю vpn pppoe, настроенный на cisco.
Такое ощущение что с бд как-то не так работает
Не получается авторизация пользователя...
Thread 1 handling request 0, (1 handled so far)
Framed-Protocol = PPP
User-Name = "test"
User-Password = "testtest"
NAS-Port-Type = Virtual
NAS-Port = 0
NAS-Port-Id = "0/0/0/0"
Service-Type = Framed-User
NAS-IP-Address = 192.168.1.250
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
users: Matched entry DEFAULT at line 152
users: Matched entry DEFAULT at line 171
users: Matched entry DEFAULT at line 183
modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
modcall[authenticate]: module "unix" returns notfound for request 0
modcall: leaving group authenticate (returns notfound) for request 0
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
Thread 1 waiting to be assigned a request
rad_recv: Access-Request packet from host 192.168.1.250:1645, id=30, length=83
Sending Access-Reject of id 30 to 192.168.1.250 port 1645
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 30 with timestamp 457969a4
Nothing to do. Sleeping until we see a request.
Почему к БД нет обращения?
Framed-Protocol = PPP
User-Name = "test"
User-Password = "testtest"
NAS-Port-Type = Virtual
NAS-Port = 0
NAS-Port-Id = "0/0/0/0"
Service-Type = Framed-User
NAS-IP-Address = 192.168.1.250
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
users: Matched entry DEFAULT at line 152
users: Matched entry DEFAULT at line 171
users: Matched entry DEFAULT at line 183
modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
modcall[authenticate]: module "unix" returns notfound for request 0
modcall: leaving group authenticate (returns notfound) for request 0
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
Thread 1 waiting to be assigned a request
rad_recv: Access-Request packet from host 192.168.1.250:1645, id=30, length=83
Sending Access-Reject of id 30 to 192.168.1.250 port 1645
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 30 with timestamp 457969a4
Nothing to do. Sleeping until we see a request.
Почему к БД нет обращения?
Описан nas. И везде стоят галочки об использовании nas с данным пользователем... Открыл mysqladmin (виндовская тулза) там смотрел процессы которые возникают в СУБД - ничего. Такое ощущение, что несрабатывают скрипты, описанные в users и acct-users или к ним не обращается радиус-сервер. Почему может быть?
Поборол наконец!
users надо было создать с одной строкой как описано в инструкции по установке, а не добавить в файл.
Администратору сайта - исправтье, пожалуйста. Кучу времени убило....
Radius NAS-Identifier ничего не надо набивать иначе будет постоянно писать в abills.log Unknown server 'xxx.xxx.xxx.xxx'
users надо было создать с одной строкой как описано в инструкции по установке, а не добавить в файл.
Администратору сайта - исправтье, пожалуйста. Кучу времени убило....
Radius NAS-Identifier ничего не надо набивать иначе будет постоянно писать в abills.log Unknown server 'xxx.xxx.xxx.xxx'