multiotp and freeradius - Where to set Auth-Type for multiotp?

Skrebetz, Pete Peter.Skrebetz at netscout.com
Thu Oct 6 22:00:07 CEST 2016


So I created a multiotp file in the /etc/raddb/policy.d/ directory, pasted in the below entry, restarted radiusd and it works!!

#  
# Handle multiOTP authorization policy.  
# This must be add just before the last "}"  
multiotp.authorize {  
    if (!control:Auth-Type) {  
        update control {  
            Auth-Type := multiotp  
        }  
    }  
}


Thanks so much for your help!!!


-----Original Message-----
From: Freeradius-Users [mailto:freeradius-users-bounces+peter.skrebetz=netscout.com at lists.freeradius.org] On Behalf Of A.L.M.Buxey at lboro.ac.uk
Sent: Thursday, October 6, 2016 1:48 PM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: multiotp and freeradius - Where to set Auth-Type for multiotp?

Hi,
> This is the step that I need help with in the multiotp configuration.  There is no policy.conf file!
in v2.x there was, in v3 you just need to create a new file in the policy.d/ directory....eg multiOTP and put that in there,....then you call that policy in relevant section (authorize) bu just using 'multiotp'

alan
-
List info/subscribe/unsubscribe? See https://urldefense.proofpoint.com/v2/url?u=http-3A__www.freeradius.org_list_users.html&d=DQIGaQ&c=Hlvprqonr5LuCN9TN65xNw&r=_roFQx21Yxc2T6prByEy06TabKtIyRFqixcSDUGmzps&m=LKxikvIhTrVM8TQROAsO1Ukxx5y19zGnaUKht2qEsF8&s=gnkPpX2HoJehcHgBfEqrStxobaeKyAy7oSvN16xlbk0&e= 



More information about the Freeradius-Users mailing list