refresh variable after exec module
Alan DeKok
aland at deployingradius.com
Mon Jun 8 13:26:23 CEST 2009
bLn wrote:
> My script returns 2 possible values:
> a) If all is correct (ie: an user has time and money to connect) then I
> set in Session-Timeout with the time available to this user
> b) If not, then I set Reply-Message with the exactly error.
>
> Both of them are in radgroupreply in my database. For that, the value is
> previously cached in auth section and I can't refresh or update the new
> value after, in post-auth section
Yes, you can. See the documentation on the operators in "man users",
or "man unlang". The ":=" operator is likely what you want.
Alan DeKok.
More information about the Freeradius-Users
mailing list