Sample Header Ad - 728x90

MultiOTP with freeradius wrong

0 votes
1 answer
857 views
I running freeradius 3.* on my server with The MultiOTP Version is 4.3.1.1 and for configuring FreeRADIUS I have used this guide: http://wiki.freeradius.org/guide/multiOTP-HOWTO and when I use radiusd -X the worng is just like this enter image description here whith my policy.conf root@debian:~# cat /usr/local/etc/raddb/policy.d/policy.conf policy { # Change to a specific prefix if you want to deal with normal PAP authentication as well as OTP # e.g. "multiotp_prefix = 'otp:'" multiotp_prefix = '' multiotp.authorize { # This test is for decimal OTP code only, otherwise you will have to change it # Try for example this simple test: if (!control:Auth-Type) { if (control:Auth-Type == 'MS-CHAP') { update control { Auth-Type := multiotpmschap } } elsif (!control:Auth-Type && User-Password =~ /^${policy.multiotp_prefix}([0-9]{10})$/) { update control { Auth-Type := multiotp } } } } I find more any documents and wiki but it don't work. So I want konw what is wrong with it.
Asked by zore lu (45 rep)
Jun 4, 2017, 09:20 AM
Last activity: Oct 21, 2018, 05:20 PM