Re: [RADIATOR] run perl hook after accounting start

2013-03-08 Thread Heikki Vatiainen
On 03/06/2013 03:57 PM, Thomas Kurian wrote: > 1. After receiving a accounting start packet , If (switched=false > ,type=Q and quotacounter> or = quotamax) > The above values are to be compared with the current values of these > fields in a sql table called quotasubscribers (field names are > s

[RADIATOR] Slow response from Radiator

2013-03-08 Thread Arya, Manish Kumar
Hi, Radius server takes approx 7-10 seconds to handle one request, there not much load on this radius server. Radius Packet dump *** Received from 127.0.0.1 port 32812 Code:   Access-Request Identifier: 102 Fri Mar  8 09:08:11 2013: DEBUG: Rewrote user name to xx Fri Mar  8 09:0

Re: [RADIATOR] Slow response from Radiator

2013-03-08 Thread Arya, Manish Kumar
Hi Kurt, >>Problem is the LDAP server, it's response is slow. No I have verified that, because LDAP is local, no errors for indexing and response is instant when I run ldapsearch to query data which is asked by radius. marya@x4:~$ time ldapsearch -D"uid=apt,ou=,dc=,dc=net" -w

[RADIATOR] Database date format

2013-03-08 Thread rohan.henry
Hello, How can I get the following to insert date into my database in the format "Mar 9, 2013 01:52" AcctColumnDef ACCT_START_TIME,%b-0%{Acct-Session-Time},literal Thanks, Rohan ___ radiator mailing list radiator@open.com.au http://www.open.com.au/

Re: [RADIATOR] Database date format

2013-03-08 Thread Hugh Irvine
Hello Rohan - You can use the %A special character when processing the accounting start, rather than the accounting stop. See section 5.2 in the Radiator 4.11 reference manual (doc/ref.pdf). regards Hugh On 9 Mar 2013, at 18:01, wrote: > Hello, > > How can I get the following to insert d