Problem with expand result of exec-program

Juan Rodríguez cutrez at
Thu Sep 23 12:01:17 CEST 2010

Hi everybody!!
I've got a strange problem with expand the result of the execution of a program. This is my config data:

------------------ dictionary -----------------------
ATTRIBUTE       mi-resultado-script     3003    integer

----------------- exec --------------------------
exec {
        wait = yes
        shell_escape = yes
        output = yes

--------------- sites-available/default --------------------------
mi-resultado-script = "%{exec:/aplicaciones/radius/bin/}"

But during the execution:

Executing /aplicaciones/radius/bin/
Exec-Program output: 
Exec-Program: returned: 1
result 1
expand: %{exec:/aplicaciones/radius/bin/} -> 

The result of the program is "1" but the value of the expression is not expanded, and the attribute "mi-resultado-script" has always zero value.

Could you help me with this?

Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list