Help on passing parameter to exec

Phil Mayers p.mayers at imperial.ac.uk
Wed Nov 3 11:02:31 CET 2010


On 11/03/2010 09:19 AM, nghiapt wrote:
> exec acctstart {
> 	wait = yes
> 	program = "/accounting_start_sh.sh %{User-Name} %{reply:Session-Timeout}"

Accounting packets don't have any reply AVPs, so "reply:X" is always 
empty for accounting packets.

(Sometimes you can send VSAs in Accounting replies, but it's 
non-standard and goes against the RFCs)

Don't you want this in "post-auth"?



More information about the Freeradius-Users mailing list