20 Jul
2026
20 Jul
'26
6:28 p.m.
On Jul 20, 2026, at 6:17 PM, Dominik George <nik@naturalnet.de> wrote:
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.
If only there was some kind of debugging output which would show you what the server is doing.
Do you happen to have an example somewhere of how to use the cache module for such a short-term storage?
Read the debug output. It will tell you what's going on. Alan DeKok.