Re: [squid-users] status for caching IIS websites using NTLM ?

From: Joel CARNAT <[email protected]>
Date: Thu, 26 Oct 2006 13:38:06 +0200 (CEST)

On Thu, October 26, 2006 09:37, Henrik Nordstrom wrote:
>
>> So, is Squid (>= 2.6) able to proxify NTLM authentication so that I can
>> achieve the following scenario: (Internet Explorer) <-> (Squid) <->
>> (IIS website using NTLM authent.)
>>
>
> Yes.
>

nice to here that :)

>
>> If so, what's the first available version ? And what are the conf
>> keywords to look for ?
>
> 2.6.STABLE1 and later, with some minor improvements in later versions.
>
> Enabled by default.
>
> Can be distabled by
> a) Disabling persistent connections
> b) http_port option disabling connection oriented authentication.
> c) Cache-peer option telling Squid that a peer does not support connection
> oriented authentication even if it looks like it may..
>

right, I have:
# squid -v
Squid Cache: Version 2.6.STABLE4
configure options: '--datadir=/usr/local/share/squid' '--enable-auth=basic
digest' '--enable-arp-acl' '--enable-basic-auth-helpers=NCSA YP'
'--enable-digest-auth-helpers=password'
'--enable-external-acl-helpers=ip_user unix_group'
'--enable-removal-policies=lru heap' '--enable-ssl' '--enable-storeio=ufs
diskd null' '--localstatedir=/var/squid' '--enable-pf-transparent'
'--enable-snmp' '--prefix=/usr/local' '--sysconfdir=/etc'
'--mandir=/usr/local/man' '--infodir=/usr/local/info' 'CC=cc' 'CFLAGS=-O2
-pipe'

my configuration file is:
http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
access_log /var/squid/logs/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl altran_network src 10.0.0.0/8
http_access allow altran_network
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/squid/cache
client_persistent_connections on
server_persistent_connections on
persistent_connection_after_error on
detect_broken_pconn on

and it still does not work.
I get the l/p dialog box from IE, then get "Impossible to show the page".
But it works with FireFox (only, I can't force users to use FFox, for
internal political reason :( ).

Any idea on what I missed ?

TIA,
   Jo
Received on Thu Oct 26 2006 - 03:38:04 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST