aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid_extauth.xml
diff options
context:
space:
mode:
authorMichael Capp <myntric@pfsense.org>2005-11-11 19:37:44 +0000
committerMichael Capp <myntric@pfsense.org>2005-11-11 19:37:44 +0000
commitad5ef15a6fd2b209be2d6c543679fd10cf56d66d (patch)
tree3b5bfcaa7e7f23b2852474a1af824d2ad9f347a8 /packages/squid_extauth.xml
parent458d6e64d18df834a841578a957c17a3aec6cd57 (diff)
downloadpfsense-packages-ad5ef15a6fd2b209be2d6c543679fd10cf56d66d.tar.gz
pfsense-packages-ad5ef15a6fd2b209be2d6c543679fd10cf56d66d.tar.bz2
pfsense-packages-ad5ef15a6fd2b209be2d6c543679fd10cf56d66d.zip
Addition of squid_extauth.xml to eliminate Syntax errors if no authentication defined prior to selecting.
Diffstat (limited to 'packages/squid_extauth.xml')
-rw-r--r--packages/squid_extauth.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/packages/squid_extauth.xml b/packages/squid_extauth.xml
new file mode 100644
index 00000000..3af66111
--- /dev/null
+++ b/packages/squid_extauth.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<packagegui>
+ <name>squidextnoauth</name>
+ <title>Services: Proxy Server -> Extended Authentication Settings</title>
+ <configpath>installedpackages->package->squidextnoauth->configuration->settings</configpath>
+
+ <aftersaveredirect>/pkg_edit.php?xml=squid_extauth.xml&amp;id=0</aftersaveredirect>
+
+ <tabs>
+ <tab>
+ <text>General Settings</text>
+ <url>/pkg_edit.php?xml=squid_ng.xml&amp;id=0</url>
+ </tab>
+
+ <tab>
+ <text>Upstream Proxy</text>
+ <url>/pkg_edit.php?xml=squid_upstream.xml&amp;id=0</url>
+ </tab>
+
+ <tab>
+ <text>Cache Mgmt</text>
+ <url>/pkg_edit.php?xml=squid_cache.xml&amp;id=0</url>
+ </tab>
+
+ <tab>
+ <text>Network Access Control</text>
+ <url>/pkg_edit.php?xml=squid_nac.xml&amp;id=0</url>
+ </tab>
+
+ <tab>
+ <text>Traffic Mgmt</text>
+ <url>/pkg_edit.php?xml=squid_traffic.xml&amp;id=0</url>
+ </tab>
+
+ <tab>
+ <text>Auth Settings</text>
+ <url>/pkg_edit.php?xml=squid_auth.xml&amp;id=0</url>
+ </tab>
+
+ <tab>
+ <text>Extended Auth Settings</text>
+ <url>/pkg_edit.php?xml=squid_extauth.xml&amp;id=0</url>
+ <active/>
+ </tab>
+
+ </tabs>
+
+ <fields>
+ <field>
+ <fielddescr>No Authentication Defined</fielddescr>
+ <fieldname>no_auth</fieldname>
+ </field>
+ </fields>
+
+ <custom_add_php_command_late>
+ require_once("/usr/local/pkg/squid_ng.inc");
+
+ global_write_squid_config();
+ mwexec("/usr/local/sbin/squid -k reconfigure");
+ </custom_add_php_command_late>
+
+</packagegui>