Variable passing between autz,acct stages
Hi, Is it possible to pass a variable from authorization modules to accounting modules, (by using Tmp-String* attributes) ? My radius config is like this authorization is done via files module, where Tmp-String-0 is set: "u1" Crypt-Password := "$1$7ZSTJ83K$IUVxdrj8TxA2nftXzx7AH.", Tmp-String-0 := "pppoe25", Expiration := "10 Jan 2010" accounting is done via sql. In sql module (used only for accounting) I need to reference Tmp-String-0, is this possible ? Thanks, Flamur
Is it possible to pass a variable from authorization modules to accounting modules, (by using Tmp-String* attributes) ?
No. Authorization section is executed on access requests while accounting section on accounting requests.
My radius config is like this
authorization is done via files module, where Tmp-String-0 is set: "u1" Crypt-Password := "$1$7ZSTJ83K$IUVxdrj8TxA2nftXzx7AH.", Tmp-String-0 := "pppoe25", Expiration := "10 Jan 2010"
accounting is done via sql.
In sql module (used only for accounting) I need to reference Tmp-String-0, is this possible ?
Yes. Make an entry in acct_users file: u1 Tmp-String-0 := "pppoe25" Ivan Kalik Kalik Informatika ISP
participants (2)
-
flamur2 -
Ivan Kalik