Re: Specifying sql instance to use for huntgroup group lookup

2010-06-28 Thread Alan DeKok
Doug Warner wrote:
> I am specifying an Sql-Group required for one of my huntgroups and am finding
> that when looking up the group info from my database that the wrong sql
> instance is being used.  I have an "sql_read" instance that's specified to be
> used in my authorize section, but when the Sql-Group is evaluated for the
> huntgroup my "sql_write" sql instance is used instead.
> 
> Is there a way to specify which sql instance should be used in this situation?

  There's a fix in git v2.1x branch now.  It adds -SQL-Group,
just like for LDAP-Group.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Specifying sql instance to use for huntgroup group lookup

2010-06-22 Thread Alan DeKok
Doug Warner wrote:
> I moved this thread over to the -devel list with a supplied patch.  It appears
> to me this isn't currently possible but might be trivial to fix.

  The fix is to copy the -LDAP-Group setup from the LDAP
module, and change it to -SQL-Group.  The fix should be in git
tomorrow.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Specifying sql instance to use for huntgroup group lookup

2010-06-22 Thread Doug Warner
On 06/21/2010 03:52 PM, Doug Warner wrote:
> I am specifying an Sql-Group required for one of my huntgroups and am finding
> that when looking up the group info from my database that the wrong sql
> instance is being used.  I have an "sql_read" instance that's specified to be
> used in my authorize section, but when the Sql-Group is evaluated for the
> huntgroup my "sql_write" sql instance is used instead.
> 
> Is there a way to specify which sql instance should be used in this situation?
> 

I moved this thread over to the -devel list with a supplied patch.  It appears
to me this isn't currently possible but might be trivial to fix.

-Doug



signature.asc
Description: OpenPGP digital signature
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Specifying sql instance to use for huntgroup group lookup

2010-06-21 Thread Doug Warner
I am specifying an Sql-Group required for one of my huntgroups and am finding
that when looking up the group info from my database that the wrong sql
instance is being used.  I have an "sql_read" instance that's specified to be
used in my authorize section, but when the Sql-Group is evaluated for the
huntgroup my "sql_write" sql instance is used instead.

Is there a way to specify which sql instance should be used in this situation?

-Doug



signature.asc
Description: OpenPGP digital signature
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html