You should have something like this in radiusd.conf:
       files {
               usersfile = ${confdir}/users
               acctusersfile = ${confdir}/acct_users
               compat = no
       }

And you also should have something like this in radiusd.conf:
preacct {
       preprocess
       acct_unique
       #  Read the 'acct_users' file
       files
}

Then the acct-users file will be processed and your scripts should be executed.
I have this in the acct-users file and that works for me:
DEFAULT Acct-Status-Type == Start
Exec-Program = "/opt/radhome/bin/acct.pl"
DEFAULT Acct-Status-Type == Alive
Exec-Program = "/opt/radhome/bin/acct.pl"
DEFAULT Acct-Status-Type == Stop
Exec-Program = "/opt/radhome/bin/acct.pl"

Is there any way to put this information about the program to execute in (start, alive, Stop) status in the MySQL DB?


_________________________________________________________________
�Est�s pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to