[Patch] Pre-Acct-Type dict value registration
Nicolas Baradakis
nbk at sitadelle.com
Fri Jun 8 12:26:18 CEST 2007
Lv Zheng wrote:
> I noticed that there might be codes missing in modules.c for Pre-Acct-Type.
> This will crash the radiusd server if thre is pre-acct sub-list in
> radiusd.conf.
I don't see why you need such a patch. It's possible to set "Acct-Type"
during pre-accounting because it runs before accounting. But it's no
use to set "Pre-Acct-Type" because it is the first section to be
processed. That's why if you set "Pre-Acct-Type" during pre-accounting,
it's already too late.
I think there is some confusion because the section "authorize" works
differently. The server runs the section twice if "Auth-Type" has
been set.
--
Nicolas Baradakis
More information about the Freeradius-Devel
mailing list