exec-program-wait to send back AV pairs to freeradius
Hi All, I am trying to set values for more than one attributes in the exec-program-wait for accounting start packets. Below is the code i am trying in the exec-program-wait putenv("Calling-Station-ID=10") putenv("Called-Station-ID=50") Putenv("Acct-Session-ID="20") return 0; I have set the exec-wait=yes in the radiusd.conf I am not sure whether freeradius picks all this values and sets in the valuepairs of the radius_exec_program () I am trying to set the accounting response packets with this value pairs in the rad_accounting using pairmove but still my accounting response packets does not contain this attributes value pairs. Can some body help me to solve this problem ? Thanks and regards Shankar ganesh
Shankar Ganesh C <shankarganesh@tataelxsi.co.in> wrote:
Below is the code i am trying in the exec-program-wait
putenv("Calling-Station-ID=10")
That is not the documented way to send attributes back to the server. See scripts/exec-program-wait
I am trying to set the accounting response packets with this value pairs in the rad_accounting using pairmove but still my accounting response packets does not contain this attributes value pairs.
Accounting responses are not allowed to contain any attributes. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Shankar Ganesh C