On Jun 9, 2018, at 8:40 PM, Peter Drucker <druckers@gmail.com> wrote:
What I'm trying to do is something like this. Obviously it's not working with the error as:
/home/users/radius/raddb/sites-enabled/nac-server[63]: Subsection of module instance call not allowed /home/users/radius/raddb/sites-enabled/nac-server[62]: Failed to parse "mschap" subsection.
See "man unlang". You can't just out random things in the config and expect them to do what you want.
authenticate { Auth-Type MS-CHAP { mschap { ==> line 62
mschap is a module. If you do "mschap { ...}" the *only* allowed contents of the {...} block are failure codes and priorities.
if (notfound) { ==> line 63
Instead of explaining what you've done, maybe you can explain what you're trying to do. i.e. what you *want* to happen.
policy { if (handled) { mschap
So "mschap" is inside of the "mschap" section? That doesn't make sense... Alan DeKok.