RE: accounting exec when Acct-Status-Type == Stop

2007-07-11 Thread Santiago Balaguer García
Nobody understood my question. I want to know how to custom a specific account with an specific sh exec. One different for each group of accounts. And I want to do using my database. From: Santiago Balaguer García[EMAIL PROTECTED]Reply-To: FreeRadius users mailing list

RE: accounting exec when Acct-Status-Type == Stop

2007-07-11 Thread tnt
Probably because your approach is not good. How about writing a *single* sh exec and passing parameters (Acct-Status-Type and SQL-Group) to it. Format would be the same for every user/group and the program sorts out which path is taken. Ivan Kalik Kalik Informatika ISP Dana 11/7/2007, Santiago

accounting exec when Acct-Status-Type == Stop

2007-07-10 Thread Santiago Balaguer García
hello all, i have added the following lines in acct_users file DEFAULT Acct-Status-Type == Start Exec-Program-Wait = "/usr/local/start.sh" DEFULT Acct-Status-Type == Stop Exec-Program-Wait = "/usr/lcal/stop.sh" started radius in debug mode and i haven't seen Exec-Program-Wait executing those

RE: accounting exec when Acct-Status-Type == Stop

2007-07-10 Thread Hugh Messenger
Santiago Balaguer García said: DEFAULT Acct-Status-Type == Start  Exec-Program-Wait = /usr/local/start.sh  DEFULT Acct-Status-Type == Stop  Exec-Program-Wait = /usr/lcal/stop.sh  Not sure what other problems you might have, but you probably should have 'local' not 'lcal' in that script path

Re: accounting exec when Acct-Status-Type == Stop

2007-07-10 Thread Dennis Skinner
Hugh Messenger wrote: Santiago Balaguer García said: DEFAULT Acct-Status-Type == Start Exec-Program-Wait = /usr/local/start.sh DEFULT Acct-Status-Type == Stop Exec-Program-Wait = /usr/lcal/stop.sh Not sure what other problems you might have, but you probably should have 'local'

RE: accounting exec when Acct-Status-Type == Stop

2007-07-10 Thread Hugh Messenger
Dennis Skinner quoth: Hugh Messenger wrote: Santiago Balaguer García said: DEFAULT Acct-Status-Type == Start Exec-Program-Wait = /usr/local/start.sh DEFULT Acct-Status-Type == Stop Exec-Program-Wait = /usr/lcal/stop.sh Not sure what other problems you might have, but you