Question on Unlang

Brian Candler b.candler at pobox.com
Wed Mar 29 18:04:35 CEST 2017


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