Search squid archive

no auth configured on squid but prompting for NTLM credentials

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is my issue...

Our IT team in Brazil is running Squid 2.5 STABLE11 and chain to my regional NetCache proxies here in the US.

The regional NeCache proxies require NTLM authentication for all users and also are configured to fallback to LDAP for those users that are not members of the domain.

There are no authentication parameters configured on the Brazil Squid proxy.

Clients that connect directly to the NetCache and are members of the domain authenticate transparently, those that are not members of the domain are prompted for their LDAP credentials.

Brazil clients are not members of the domain.  When they access HTTP sites via their squid that is chained through the NetCache they recieve a prompt from the NetCache requesting their LDAP credentials.  This is exactly how they should work.

The problem is that when they try to access HTTPS sites they don't get an LDAP prompt from the NetCache.  They receive an authentication prompt from the Squid requesting their NTLM credentials.  Which of course is an issue because they are not members of nor do they have accounts in the domain.  The prompt they recieve is of the format below.

server: proxy.domain.com
scheme: ntlm
username:
password:
domain:

Again, the squid.conf file doesn't have any auth_param entries configured.  The intial NTLM authentication should simply fail during the initial request and then the NetCache should prompt for LDAP credentials just as it works for HTTP requests.

It should also be stated that when we tested squid-to-netcache proxy chaining we were running 2.4 at the time and we didn't see any of these issues.

Below is the squid.conf of the brazil proxy.  ANY HELP WILL BE MUCH APPRECIATED as I have exhausted all ideas on my end.  Thanks in advanced!

###############################SQUID.CONF####################################
http_port 8080
cache_peer proxy.domain.com parent 8080 0 login=PASS no-query default
#cache_peer xxx.xxx.xxx.xxx parent 8080 0 no-query default
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
# cache_mem 16 MB
cache_swap_low 80
cache_swap_high 90
maximum_object_size 256 KB
maximum_object_size_in_memory 16 KB
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir aufs /var/spool/squid 200 16 256
cache_access_log /var/log/squid/access.log
cache_store_log /var/log/squid/store.log
pid_filename /var/run/squid.pid
ftp_user Squid@xxxxxxxxxx
debug_options ALL,1
## redirect_program /usr/local/bin/SquidClamAV_Redirector.py -c /etc/squid/SquidClamAV_Redirector.conf
# redirect_program /usr/local/squidclamav/bin/squidclamav
redirect_children 15
## error_directory /etc/squid/errors
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl dhl_network src "/etc/squid/dhl_network"
acl dhl_hosts src "/etc/squid/hosts"
acl black_domain dstdomain "/var/lib/squidguard/blackdomains"
acl apro_sites url_regex "/etc/squid/apro_sites"
acl apro_domain dstdomain "/etc/squid/apro_domain"
acl pro_sites url_regex "/etc/squid/pro_sites"
acl pro_domains dstdomain "/etc/squid/pro_domains"
acl mpeg url_regex .mpeg$
acl exe url_regex .exe$
acl avi url_regex .avi$
acl mov url_regex .mov$
acl screen url_regex .scr$
acl mp3 url_regex .mp3$
acl msn url_regex .*msn.com.*
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 11005 4443 8443
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
redirector_access deny localhost
http_reply_access allow all
http_access allow manager localhost
http_access allow apro_domain
http_access allow apro_sites
http_access allow hosts
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny black_domain
http_access deny pro_sites
http_access deny pro_domains
http_access deny msn
http_access deny mpeg
http_access deny exe
http_access deny avi
http_access deny mov
http_access deny mp3
http_access deny screen
http_access allow dhl_network
http_access deny all
icp_access allow all
cache_effective_user squid
visible_hostname on
httpd_accel_with_proxy on
never_direct allow all
logfile_rotate 5
snmp_port 0
snmp_access deny all
coredump_dir /var/spool/squid



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux