external modules

Alan DeKok aland at deployingradius.com
Fri Aug 11 00:13:57 CEST 2006


"Lin Richardson" <lin at xmission.com> wrote:
> Question 1:
> This script is intended to be an Authentication method.  How do I teach
> freeradius (during the authorize process?) to set Auth-Type to use this
> method when appropriate?

  This is one of the few cases where you have to set Auth-Type
yourself, in another module.

> This would mean that freeradius would have to set the Auth-Type to NEWAUTH,
> right?  The NEWAUTH block would in turn kick of the special_auth module and
> execute my auth script?

  Yes.

> Question 2:
> A related, but separate question regarding external scripts.  Having
> specified the "output_pairs = reply" parameter, how does a script set or
> return the pairs for use by freeradius.

  See scripts/exec-program-wait

  Alan DeKok.



  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list