Question on Unlang

Olivier CALVANO o.calvano at gmail.com
Sat Apr 1 06:02:47 CEST 2017


Hi

No change, that's don't work.

How can I display the value of Tmp-String-0  in logs?

regards
Olivier

2017-03-29 18:04 GMT+02:00 Brian Candler <b.candler at pobox.com>:

> On 29/03/2017 16:43, Olivier CALVANO wrote:
>
>> ok i have added into sites-available/default in section authorize
>> 'subrealm' but no change.
>>
>> the module is loaded, i see in -X logs:
>>
>>  Module: Checking authorize {...} for more modules to load
>>  Module: Linked to module rlm_files
>>  Module: Instantiating module "subrealm" from file
>> /etc/raddb/modules/subrealm
>>   files subrealm {
>>         compat = "cistron"
>>         key = "%{Realm}"
>>   }
>>
>> You missed the bit where it actually invokes the subrealm module when
> processing the packet.
>
> e.g.
>
> authorize {
>
> ...
>
> users  # or ldap or mysql or whatever
>
> subrealm
>
> ...
>
> }
>
>
> This should then show in freeradius -X output as part of the processing:
> looking up the key, finding a matching entry.
>
>


More information about the Freeradius-Users mailing list