Parsing Value with External Script
Alan DeKok
aland at deployingradius.com
Sat Jul 8 15:17:47 CEST 2017
On Jul 7, 2017, at 5:00 PM, Jean Tomaz <jean_ts at hotmail.com> wrote:
>
> I have a question.
> I need to pass a value to Framed-Pool attribute only to one user, using an
> external script.
>
> My file /etc/freeradius/users
>
> user_test Cleartext-Password := "testing"
> Auth-Type := Accept
> Framed-Protocol = PPP
> Framed-Pool = `%{exec:/bin/echo foo}`
> Fall-Through = Yes
>
> It's not working. What it's happening?
Read the debug log to see.
> Using the freeradius debug the Framed-Pool attribute is appearing empty.
The debug log shows what's going on. If you don't understand it, post it here.
Alan DeKok.
More information about the Freeradius-Users
mailing list