Exec-Program-Wait vs rlm_exec vs rlm_<your own>

Alan DeKok aland at ox.org
Thu Jun 30 21:52:47 CEST 2005


Doug Hardie <bc979 at lafn.org> wrote:
> Recently I took a more detailed look at rlm_example and decided to  
> give that approach a try.  Its actually quite easy to convert an Exec- 
> Program-Wait into a rlm_xxxx.  Some of the steps are not obvious and  
> the really difficult part is figuring out what you need to do to get  
> configure to work properly.

  Don't use configure.  Some FreeRADIUS modules don't use it.  It's
not necessary for your own modules on your own system.

  Just create a "Makefile", and it will work.

> Hence, I would suggest that rather than push the rlm_exec as the
> replacement for Exec-Program-Wait, that creating your own rlm_xxxx
> would be a better approach.

  Sure, but not everyone is comfortable with C code.

> There are no real instructions for creating your own rlm that I could  
> find.  However, the experience is still fresh and if you are  
> interested I could put together a first draft of instructions on  
> creating a rlm.

  Sure.  We'll make it the "man" page for rlm_example.

  Alan DeKok.




More information about the Freeradius-Users mailing list