Search squid archive

problem with auth_ntlm and javascript

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

 



Hi everyone,

We have a problem with firefox, auth_ntlm and javascript. Our squid
server autenticate with AD through ntlm for Single Sign On. There is
no problem when we use IE, but when we use Firefox and the web page
requires Javascript, the client asks for the user/password for each
javascript component that the web page uses. If we disable Javascript
in firefox, works ok.

We know that it's not a squid problem, but I was wondering if someone
had the same problem.


#####My squid.conf#########

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 150

auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 150
auth_param basic realm Servidor Proxy
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
authenticate_cache_garbage_interval 10 seconds

authenticate_ttl 0 seconds

external_acl_type Grupo_AD ttl=10 children=150 %LOGIN
/usr/lib/squid3/wbinfo_group.pl


acl Usuarios_AD_Autenticados proxy_auth REQUIRED

acl Grupo_AD_Internet_Alto external Grupo_AD Internet_Alto
acl Grupo_AD_Internet_Medio_Uno external Grupo_AD Internet_Medio_Uno
acl Grupo_AD_Internet_Medio_Dos external Grupo_AD Internet_Medio_Dos
acl Grupo_AD_Internet_Bajo external Grupo_AD Internet_Bajo
acl Grupo_AD_Sin_Internet external Grupo_AD Sin_Internet


acl manager proto cache_object
acl purge method PURGE

acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 444		# https
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 phishing url_regex "/etc/squid3/denegacion/phishing"

acl todo_usuarios url_regex "/etc/squid3/denegacion/todo_usuarios"

acl horario_laboral time MTWHF 8:00-15:00

acl permitidas url_regex "/etc/squid3/denegacion/permitidas"

acl lista_blanca url_regex "/etc/squid3/denegacion/lista_blanca"

#
## ACCESO AL CACHE MANAGER
#

http_access allow manager localhost
http_access deny manager

http_access allow purge localhost
http_access deny purge

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports


http_access deny phishing !todo_usuarios

http_access allow Grupo_AD_Internet_Alto

http_access deny todo_usuarios horario_laboral

http_access deny Grupo_AD_Internet_Medio_Dos permitidas horario_laboral

http_access deny horario_laboral !Grupo_AD_Internet_Alto
!Grupo_AD_Internet_Medio_Uno !Grupo_AD_Internet_Medio_Dos
!lista_blanca

http_access allow Grupo_AD_Internet_Medio_Uno

http_access allow Grupo_AD_Internet_Medio_Dos

http_access allow Grupo_AD_Internet_Bajo


http_access allow localhost


http_access deny all


icp_access allow all


http_port 3128


hierarchy_stoplist cgi-bin ?



cache_dir ufs /var/spool/squid3 10240 16 256

cache_effective_user proxy

cache_mem 512 MB

memory_replacement_policy lru

cache_replacement_policy lru

max_open_disk_fds 0

minimum_object_size 4 KB

maximum_object_size 4096 KB

cache_swap_low 90
cache_swap_high 95


logformat squid %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st %Ss:%Sh


access_log /var/log/squid3/access.log squid
cache_log /var/log/squid3/cache.log


# Suggested default:
refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .		0	20%	4320


visible_hostname adriano1



# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid3

query_icmp on
icp_port 3130


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

  Powered by Linux