www/web-proxy-sso: prepare for replacement

This commit is contained in:
Franco Fichtner
2017-09-25 10:52:25 +02:00
parent e2a42db535
commit 74166077c9
14 changed files with 8 additions and 14 deletions
-1
View File
@@ -2,4 +2,3 @@ rm -f /usr/local/etc/squid/pre-auth/20-negotiate.auth.conf
if [ -f /var/run/squid/squid.pid ]; then
configctl proxy reconfigure
fi
+3 -2
View File
@@ -1,8 +1,9 @@
PLUGIN_NAME= proxy-sso
PLUGIN_NAME= web-proxy-sso
PLUGIN_VERSION= 1.3
PLUGIN_COMMENT= Kerberos authentication module
PLUGIN_DEPENDS= msktutil cyrus-sasl-gssapi
PLUGIN_MAINTAINER= evbevz@gmail.com
PLUGIN_WWW= http://smart-soft.ru
PLUGIN_WWW= https://smart-soft.ru
PLUGIN_DEVEL= yes
.include "../../Mk/plugins.mk"
+2
View File
@@ -0,0 +1,2 @@
Allow to use the web proxy with Single Sign-On against an
Active Directory instead of using a bundled authentication.
@@ -138,7 +138,7 @@ class ServiceController extends \OPNsense\Proxy\Api\ServiceController
$output = array("# drill {$hostname}");
exec("drill {$hostname}", $output);
$dns_hostname_resolution["dump"] = implode("\n", $output);
$resolv_reverse = null;
$dns_hostname_reverse_resolution = array();
$output = array();
@@ -14,4 +14,3 @@ class IndexController extends \OPNsense\Base\IndexController
$this->view->checkListForm = $this->getForm("checklist");
}
}
@@ -67,4 +67,3 @@
<help>Keytab file must exist and be valid.</help>
</field>
</form>
@@ -12,4 +12,3 @@
<help>Select Windows Server version for AD controller</help>
</field>
</form>
@@ -16,4 +16,3 @@
<help>Active Directory user password (this value is not stored in configuration).</help>
</field>
</form>
@@ -10,4 +10,3 @@
<type>password</type>
</field>
</form>
@@ -5,4 +5,3 @@
</WebProxy>
</Services>
</menu>
@@ -7,4 +7,3 @@ use OPNsense\Base\BaseModel;
class ProxySSO extends BaseModel
{
}
@@ -18,4 +18,3 @@
</ADKerberosImplementation>
</items>
</model>
@@ -85,7 +85,7 @@
$("#RefreshCheckList").removeClass("disabled");
$.each(data.frm_CheckList, function(index, value){
// clear data
$("#" + index).html("");
$(".help-block[for='" + index + "']").html("");
@@ -5,7 +5,7 @@ type:script_output
message:show kerberos keytab
[createkeytab]
command:/usr/local/opnsense/scripts/OPNsense/ProxySSO/squid-gen-keytab.sh
command:/usr/local/opnsense/scripts/OPNsense/ProxySSO/squid-gen-keytab.sh
parameters:-n %s -d %s -k %s -e %s -u %s -p %s
type:script_output
message:create keytab