Session State
Xavier Maysonnave
x.maysonnave at gmail.com
Thu May 11 17:37:41 CEST 2017
Hi All,
Thanks for your hints, I will follow your advise.
While reading the page https://wiki.freeradius.org/modules/Rlm_cache I
noticed a dead link but the file is also available in Freeradius
distribution. In the configuration paragraph the link to github
<https://github.com/freeradius/freeradius-server/blob/master/raddb/mods-available/cache>
doesn't work for me.
Thanks
--
PGP: CAE5 CE4A EFE9 134F D991 5465 081C B6FB 2EAC 6CC9
<https://goo.gl/lPjb40>
--
Light
Xavier
​ / Pudhuveedu​
2017-05-11 20:40 GMT+05:30 Arran Cudbard-Bell <a.cudbardb at freeradius.org>:
>
> > On May 11, 2017, at 10:09 AM, Alan DeKok <aland at deployingradius.com>
> wrote:
> >
> > On May 11, 2017, at 10:03 AM, Xavier Maysonnave <x.maysonnave at gmail.com>
> wrote:
> >>
> >> Hi All,
> >> Is there a way to retrieve the Session State attributes in an
> >> Accounting-Request from what is known in its Access-Accept counterpart ?
> >
> > No.
> >
> > We're working on changing that in v4.
>
> You can do it with rlm_cache if Acct-Session-ID is present in the
> Access-Request, just use Acct-Unique-Session-ID as the key, and use:
>
> &session-state: += &session-state:[*]
>
> as the attribute mapping in the cache module.
>
> Then call the cache module in post-auth, and preacct.
>
> That's essentially what we'd do for v4 too, it'd just be in a default
> policy somewhere.
>
>
> -Arran
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>
More information about the Freeradius-Users
mailing list