8 Jun
2007
8 Jun
'07
6:26 a.m.
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