On 13/10/2026 10:42, David Lake via Freeradius-Users wrote:
This is what I see when I change the module to be sql_read:
(55912) Tue Oct 13 06:28:24 2026: Debug: sql_read: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (55912) Tue Oct 13 06:28:24 2026: Debug: sql_read: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '' ORDER BY id
The difference is in the bold line
ASCII list, there's no bold text.
the response from sql_read no longer has the groupname set. Nothing has changed in the database.
What have I missed please?
See `group_attribute` in the SQL module config. You want the `group_attribute = "${.:instance}-SQL-Group"` version on the sql_read instance, then use `sql_read-SQL-Group`. -- Matthew