Thomas Boutell <[EMAIL PROTECTED]> wrote:
> OK, I've made some progress with this (thanks for the tips), but
> so far my script still isn't executing. This is what I have
> in radiusd.conf:

  See scripts/exec-program-wait.  It is an example program which
includes simple documentation.

> exec grabmschap {
...
> * Putting this inside the mschap { } stanza.

  That won't work.  The "grabmschap" module is just another module.
You have to list it in the "authorize" section.

> * Putting it right after the "exec echo" declaration and
> putting "grabmschap" in the mschap { } stanza.

  That won't work, either.

> What's the correct way to enable the script so that it actually runs
> as part of and, hopefully, can short-circuit and report success from
> the mschap authorization sequence? I feel I must be missing something
> basic re: how to actually enable this exec stuff. Thank you!

  List "grab_mschap" in the authorize section.

  Or, even simpler, see scripts/exec-program-wait, which I pointed to
the other day.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to