Hi, I'm trying to use the next exec module: radius.conf ------------------- modules { exec { wait = yes input_pairs = request } exec echo { wait = yes program = "/bin/echo %{Autz-Type}" input_pairs = request output_pairs = reply } } authorize { suffix echo files sql auth_log } ------------------------------- And the Radiusd gave me the next output: radiusd -X -------------------- WARNING: Attempt to use unknown xlat function, or non-existent attribute in string %{Autz-Type} radius_xlat: '/bin/echo ' Exec-Program: /bin/echo Exec-Program output: Exec-Program-Wait: plaintext: Exec-Program: returned: 0 ------------------------------- I hope someone can help me. Thanks and bye, NanO
Fernando Brito wrote:
Hi, I'm trying to use the next exec module:
radius.conf -------------------
modules { exec { wait = yes input_pairs = request } exec echo { wait = yes program = "/bin/echo %{Autz-Type}"
Maybe you could try with the following syntax: program = "/bin/echo %{check:Autz-Type}" -- Nicolas Baradakis
El mar, 15-11-2005 a las 12:00 +0100, Nicolas Baradakis escribió:
%{check:Autz-Type}
Thanks for the advice, I just tryed it and the error is gone but the variable appears to be empty. I'll keep trying but if you have another idea I'll be too glad to hear about it. Thanks and bye!! NanO
participants (2)
-
Fernando Brito -
Nicolas Baradakis