aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Wilke <nachtfalkeaw@web.de>2012-02-13 20:08:05 +0100
committerAlexander Wilke <nachtfalkeaw@web.de>2012-02-13 20:08:05 +0100
commit80c5cc8fcd624f3d2903b69d0f66df28aab9d936 (patch)
tree84d632b73aff8eb31861f492a0bb7e2fbd929eab
parentb2af360ba46d2ecf08facfd7f2d5812fbd640906 (diff)
downloadpfsense-packages-80c5cc8fcd624f3d2903b69d0f66df28aab9d936.tar.gz
pfsense-packages-80c5cc8fcd624f3d2903b69d0f66df28aab9d936.tar.bz2
pfsense-packages-80c5cc8fcd624f3d2903b69d0f66df28aab9d936.zip
Update config/freeradius2/freeradiussettings.xml
-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();