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/radius_ath.sh}"


But during the execution:

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

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.
                                          
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to