aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeradius2
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeradius2')
-rw-r--r--config/freeradius2/freeradiussettings.xml31
1 files changed, 25 insertions, 6 deletions
diff --git a/config/freeradius2/freeradiussettings.xml b/config/freeradius2/freeradiussettings.xml
index 368191a0..4404b4bb 100644
--- a/config/freeradius2/freeradiussettings.xml
+++ b/config/freeradius2/freeradiussettings.xml
@@ -310,6 +310,31 @@
<default_value>0</default_value>
</field>
<field>
+ <name>MOBILE-ONE-TIME-PASSWORD CONFIGURATION</name>
+ <type>listtopic</type>
+ </field>
+ <field>
+ <fielddescr>Enable Mobile-One-Time-Password</fielddescr>
+ <fieldname>varsettingsmotpenable</fieldname>
+ <description><![CDATA[This enables the possibility to authenticate against an username and an one-time-password. The client which generates OTP can be installed on various mobile device plattforms like Android and more. If you enable this the first time we need to download and install package "bash-4.1.7" so the process will need some time. (Default: unchecked)]]></description>
+ <type>checkbox</type>
+ <enablefields>varsettingsmotptimespan,varsettingsmotppasswordattempts</enablefields>
+ </field>
+ <field>
+ <fielddescr>OTP Lifetime</fielddescr>
+ <fieldname>varsettingsmotptimespan</fieldname>
+ <description><![CDATA[Enter the lifetime of the OTP. 1=10, 2=20s, 3=30s (Default: 2)]]></description>
+ <type>input</type>
+ <default_value>2</default_value>
+ </field>
+ <field>
+ <fielddescr>Number of invalid password attempts</fielddescr>
+ <fieldname>varsettingsmotppasswordattempts</fieldname>
+ <description><![CDATA[After this the user will be locked out until the admin unlocks the user. (Default: 5)]]></description>
+ <type>input</type>
+ <default_value>5</default_value>
+ </field>
+ <field>
<name>MISCELLANEOUS CONFIGURATION</name>
<type>listtopic</type>
</field>
@@ -325,12 +350,6 @@
<description><![CDATA[This disables the "rlm_acct_unique" module in FreeRADIUS "preacct" section. By default this module is enabled but it causes some problems with counters. So if you use "Amount of Download/Upload/Time" then leave this checked. (Default: unchecked)]]></description>
<type>checkbox</type>
</field>
- <field>
- <fielddescr>Enable Mobile-One-Time-Password</fielddescr>
- <fieldname>varsettingsmotpenable</fieldname>
- <description><![CDATA[This enables the possibility to authenticate against an username and an one-time-password. The client which generates OTP can be installed on various mobile device plattforms like Android and more. If you enable this the first time we need to download and install package "bash-4.1.7" so the process will need some time. (Default: unchecked)]]></description>
- <type>checkbox</type>
- </field>
</fields>
<custom_delete_php_command>
freeradius_settings_resync();