mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/web-proxy-sso: add pluggable templates
PR: https://github.com/opnsense/core/pull/1235
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
{% if helpers.exists('OPNsense.proxy.forward.authentication.method') %}
|
||||
{% if helpers.exists('system.authserver') %}
|
||||
{% for server in helpers.toList('system.authserver') %}
|
||||
{% if server.name == OPNsense.proxy.forward.authentication.method %}
|
||||
{% if server.type == "ssoproxyad" %}
|
||||
auth_param negotiate program "/usr/local/libexec/squid/negotiate_kerberos_auth"
|
||||
auth_param negotiate children 10
|
||||
auth_param negotiate keep_alive on
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
@@ -1 +1,2 @@
|
||||
krb5.conf:/usr/local/etc/ssoproxyad/krb5.conf
|
||||
rc.conf:/usr/local/etc/rc.d/ssoproxyad.conf
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{% if helpers.exists('system.authserver') %}
|
||||
{% for server in helpers.toList('system.authserver') %}
|
||||
{% if helpers.exists(OPNsense.proxy.forward.authentication.method) %}
|
||||
{% if server.name == OPNsense.proxy.forward.authentication.method %}
|
||||
{% if server.type == "ssoproxyad" %}
|
||||
squid_krb5_ktname="/usr/local/etc/ssoproxyad/PROXY.keytab"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user