[squid-users] Squid with ntlm_authgives 2nd login

From: Wittassek, Dominik <D.Wittassek_at_fibro.de>
Date: Wed, 7 Jul 2010 12:21:27 +0200

Hello @ all!

I´m Using Squid 2.7.STABLE7 on Ubuntu 10.04.

I´ve managed to get ntlm_auth working with groups in th AD.
I can browse simple pages, but when I open an https site, it gives me an 2nd login-window.
I log in with my username of the AD, and browsing continues.
But why do I get this login?

My squid.conf:

error_directory /usr/share/squid-langpack/de

auth_param ntlm program /usr/bin/ntlm_auth = --helper-protocol=3Dsquid-2.5-ntlmssp
auth_param ntlm children 30
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes # ntlm_auth from Samba 3 supports NTLM NEGOTIATE packet auth_param ntlm use_ntlm_negotiate on

auth_param basic program /usr/bin/ntlm_auth = --helper-protocol=3Dsquid-2.5-basic
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours

external_acl_type testForNTGroup %LOGIN /usr/lib/squid/wbinfo_group.pl acl inGroupP external testForNTGroup BC_POWER_USER acl inGroupA external testForNTGroup BC_ADMIN_USER acl inGroupS external testForNTGroup BC_STANDARD_USER

acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl Allowed_Ports port 80 99 443 21 563 488 777 210 1025-65535

http_access allow inGroupA
http_access allow inGroupS
http_access allow inGroupP

http_access deny !Allowed_Ports

http_access deny all

http_port 3128

hierarchy_stoplist cgi-bin ?

access_log /var/log/squid/access.log squid

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880

refresh_pattern . 0 20% 4320

acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

extension_methods REPORT MERGE MKACTIVITY CHECKOUT

hosts_file /etc/hosts

coredump_dir /var/spool/squid
----------------------------------------------------------------
FIBRO GmbH
Weidachstraße 41-43
DE-74189 Weinsberg
Registergericht Stuttgart, HRB 100248
USt-ID-Nr. DE 145 764 961
Steuer-Nr. 65200/38903
Geschäftsführer: Jochen Lütkemeyer (Vorsitzender), Jürgen Gurt
----------------------------------------------------------------

Bitte schonen Sie die Umwelt und drucken Sie diese E-Mail NUR aus, wenn notwendig... Schützen Sie die Wälder.
Please take care of the environment, print this e-mail ONLY if necessary... Save the forests.
Received on Wed Jul 07 2010 - 10:21:36 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 07 2010 - 12:00:14 MDT