RE : Adding a module

2004-11-04 Thread Matthew Ryan
Matthew Ryan [EMAIL PROTECTED] wrote: I have an ambition to write a module for FreeRadius and am having quite a bit of difficulty. - I basically took rlm_example, made a copy and renamed it - Made all modifications to the C file - Every other file that needed correct references -

Re: Adding a module

2004-11-04 Thread Matthew Ryan
Odds are you didn't add it to the right place in radiusd.conf, or tell the server to use it for authentication. I double checked how I added this module and it seems fine modules { mymodule { } .. etc etc } authorize { mymodule .. etc etc }

Re: Adding a module

2004-11-04 Thread Alan DeKok
Matthew Ryan [EMAIL PROTECTED] wrote: I read through this document and noticed that at startup my module should be loaded and its init() called. Well, no. The instantiate method is the important one. See the rest of the modules. I'm not even sure if the init method is *ever* called. I