4 May
2011
4 May
'11
3:05 a.m.
Dmitry Borodaenko wrote:
The scenario where this is useful is a staged migration from a legacy Radius platform to a new FreeRadius setup. During migration phase, new users are created in the new database, existing users are gradually moved from the old database to the new one. Users existing in the new database are handled locally, auth and acct packets for users that weren't migrated yet are proxied to the legacy platform.
That's a good use-case. It would probably be better, though, to have the module return NOOP if it doesn't do anything. That's the intent of NOOP after all. Doing it that way means that the change is limited to the SQL module, and no patching of modcall.c is necessary. Alan DeKok.