racct and radpostauth

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Sep 9 09:51:38 CEST 2011


Acct-Session-ID isn't inserted into the postauth table, because it's generally not available in the Access-Request.

It is theoretically possible to pre-assign an Acct-Session-ID, and its supported by the standards, but no NAS vendors do it because it requires additional effort and adds needless complexity to the code.

If you want to emulate this behaviour, you can use the Class attribute. But you'll need to check  your particular vendor has implemented the correct store and insert behaviour.

See RFC 2865 for how the Class attribute works and see if you can figure it out yourself... 

In fact, if you do figure it out without further help, i'll give you one of the coveted 'radstars', they're like standard gold stars, but all shiny and rainbow coloured.

-Arran

PS: There's a half complete example in the git repo for 3.x.x, see etc/raddb/policy.conf

Arran Cudbard-Bell
a.cudbardb at freeradius.org

RADIUS - Half the complexity of Diameter





More information about the Freeradius-Users mailing list