Go to file
Christian Wittmer 71075c2f96 Accepting request 143935 from home:sbrabec:gpg-offline-verify
Verify GPG signature: Perform build-time offline GPG verification.
Please verify that included keyring matches your needs.
For manipulation with the offline keyring, please use gpg-offline tool from openSUSE:Factory, devel-tools-building or Base:System.
See the man page and/or /usr/share/doc/packages/gpg-offline/PACKAGING.HOWTO.

If you need to build your package for older products and don't want to mess spec file with ifs, please follow PACKAGING.HOWTO:
you can link or aggregate gpg-offline from
devel:tools:building or use following trick with "osc meta prjconf":

--- Cut here ----
%if 0%{?suse_version} <= 1220
Substitute: gpg-offline
%endif

Macros:
%gpg_verify(dnf) \
%if 0%{?suse_version} > 1220\
echo "WARNING: Using %%gpg_verify macro from prjconf, not from gpg-offline package."\
gpg-offline --directory="%{-d:%{-d*}}%{!-d:%{_sourcedir}}" --package="%{-n:%{-n*}}%{!-n:%{name}}""%{-f: %{-f*}}" --verify %{**}\
%else\
echo "WARNING: Dummy prjconf macro. gpg-offline is not available, skipping %{**} GPG signature verification!"\
%endif\
%nil
-----------------

OBS-URL: https://build.opensuse.org/request/show/143935
OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=25
2012-12-30 15:34:43 +00:00
.gitattributes unlink from Factory 2012-10-22 19:07:11 +00:00
.gitignore unlink from Factory 2012-10-22 19:07:11 +00:00
pam.squid unlink from Factory 2012-10-22 19:07:11 +00:00
README.kerberos unlink from Factory 2012-10-22 19:07:11 +00:00
RELEASENOTES.html Accepting request 139036 from home:computersalat:devel:proxy 2012-10-22 19:27:49 +00:00
rpmlintrc unlink from Factory 2012-10-22 19:07:11 +00:00
squid_cache_swap.sh unlink from Factory 2012-10-22 19:07:11 +00:00
squid-3.2.3.tar.bz2 Accepting request 139036 from home:computersalat:devel:proxy 2012-10-22 19:27:49 +00:00
squid-3.2.3.tar.bz2.asc Accepting request 139036 from home:computersalat:devel:proxy 2012-10-22 19:27:49 +00:00
squid-compiled_without_RPM_OPT_FLAGS.patch unlink from Factory 2012-10-22 19:07:11 +00:00
squid-config.patch unlink from Factory 2012-10-22 19:07:11 +00:00
squid-glibc217.patch Accepting request 141616 from home:a_jaeger:FactoryFix 2012-11-17 10:31:45 +00:00
squid-nobuilddates.patch unlink from Factory 2012-10-22 19:07:11 +00:00
squid.changes Accepting request 143935 from home:sbrabec:gpg-offline-verify 2012-12-30 15:34:43 +00:00
squid.init unlink from Factory 2012-10-22 19:07:11 +00:00
squid.keyring Accepting request 143935 from home:sbrabec:gpg-offline-verify 2012-12-30 15:34:43 +00:00
squid.logrotate unlink from Factory 2012-10-22 19:07:11 +00:00
squid.permissions unlink from Factory 2012-10-22 19:07:11 +00:00
squid.service unlink from Factory 2012-10-22 19:07:11 +00:00
squid.spec Accepting request 143935 from home:sbrabec:gpg-offline-verify 2012-12-30 15:34:43 +00:00
squid.sysconfig unlink from Factory 2012-10-22 19:07:11 +00:00
unsquid.pl unlink from Factory 2012-10-22 19:07:11 +00:00

This is the README.kerberos file
to have squid negotiate/authenticate via kerberos

any addons are very welcome 
comments could be posted to <chris(at)computersalat.de>


1) you need to add a "USER" inside your "Domain-Computers" Container
   called "squid".  Yes a "USER" and not a Computer.
   You may use another name, but why ?

2) After having successfully created the user, you need to create a 
   keytab file on your WIN box.

Example: !! This is all in one line !!

  ktpass -princ HTTP/squid@DOMAIN.REALM -pType KRB5_NT_PRINCIPAL \
  -mapuser squid -pass * -out HTTP.keytab

3) copy over HTTP.keytab to /etc/squid/ on your linux box

4) you have to tell your browsers to negotiate via kerberos

  Have a look at:

  a) Internet Explorer does not support Kerberos authentication with proxy servers
     http://support.microsoft.com/?scid=kb%3Ben-us%3B321728&x=19&y=14

	This limitation was removed in Windows Internet Explorer 7.

	If Integrated Windows Authentication is turned on in Internet Explorer
	for Windows 2000 and Windows XP, you can complete Kerberos authentication
	with Web servers either directly or through a proxy server. However,
	Internet Explorer cannot use Kerberos to authenticate with the proxy
	server itself.

  b) Unable to negotiate Kerberos authentication after upgrading to Internet Explorer 6
     http://support.microsoft.com/kb/299838/EN-US/

	To resolve this issue, enable Internet Explorer 6 to respond to
	a negotiate challenge and perform Kerberos authentication:

	1. In Internet Explorer, click Internet Options on the Tools menu.
	2. Click the Advanced tab, click to select the Enable
	   Integrated Windows Authentication (requires restart) check box
	   in the Security section, and then click OK.
	3. Restart Internet Explorer.

	Administrators can enable Integrated Windows Authentication by
	setting the EnableNegotiate DWORD value to 1 in the following registry key:

	HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

	Note Internet Explorer 6, when used with Microsoft Windows 98,
	Microsoft Windows 98 Second Edition, Microsoft Windows Millennium Edition,
	and Microsoft Windows NT 4.0 does not respond to a negotiate challenge and
	default to NTLM (or Windows NT Challenge/Response) authentication even if
	the Enable Integrated Windows Authentication (requires restart) check
	box is selected because Kerberos authentication is not available on
	these operating systems.