aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid/squid_auth.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid/squid_auth.xml')
-rw-r--r--packages/squid/squid_auth.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/packages/squid/squid_auth.xml b/packages/squid/squid_auth.xml
index 2f20d755..50d29343 100644
--- a/packages/squid/squid_auth.xml
+++ b/packages/squid/squid_auth.xml
@@ -52,6 +52,17 @@
<onchange>on_auth_method_changed()</onchange>
</field>
<field>
+ <fieldname>ldap_version</fieldname>
+ <fielddescr>LDAP version</fielddescr>
+ <description>Enter LDAP protocol version (2 or 3).</description>
+ <default_value>2</default_value>
+ <type>select</type>
+ <options>
+ <option><name>2</name><value>2</value></option>
+ <option><name>3</name><value>3</value></option>
+ </options>
+ </field>
+ <field>
<fieldname>auth_server</fieldname>
<fielddescr>Authentication server</fielddescr>
<description>Enter here the IP or hostname of the server that will perform the authentication.</description>
@@ -73,7 +84,7 @@
<size>60</size>
</field>
<field>
- <fieldname>ldap_password</fieldname>
+ <fieldname>ldap_pass</fieldname>
<fielddescr>LDAP password</fielddescr>
<description>Enter here the password to use to connect to the LDAP server.</description>
<type>password</type>
@@ -87,6 +98,14 @@
<size>60</size>
</field>
<field>
+ <fieldname>ldap_filter</fieldname>
+ <fielddescr>LDAP search filter</fielddescr>
+ <default_value>(&amp;(objectClass=person)(uid=%s))</default_value>
+ <description>Enter LDAP search filter.</description>
+ <type>input</type>
+ <size>60</size>
+ </field>
+ <field>
<fieldname>radius_secret</fieldname>
<fielddescr>RADIUS secret</fielddescr>
<description>The RADIUS secret for RADIUS authentication.</description>