I want to trace the module_authorize() call, follow the following three steps:
1.
autz_redo:
r = module_authorize(autz_type, request);
DEBUG2("autz_type: %d; r: %d\n", autz_type, r);
// autz_type: 0; r: 2 (RLM_MODULE_OK)
2.
indexed_modcall(RLM_COMPONENT_AUTZ, autz_type, request);
3.
this = lookup_by_index(components[comp], idx); // lookup_by_index(1, 0)
Why *this* not NULL ?? idx == 0 means what? Can anybody guide me?
Any advice are appreciated. thx.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html