> 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

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

Reply via email to