Do you have that Auth-Type defined in the authenticate section?

Ivan Kalik
Kalik Informatika ISP


Dana 1/7/2008, "Greg Woods" <[EMAIL PROTECTED]> piše:

>I am trying to migrate from freeradius 1.1.7 to freeradius 2.0.5 and I
>cannot get the OTP module to work. Basically it instantiates, but when I
>specify "Auth-Type = OTP" in a users file entry, it complains that this
>is not a valid value for that attribute. This worked fine under 1.1.7 .
>I have been Googling, grepping the source code and reading the wiki for
>a couple of days now without finding anything that directly pertains to
>this problem. I don't know if I messed up compiling the code or
>configuring the server. If this is documented somewhere, please forgive
>me, as I have been unable to find it.
>
>Here are the relevant snippets from the -X output; the full output is
>attached:
>
>including configuration file /usr/local/etc/raddb/modules/otp
>[...]
>including configuration file /usr/local/etc/raddb/otp.conf
>[...]
> Module: Linked to module rlm_otp
>Module: Instantiating otp
>  otp {
>        otpd_rp = "/var/run/otpd/socket"
>        challenge_prompt = "Challenge: %s  Response: "
>        challenge_length = 6
>        challenge_delay = 30
>        allow_sync = yes
>        allow_async = no
>        mschapv2_mppe = 2
>        mschapv2_mppe_bits = 2
>        mschap_mppe = 2
>        mschap_mppe_bits = 2
>  }
>
>And then it craps out at the end with:
>
>/usr/local/etc/raddb/users[4]: Parse error (check) for entry DEFAULT:
>Unknown value otp for attribute Auth-Type
>Errors reading /usr/local/etc/raddb/users
>
>The entry that worked under 1.1.7 (and which results in the above error
>under 2.0.5) is:
>
>DEFAULT Auth-Type = OTP
>        Fall-Through = No
>
>Thanks for any pointers; I am pretty much dead in the water in my
>migration at this point.
>
>--Greg
>
>
>

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

Reply via email to