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
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
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
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'
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
5 matches
Mail list logo