Problem writing config attributes from script
Alan DeKok
aland at ox.org
Wed Dec 21 20:05:20 CET 2005
Yannick Deltroo <deltroo at gmail.com> wrote:
> However these config attributes are not taken into account for
> processing by other modules.
Because you're putting the attributes into the reply item list, not
the config item list.
> Module: Instantiated exec (authorize_prepaid_account)
> .....
> exec: wait = yes
> exec: program = "/etc/raddb/scripts/dump %{User-Name}"
> exec: input_pairs = "config"
> exec: output_pairs = "reply"
See? Change "output_pairs" to "config", and it should work.
The documentation for rlm_exec explains this.
Alan DeKok.
More information about the Freeradius-Users
mailing list