<html><div style='background-color:'><P>Nobody understood my question.</P>
<P>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.<BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
From: <I>Santiago Balaguer García<santiagoawa@hotmail.com></I><BR>Reply-To: <I>FreeRadius users mailing list <freeradius-users@lists.freeradius.org></I><BR>To: <I>freeradius-users@lists.freeradius.org</I><BR>Subject: <I>accounting exec when Acct-Status-Type == Stop</I><BR>Date: <I>Tue, 10 Jul 2007 10:58:22 +0000</I><BR><BR>
<DIV>
<DIV class=RTE><EM>hello all, <BR>i have added the following lines in acct_users file <BR> <BR>DEFAULT Acct-Status-Type == Start <BR>Exec-Program-Wait = "/usr/local/start.sh" <BR>DEFAULT Acct-Status-Type == Stop </EM></DIV>
<DIV class=RTE><EM>     Exec-Program-Wait = "/usr/local/stop.sh" <BR><BR>started radius in debug mode and i haven't seen Exec-Program-Wait <BR>executing those scripts. </EM></DIV>
<DIV class=RTE><EM></EM> </DIV>
<DIV class=RTE><EM>It works fine, however, I want to execute different script depending on the user group. I read from a DB for passing my radius attributes. I pass attribute Exec-Program-Wait and each username executes its one script well. </EM></DIV>
<DIV class=RTE><EM></EM> </DIV>
<DIV class=RTE><EM>However, how can I say to the freeradius that it does the same when a username does a Acct-Status-Type == stop using my DB instead of acct_users file?</EM></DIV>
<DIV class=RTE><EM></EM> </DIV>
<DIV class=RTE><EM>Thanks!</EM></DIV>
<DIV class=RTE><EM></EM> </DIV>
<DIV class=RTE><EM></EM> </DIV></DIV><BR clear=all>
<HR>
Ofertas y reservas para viajar por todo el mundo. <A href="http://g.msn.com/8HMBESES/2749??PS=47575">Organiza y contrata tus viajes aquí.</A> <BR>
<P>>-<BR>>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<BR>
<P></FONT></P></BLOCKQUOTE></div><br clear=all><hr>Excursiones y escapadas a sitios mágicos.  <a href="http://g.msn.com/8HMBESES/2734??PS=47575" target="_top">No te lo pierdas en MSN Entretenimiento</a> </html>