Framed-IP-Address Help
Aurélio de Souza Ribeiro Neto
netolistas at mpc.com.br
Thu Mar 12 20:12:45 CET 2020
Jorge,
I'm doing this, but the user have Framed-IP-address attribute, and
I want to override the Framed-IP-address to use mkt_pool IP.
If the user don't have the Framed-IP-address attribute I have no
problem.
I don't know If I was clear.
Thanks
Em 12/03/2020 15:42, Jorge Pereira escreveu:
> You could override attributes using _unlang_ syntax: “update { &<list>:attr := value }” or “update <list> { &attr := value }”
>
> e.g:
>
> update {
> &control:Pool-Name := "mkt_pool"
> }
>
>
> —
> Jorge Pereira
> jpereira at freeradius.org
>
>
>
>
>> On 12 Mar 2020, at 15:34, Aurélio de Souza Ribeiro Neto <netolistas at mpc.com.br> wrote:
>>
>> Alan,
>>
>> Sorry.
>>
>> I want to override users Framed-IP-Address with mkt_pool IP.
>>
>> How can I do this? I'm using FreeRadius 3.0.20 with MySQL database
>>
>> Thanks again
>>
>>
>> Em 11/03/2020 18:18, Alan DeKok escreveu:
>>> On Mar 11, 2020, at 4:45 PM, Aurélio de Souza Ribeiro Neto <netolistas at mpc.com.br> wrote:
>>>> I'm using, and is not working. What I'm doing wrong? :(
>>>>
>>>> if(reject) {
>>>> update control {
>>>> Pool-Name := "mkt_pool"
>>>> }
>>> WHAT is not working? What is the debug output? What do you EXPECT it to do?
>>>
>>> The server does NOT normally do IP pool assignment when sending Access-Rejects.
>>>
>>> Please post USEFUL messages with content. Saying "stuff doesn't work" is unhelpful.
>>>
>>> I can't read your mind. I don't know what you want it to do. I don't know what's "wrong" according to your opinion. You need to EXPLAIN yourself.
>>>
>>> Alan DeKok.
>>>
>>
>>
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list