Specifying sql instance to use for huntgroup group lookup
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
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
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 <instance>-LDAP-Group setup from the LDAP module, and change it to <instance>-SQL-Group. The fix should be in git tomorrow. 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 <instance>-SQL-Group, just like for LDAP-Group. Alan DeKok.
participants (2)
-
Alan DeKok -
Doug Warner