Unknown module "clients"

Stefano Zanmarchi zanmarchi at gmail.com
Tue Jun 23 17:15:07 CEST 2015


That was the problem :-(
Thank you so much!

On Tue, Jun 23, 2015 at 2:39 PM, Stefano Zanmarchi <zanmarchi at gmail.com>
wrote:

> Hello,
> I'm performing some filtering, based on the client, in the authorize
> section of inner-tunnel:
>
> authorize {
>         preprocess
>         rewrite.calling_station_id
>         if ("%{clients:shortname}" =~ /internal_radius_(.*)/i) {
>           ok
>           update control {
>             Auth-Type := Accept
>           }
>         }
> ...
> }
>
> The output logs in debug mode show the following warning:
> ..
> ++? if ("%{clients:shortname}" =~ /internal_radius_(.*)/i)
> WARNING: Unknown module "clients" in string expansion "%"
> ..
>
> Does this mean that the 'if ("%{clients:shortname}"...' clause is not
> being evaluated?
> How can I solve the problem generating the warning?
>
> Thank you,
> Stefano
>


More information about the Freeradius-Users mailing list