Kostas Kalevras <[EMAIL PROTECTED]> wrote: > Try it and tell me how it worked, cause I havent tested the patch heavily. > Alan, maybe we could just use the files module to make authorize/accounting > module selection based on checks on the incoming request instead of extending > radiusd.conf to allow for if/then/else checks.
If *any* module can add 'Autz-Type', then that's even better. The patches should be tiny. Add 'Autz-Type' to the dictionary, and the header files. Then edit the module code so that authorize looks FIRST for 'Autz-Type', and uses that. Note that there may be many Autz-Type attributes. If you don't set Autz-Type, then everything works exactly the same as before. I haven't looked at your patch, so I don't know how close my ideas are to it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
