Re: Creating a custom module

2004-03-21 Thread Federico Giannici
Alan DeKok wrote: Federico Giannici <[EMAIL PROTECTED]> wrote: I tried to use "--with-rlm_MYMODULENAME" in configure, but it has no effect if my module isn't in "stable"! So submit a patch for configure.in. Unfortunately I don't know almost anything about autoconf. I hoped someone else would ha

Re: Creating a custom module

2004-03-21 Thread Alan DeKok
Federico Giannici <[EMAIL PROTECTED]> wrote: > > The list of modules to compile is in the top-level "Make.inc" file. > > OK, but it seems to be created by the "configure" script based on the > content of the "stable" file... Yes, that's true. > I tried to use "--with-rlm_MYMODULENAME" in co

Re: Creating a custom module

2004-03-21 Thread Federico Giannici
Alan DeKok wrote: Federico Giannici <[EMAIL PROTECTED]> wrote: My first question is: what is the supposed way to add a custom module to the list of the compiled ones? The list of modules to compile is in the top-level "Make.inc" file. OK, but it seems to be created by the "configure" script b

Re: Creating a custom module

2004-03-20 Thread Alan DeKok
Federico Giannici <[EMAIL PROTECTED]> wrote: > My first question is: what is the supposed way to add a custom module to > the list of the compiled ones? The list of modules to compile is in the top-level "Make.inc" file. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freerad

Re: Creating a custom module

2004-03-20 Thread Federico Giannici
Amedzekor Kafui wrote: look in the doc directory of the free-radius source. There is a file there for writing modules The file that I think you are talking about says how the modules work, but it doesn't say how to ADD a NEW module to the compiled ones. Anyway, I have just found the rlm_example

Re: Creating a custom module

2004-03-20 Thread Amedzekor Kafui
look in the doc directory of the free-radius source. There is a file there for writing modules Kafui. --- Federico Giannici <[EMAIL PROTECTED]> wrote: > We need a complex authorization process that take > complex decisions > based on various condition and SQL data. So we need > to create a cust

Creating a custom module

2004-03-20 Thread Federico Giannici
We need a complex authorization process that take complex decisions based on various condition and SQL data. So we need to create a custom module. We think that we'll start modifying the sql module as a starting point. My first question is: what is the supposed way to add a custom module to th