Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0

2009-10-12 Thread Gianni Olivieri
if (Acct-Status-Type == Stop) { update reply { LAUNCH MYQUERY HERE FOR A SPECIFIC USER } } OR... may the problem is some slow query... but... how can I debug this? can someone

Re: Launch external script after login and logout

2009-05-08 Thread Gianni Olivieri
Alan DeKok ha scritto: Gianni Olivieri wrote: Hi to all, in a previous verison of freeradius I use the acct_users file to launch a python script after login/logout of a user. the acct_users was so: DEFAULT Acct-Status-Type == "Start" Exec-Progr

Re: Launch external script after login and logout

2009-05-08 Thread Gianni Olivieri
ks for this link. I've already read this page but I'ven't find the solution. You have sent thing one, but not thing two (thing three is irrelevant). ??? sorry but I don't understand this. Can anyone explain me where set the call to an external program when a user do a

Launch external script after login and logout

2009-05-08 Thread Gianni Olivieri
-Name}" DEFAULT Acct-Status-Type == "Stop" Exec-Program = "/etc/freeradius/SCRIPT/userlogout.py %{User-Name} Now with freeradius 2.0.4 this acct_users doesn't work. How can launch a script after a login and a logout? Best regards. -