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

Не проходит radtest

Добавлено: Ср янв 17, 2007 10:46 am
mishas
Привествую!

Настроил по инструкции.

===
debian:/var/log/freeradius# radtest user1 user1 127.0.0.1:1812 0 abills123 0 127.0.0.1
Sending Access-Request of id 249 to 127.0.0.1:1812
User-Name = "user1"
User-Password = "user1"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Framed-Protocol = PPP
Re-sending Access-Request of id 249 to 127.0.0.1:1812
User-Name = "user1"
User-Password = "\217Yci7-\251\217i\033\256\241~\271J\307"
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=249, length=62
Reply-Message = "\r\nAccess denied (external check failed)."
debian:/var/log/freeradius#
===

В логах радиуса
===
Wed Jan 17 14:12:06 2007 : Error: rlm_exec (post_auth): External script failed
===

В файле

radiusd.conf
прописанный функции
===
# MODULE CONFIGURATION
#
# The names and configuration of each module is located in this section.
#
# After the modules are defined here, they may be referred to by name,
# in other sections of this configuration file.
#
modules {
###
exec pre_auth {
wait = yes
program = "/usr/abills/libexec/rauth.pl pre_auth"
input_pairs = request
output_pairs = config
}

exec post_auth {
wait = yes
program = "/usr/abills/libexec/rauth.pl post_auth"
input_pairs = request
output_pairs = config
}
===

Добавлено: Ср янв 17, 2007 12:47 pm
~AsmodeuS~
abills.log

Добавлено: Чт янв 18, 2007 3:33 am
mishas
Приветствую!
~AsmodeuS~ писал(а):abills.log
Он пустой, как ни странно.

Какие должны быть разрешения на этот каталог и файл?
/usr/abils/log/abills.log

А функции pre_... и post_... у меня размещены в правильном месте в файле конфигурации радиуса?