Re: [RADIATOR] AuthBy SQL - multiple rows/attributes

2012-06-26 Thread Heikki Vatiainen
On 06/26/2012 12:28 PM, Jim Tyrrell wrote: > At the moment I just have a single very simple table that I am testing > with, 2 columns 'Endpoint' & 'Password' with 2 rows in the table for 2 > different Tunnel endpoints. How about changing the config to use GENERIC: AuthColumnDef 0,G

Re: [RADIATOR] AuthBy SQL - multiple rows/attributes

2012-06-26 Thread Hugh Irvine
Hello Jim - I generally do this sort of thing in a hook, using a "dummy" AuthBy SQL clause to operate against. Doing it this way allows to you use all of the normal Radiator code to do most of the heavy lifting. There are a number of examples doing similar things in "goodies/hooks.txt" that

Re: [RADIATOR] AuthBy SQL - multiple rows/attributes

2012-06-26 Thread Jim Tyrrell
At the moment I just have a single very simple table that I am testing with, 2 columns 'Endpoint' & 'Password' with 2 rows in the table for 2 different Tunnel endpoints. I could have multiple columns for the multiple tunnels, but then if I wanted to add or remove tunnels I would need to update