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 have no knowledge of Radius.
Thank you! Mattt said: > 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 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 interpret that file. >> >> Including Exec-Program-Wait to radreply or radgroupreply does not do >> the job, since it is passed as AV pair on Auth-Request. >> >> I guess Radius does not read "files" because it is not listed in >> accounting section in its config file - according to configuration >> manual for MySQL support. >> >> One possible thing to do is remove sql module and write external >> authentication program with DEFAULT := Accept, which sux because we >> have sql module. Another possible thing to do is simply reading >> another tables called "starreply" and "stopreply" and passing them to >> Radius when Accounting Stop and Start requests are made to MySQL >> module, but I do not know how to modify sql.conf or maybe MySQL >> module. >> >> Any ideas or help would be greatly appreciated! TIA. >> -- >> Technical Director of VIKET Networks >> web/mail: www.viket.net; [EMAIL PROTECTED] >> gsm/gsm2: +359 88 803280; +359 87 800743 >> >> >> ----------------------------------------- >> Get YOUR internet access NOW! >> 40 hours unlimited access for only 6 lv! >> http://www.viket.net >> >> >> >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html >> > -- > Cheers, > Mattt. [EMAIL PROTECTED] > Network and Tech Guy, ICQ: 117539757 > Expressnet. www.expressnet.net.au > > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html -- Technical Director of VIKET Networks web/mail: www.viket.net; [EMAIL PROTECTED] gsm/gsm2: +359 88 803280; +359 87 800743 ----------------------------------------- Get YOUR internet access NOW! 40 hours unlimited access for only 6 lv! http://www.viket.net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
