Re: Logging the matched SQL-Group

2011-02-24 Thread Brian Candler
Phil Mayers wrote: When rlm_sql is running through each of a user's groups, the value %{SQL-Group} is set for each iteration. However it's cleared at the end. I assume you're talking about the authorize method where it searches radgroupcheck/radgroupreply, rather than: if (SQL-Group ==

Logging the matched SQL-Group

2011-02-23 Thread Brian Candler
When rlm_sql is running through each of a user's groups, the value %{SQL-Group} is set for each iteration. However it's cleared at the end. I would like to be able to capture the value of SQL-Group which was successfully matched (if any), so that I can log it in rlm_sql_log. Is there a

Re: Logging the matched SQL-Group

2011-02-23 Thread Phil Mayers
On 23/02/11 13:31, Brian Candler wrote: When rlm_sql is running through each of a user's groups, the value %{SQL-Group} is set for each iteration. However it's cleared at the end. I assume you're talking about the authorize method where it searches radgroupcheck/radgroupreply, rather than: