How do I tell if accounting module fails?

tnt at kalik.net tnt at kalik.net
Wed Oct 8 13:22:49 CEST 2008


Your program should return this. See raddb/modules/echo for instructions.

Ivan Kalik
Kalik Informatika ISP


Dana 8/10/2008, "Alex French" <alex at evilal.com> piše:

>Hi all,
>
>I'm using an Exec-Program to do some user-specific stuff when a user
>logs out of our network (i.e. it is invoked with "DEFAULT
>Acct-Status-Type == Stop").
>
>I'm trying to find a way for it to detect whether the database
>accounting module has succeedded in updating the user's accounting
>record or not (it will fail if the STOP packet is a duplicate). I
>can't find an attribute that I can test to check the status of the
>request at that stage. Any suggestions?
>
>Alex
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>




More information about the Freeradius-Users mailing list