Hi Guys,
I was trying to run an external perl script to do some customised logging
depending on the Acct-Status-Type in the users file:
DEFAULT Acct-Status-Type == "Start"
Exec-Program-Wait = "/radius/raddb/startstopacct %u %s %e %f %n %c %i
%o %d %t %r %h"
DEFAULT Acct-Status-Type == "Stop"
Exec-Program-Wait = "/radius/raddb/startstopacct %u %s %e %f %n %c %i
%o %d %t %r %h"
Now the problem is the script doesn't at all get executed. I have the mysql
module also activated for accounting log keeping. I get all the data in
mysql, but this script doesn't at all get executed. Now, my question is does
free-radius read the execparams file for the argument vectors for the
external file to be run? is this the reason why freeradius is not running
this script?
If anyone can tell me, whether it is at all possible to run an external
script on accounting start and stop then i would be grateful.
Thanks in advance.
Zia
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html