OPNsense Forum

English Forums => Development and Code Review => Topic started by: domg on June 27, 2016, 11:56:21 pm

Title: Interact to OPNsense core from plugin
Post by: domg on June 27, 2016, 11:56:21 pm
Hi,

I started to create a plugin to permit SSO authentification from proxy, so far I can get and set configuration and join the domain with kinit/msktutil.
How can I add a new authentification in proxy to add this code
Code: [Select]
auth_param negotiate program "/usr/local/libexec/squid/negotiate_kerberos_auth
auth_param negotiate children 10
auth_param negotiate keep_alive on
acl password proxy_auth REQUIRED
and in /etc/rc.conf.d/squid
Code: [Select]
squid_krb5_ktname="/usr/local/etc/proxy.keytab"
https://github.com/gitdevmod/plugins

Thanks in advance
Title: Re: Interact to OPNsense core from plugin
Post by: franco on June 28, 2016, 08:38:02 am
Hi domg,

I think this may need to be included in the base proxy code in core.git in order to work reliably with an single option checkbox. I'd like to know what Ad thinks about this.


Cheers,
Franco