Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Kliment Toshkov
This is what I am asking from the begining. Could you please tell me what will be the exact syntax of that DEFAULT statement (example maybe)? Thank you! Alan DeKok said: > "Kliment Toshkov" <[EMAIL PROTECTED]> wrote: >> This will almost double the size of database. Is there any possible >> hack o

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Alan DeKok
"Kliment Toshkov" <[EMAIL PROTECTED]> wrote: > This will almost double the size of database. Is there any possible hack > or something with config files to Exec-Program-Wait evern for *EVERY* user > authenticated through Radiusd? That's what DEFAULT is for. Alan DeKok. - List info/subscrib

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Kliment Toshkov
This will almost double the size of database. Is there any possible hack or something with config files to Exec-Program-Wait evern for *EVERY* user authenticated through Radiusd? Thank you! Alan DeKok said: > "Kliment Toshkov" <[EMAIL PROTECTED]> wrote: >> I am aware of that statement, but I aut

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Alan DeKok
"Kliment Toshkov" <[EMAIL PROTECTED]> wrote: > I am aware of that statement, but I authorize my usersh through mysql > module. All data about users is held in MySQL database. > So what do I put and where do I put it? Thank you! In the list of reply items in the MySQL database? Alan DeKok. -

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Kliment Toshkov
I am aware of that statement, but I authorize my usersh through mysql module. All data about users is held in MySQL database. So what do I put and where do I put it? Thank you! Alan DeKok said: > "Kliment Toshkov" <[EMAIL PROTECTED]> wrote: >> Another lame question - how do I set Radius to execut

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Alan DeKok
"Kliment Toshkov" <[EMAIL PROTECTED]> wrote: > Another lame question - how do I set Radius to execute a program on > Authentication request (preffered only on successful one)? In the 'users' file, you do something like: bob Auth-Type := System Exec-Program = "/foo/bar" If the user is

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Kliment Toshkov
Hello all, Another lame question - how do I set Radius to execute a program on Authentication request (preffered only on successful one)? I have no DEFAULT entries at all in users file, since users are authenticated from MySQL module. A decent configuration file should be enough for me, I just ha

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Kliment Toshkov
Hello Mattt, I have adder files in preacct section, fixed some typos in acct_users (Yeah, i've mistaken the name below), fixed some more errors in users file (since it was not processed before because files directive was missing), and voila, it runs. Only thing left is to understand how to pass s

Re: Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Mattt
Hi, Try using acct_users rather than users_acct - you also need to have the 'files' sections in radiusd.conf, both in the 'modules' and the 'preacct' sections (I think...). On Tue, 2002-05-14 at 21:09, Kliment Toshkov wrote: > Hello all, > > I am successfuly running FreeRadius 0.5 with MySQL

Exec-program-wait with FreeRadius 0.5 + MySQL

2002-05-14 Thread Kliment Toshkov
Hello all, I am successfuly running FreeRadius 0.5 with MySQL support for authorizing and accounting purposes. Only doubt here is how to exec programs on Start and Stop accounting packets? I have read previous postings, added appropriate lines in 'users_acct' but it seems that Radius does interpr