14 Nov
2005
14 Nov
'05
1:05 p.m.
Nicolas Baradakis <nbk@sitadelle.com> wrote:
The possible solutions are: 1. Reverse previous changes and move the file exec.c back to src/main.
Maybe. If other modules need it, that's where it should go.
2. Copy the file exec.c into src/modules/rlm_mschap, too.
No.
3. In rlm_mschap.c, use "exec_xlat" from rlm_exec instead of "radius_exec_program". It adds a dependancy between the modules, though. For example, we could have in radiusd.conf: ntlm_auth = "%{exec:/path/to/ntlm_auth ... }"
That's an option. I'm a big fan of "just making it work". If that means moving exec.c back to src/main, fine. Alan DeKok.