Re: rlm_exec use

2008-03-20 Thread Alan DeKok
T Kid82 wrote: Could you explain why you think that? None of the documentation or default configuration files say that. Note that the module return code OK or success does NOT mean let the user in without checking their password. That is a revelation to me. A simple explanation:

Re: rlm_exec use

2008-03-20 Thread T Kid82
Yes... but from the debug output you posted, it looks like you deleted everything *else* The debug output I pasted was not in its entirety. I did not paste any preceding output since it looked fine to me. No errors. Could you explain why you think that? None of the documentation or

rlm_exec use

2008-03-19 Thread T Kid82
Hi everyone, I have been trying to get RADIUS to run a perl script which would authenticate users (and yes I have tried rlm_perl but I decided against it). So far all I have in the perl script itself is #!/usr/bin/perl use strict; use Data::Dumper; exit 3;

Re: rlm_exec use

2008-03-19 Thread Alan DeKok
T Kid82 wrote: I have been trying to get RADIUS to run a perl script which would authenticate users (and yes I have tried rlm_perl but I decided against it). Why? It is *much* more efficient than exec'ing a program. ... Exec-Program output: Exec-Program: returned: 3 ++[exec] returns ok

Re: rlm_exec use

2008-03-19 Thread T Kid82
You have put significant effort into butchering the default configuration. Why? I got this from the comments in exec-program-wait (which has been deprecated) where it explains how to use rlm_exec. It says, An entry for the module 'rlm_exec' must be added to the file 'radiusd.conf' with the

Re: rlm_exec use

2008-03-19 Thread Doug Hardie
On Mar 19, 2008, at 11:34, T Kid82 wrote: You have put significant effort into butchering the default configuration. Why? I got this from the comments in exec-program-wait (which has been deprecated) where it explains how to use rlm_exec. It says, An entry for the module 'rlm_exec' must be

Re: rlm_exec use

2008-03-19 Thread Alan DeKok
T Kid82 wrote: I got this from the comments in exec-program-wait (which has been deprecated) where it explains how to use rlm_exec. It says, An entry for the module 'rlm_exec' must be added to the file 'radiusd.conf' with the path of the script. Yes... but from the debug output you