Group query question

David Peterson davidp at wirelessconnections.net
Tue Jul 22 17:06:46 CEST 2014


I have a question about group queries.  Should I only have one of the
authorized sections uncommented?

 

group_membership_query = "\

        SELECT groupname \

        FROM ${usergroup_table} \

        WHERE username = '%{SQL-User-Name}' \

        ORDER BY priority"

 

authorize_group_check_query = "\

        SELECT id, groupname, attribute, \

        Value, op \

        FROM ${groupcheck_table} \

        WHERE groupname = '%{Sql-Group}' \

        ORDER BY id"

 

authorize_group_reply_query = "\

        SELECT id, groupname, attribute, \

        value, op \

        FROM ${groupreply_table} \

        WHERE groupname = '%{Sql-Group}' \

        ORDER BY id"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140722/a5e6f927/attachment.html>


More information about the Freeradius-Users mailing list