Re: Copying User-Name from inner tunnel to outer for accounting
Dominik George via Freeradius-Users <[email protected]> Mon, 20 Jul 2026 18:17:01 +0200
| Newsgroups | gmane.comp.freeradius.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Alan,
> In post-auth, save the User-Name information in a database, keyed by Acct-Session-Id. Then, update the "accounting" section to retrieve the User-Name from a database, keyed by Acct-Session-ID.
I tried to do that using the cache module. I set
key = "%{Acct-Session-Id}"
in the module config and then called
post-auth {
cache
}
in inner-tunnel, but that way, Acct-Session-Id expands to an empty string.
Do you happen to have an example somewhere of how to use the cache
module for such a short-term storage?
Thanks,
Nik
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html