Univention Bugzilla – Bug 32429
squid/redirect not usable on UCS
Last modified: 2014-09-11 15:03:11 CEST
Support for squid/redirect was merged from UCS@school in UCS 3.0-1. However, the template cannot be used in UCS out of the box. In UCS setting the variable will fail out of the box, since univention-squid doesn't depend on squidguard (in contrast to ucs@school): if configRegistry.get("squid/redirect") == "squidguard": print 'url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf' The template should rather use print 'url_rewrite_program configRegistry['squid/redirect' so that other redirectors can be used as well.
2014-02-28-univention-squid.yaml "squid/redirect" is now simply the option for "url_rewrite_program" with the special case "squid/redirect=squidguard", then 'url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf' is still used (so we don't break ucs@school). > In UCS setting the variable will fail out of the box, since univention-squid > doesn't depend on squidguard (in contrast to ucs@school): I didn't added a dependency. The redirector has to be installed and configured manually.
Created attachment 5858 [details] qa_32429.patch Maybe the UCR description should be adjusted to reflect the extended flexibility, see attached patch proposal.
(In reply to Arvid Requate from comment #2) > Created attachment 5858 [details] > qa_32429.patch > > Maybe the UCR description should be adjusted to reflect the extended > flexibility, see attached patch proposal. fixed
Ok.
On a samba4 DC the joinscript now uses the common create_spn_account.sh script from univention-samba4. To test this I messed up the password of the account and after running the joinscript again the create_spn_account.sh script created a new password so the existing account works again. On the other hand, if the account is present and the password works then it doesn't touch it. Advisory OK.
Last comment wasn't intendet to be committed to ths bug, ignore.
http://errata.univention.de/ucs/3.2/87.html