rlm_sql and read_groups

Phil Mayers p.mayers at imperial.ac.uk
Tue Jul 12 15:42:11 CEST 2011


On 12/07/11 14:29, Jacob Dawson wrote:
> That doesn't make a lot of sense from my quick skim of the config and
> the code, as I don't see anywhere that group_membership_query is

group_membership_query is defined in the default configs; or is that not 
what you mean?

The call graph is as follows:

rlm_sql_authorize
   rlm_sql_process_group
     sql_get_grouplist

...and in sql_get_grouplist we have:

         if (!inst->config->groupmemb_query ||
             (inst->config->groupmemb_query[0] == 0))
                 return 0;

> referenced, but it definitely triggered FR to respect the read_groups
> setting.
>

So it's working now?



More information about the Freeradius-Users mailing list