Re: [RADIATOR] Hooks and Persistent Database connections

2012-09-11 Thread Heikki Vatiainen
On 09/11/2012 07:07 PM, Johnson, Neil M wrote: Is there another way to maintain a persistent connection to a database between calls to hooks ? You could consider this: Add e.g, AuthBy SQL, AuthLogSQL or some other SQL based clause in the configuration file. Make sure the clause has Identifier.

(RADIATOR) hooks and ldap

2003-07-01 Thread gshumway
Hi, I'm trying to send back to our NAS a different Framed-IP-Address based on the contents of an LDAP attribute. EG. A user has an entry in ldap that contains everything required to auth and get an IP addres etc etc along with an accountstatus field. What i'm trying to do is write a hook that

(RADIATOR) Hooks in Accounting only servers?

2002-01-10 Thread Cassidy B. Larson
I'm working on a new little feature that takes the 'Account-Output-Octets' and 'Account-Input-Octets' within the Accounting Stop packet and increments a particular users monthly record in a table I have created. If there is not a record for the month with this username it creates one with the

Re: (RADIATOR) Hooks in Accounting only servers?

2002-01-10 Thread Hugh Irvine
Hello Cassidy - On Fri, 11 Jan 2002 11:21, Cassidy B. Larson wrote: I'm working on a new little feature that takes the 'Account-Output-Octets' and 'Account-Input-Octets' within the Accounting Stop packet and increments a particular users monthly record in a table I have created. If there

Re: (RADIATOR) Hooks in Accounting only servers?

2002-01-10 Thread Hugh Irvine
Hello Cassidy - I have just noticed that you have the PostAuthHook inside an AuthBy clause, which will not work. The PostAuthHook is a Handler parameter - it should be outside any AuthBy clause. regards Hugh On Fri, 11 Jan 2002 15:39, Cassidy B. Larson wrote: Hi Hugh, I suspect the

(RADIATOR) Hooks don't work!!!

1999-03-08 Thread Arturo Pina
-BEGIN PGP SIGNED MESSAGE- Hi, Is anyone using some kind of hook to authenticate? I've tried to do the most simple kinds of hooks (PreAuth, PreClient, PostAuth)... Just simple prints to a file... but they don't work I'm using Radiator 2.13.1 with all the patches. Can someone help? Thanks