Search squid archive

[squid-users] Help on Squid with ntlm auth ..

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

 



Hi

i request your help for resolve four problems that i have with Squid/Samba.
I use squid-2.5.STABLE9 and samba 3.0.14a with a authentification ntlm winbindd

my fours problems :

1- I don't know why, but all web site with a refresh have a access denied ..
my user going on the web site no problems, wait 5mn the web site refresh and
when he refresh i have a access denied

2- I don't know why with IE i can't going on www.ratp.fr when i use the proxy squid. i have a box for download and not the web site .. i don't know what is the process
for debug this ... without squid the web site work's !!!!!

3- What is the access right for accept this:
1117612694.193 0 10.206.1.251 TCP_DENIED/407 1790 GET cache_object://10.206.1.251/counters - NONE/- text/html 1117612694.197 0 10.206.1.251 TCP_DENIED/407 1778 GET cache_object://10.206.1.251/5min - NONE/- text/html 1117612694.201 0 10.206.1.251 TCP_DENIED/407 1781 GET cache_object://10.206.1.251/60min - NONE/- text/html

4- i have a lot of problems of authentification, when i change the password on my Active Directory, 3/4 hours after squid don't have
the new password ... can i said a small cache live ?


Thanks for your help

My config files /etc/squid/squid.conf (all other config are with a #):
http_port 10.206.1.251:8080
http_port 10.206.1.252:8080
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \? .php .cgi .pl
no_cache deny QUERY
Default:
cache_mem 8 MB
cache_dir ufs /var/spool/squid 512 16 256
mime_table /etc/squid/mime.conf
ftp_user Squid@xxxxxxxxxxx
ftp_passive on

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 15
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes

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

external_acl_type AD_Group concurrency=15 negative_ttl=300 %LOGIN /usr/lib/squid/wbinfo_group.pl


refresh_pattern ^ftp:        1440    20%    10080
refresh_pattern ^gopher:    1440    0%    1440
refresh_pattern \.fr\/          20      20%     1440
refresh_pattern .        0    20%    4320

quick_abort_min 1000 KB
quick_abort_max 3000 KB
quick_abort_pct 15

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


acl dmz_network src 10.216.1.0/24
http_access allow dmz_network

acl AllowedADUsers external AD_Group "/etc/squid/allowedntgroups"
acl Winbind proxy_auth REQUIRED

http_access allow AllowedADUsers
http_access deny !AllowedADUsers


http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow localhost
http_reply_access allow all
icp_access allow all
tcp_outgoing_tos 0x08 all

logfile_rotate 3
forwarded_for off
log_icp_queries off



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

  Powered by Linux