Freeradius with motp

Isidro Hortelano isidrohortelano at
Thu Mar 16 10:49:52 CET 2017

Hi all,

I'm trying to configure freeradius version 3.0.3 with motp, to check to
verify the otp i use a external script. This is my current configuration:


moudules {
            exec MOTP {
                        wait = yes
                        program = "/etc/raddb/ %{User-Name}
%{User-Password} %{reply:Secret
                         %{reply:Pin} %{reply:Offset}"
                        input_pairs = request
                        output_pairs = reply



Auth-Type External {


DEFAULT Auth-Type = External
Exec-Program-Wait = "/usr/local/etc/raddb/ '%{User-Name}'
'%{User-Password}' '%{reply:Secret}' '%{reply:Pin}' '%{reply:Offset}'",
Fall-Through = Yes

        Secret = a843ad39b0bSe12ede3092c0ac30676c23eb23ae,
        Pin = 1234,
        Offset = 0

When i start the radius server I'm getting this error, anybody know about
it ?

radiusd -X error:

reading pairlist file /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-config/files/authorize[213]: Parse error (check) for entry
test2: Unknown value 'External' for attribute 'Auth-Type'
Failed reading /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"


More information about the Freeradius-Users mailing list