Exec and dropped attributes between v2.0 and 3.0
Luke Cameron
lukessi at gmail.com
Thu Dec 5 12:21:47 CET 2019
Thanks Alan and Michael,
All sorted now. I made a copy of the echo module to deal with it if a
client connects with certain hostnames to run that module.
Thanks again and for replying so quickly.
Regards
Luke
On Wed, 4 Dec 2019, 18:49 Alan DeKok, <aland at deployingradius.com> wrote:
> On Dec 4, 2019, at 1:40 PM, Luke Cameron <lukessi at gmail.com> wrote:
> > *Yes it gets added from the users file. Logging is working and shows the
> > Framed-IP-Address but not my script. Which is weird as I believe the log
> > module is before the exec module. *
>
> The debug log shows what's going on. Please *read* it.
>
> The "exec" is done *while* the files module is being run. i.e. BEFORE
> the log module. So the Framed-IP-Address is available after the "files"
> module has run.
>
> You *cannot* add an attribute via the "users" file, and immediately
> check for it's existence in the same "users" file entry. You will need to
> change the configuration.
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list