rlm_sql and read_groups
dawson at vt.edu
Tue Jul 12 14:34:55 CEST 2011
I'll have the time to test it today, but according to this comment in sql.conf, I shouldn't have to set that, and I'd prefer not to have to set it on every user in production.
# If set to 'yes' (default) we read the group tables
# If set to 'no' the user MUST have Fall-Through = Yes in the radreply table
read_groups = yes
On 12 Jul 2011, at 04:45, Phil Mayers wrote:
> On 07/12/2011 09:21 AM, Fajar A. Nugraha wrote:
>> On Tue, Jul 12, 2011 at 2:59 PM, Phil Mayers<p.mayers at imperial.ac.uk> wrote:
>>> On 07/11/2011 10:59 PM, Jacob Dawson wrote:
>>>> We're trying to get FreeRADIUS to get at the user info in our Oracle
>>>> DB, and it does not appear to be respecting the read_groups = yes
>>>> setting in sql.conf.
>>> Are you setting "Fall-Through = Yes" in radreply?
>> Shouldn't setting "read_groups='yes'" be enough? The documentation
>> says so, and it works for mysql.
> AFAICT the source code checks for and honours Fall-Through in the radreply/radgroupreply variables, and assumes "no" if it's absent.
> I don't have time to give the code a re-read/test right now.
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users