It bcoz you enable two authentication mechanism,
Ntlm as well basic.... disable one and it will not prompt two time :-)
-----Original Message-----
From: Benedikt Brandt [mailto:forum_at_b1online.de]
Sent: Saturday, March 27, 2010 5:21 PM
To: squid-users_at_squid-cache.org
Subject: [squid-users] Two Login Windows
Hello alltogether
I am running Squid 2.7 Stable on a Debian Lenny system. The Squidusers
authenticate against an ADS-Server and everything works fine, as long as
the user connects from a computer within the Domain. When using the
Proxy from a computer outside the Domain a Login Window appears, as it
is supposed to. However this Login Window doesn't work. It just says:
The proxy 192.168.3.101:3128 is requesting a username and password. The
site says: ""
After giving the correct login-information, this window just pops up
again and again and again. However after cancelling this window, a
second window appears saying:
The proxy 192.168.3.101:3128 is requesting a username and password. The
site says: "Squid proxy-caching web server"
Entering the login-information in this window works. The user isn`t
queried again and has access to the internet.
Why is this first useless login window showing up? Is there any way to
suppress it? Or have I misconfigured something?
My squid.conf is attached.
Thanks in advance.
Hopefully I am not violating some rules right now. Since this is my
first post on a mailinglist, I am simply missing the experience.
Benedikt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth_param ntlm program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 10
auth_param basic program /usr/bin/ntlm_auth
--helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
external_acl_type winbind_group_helper %LOGIN /usr/lib/squid/wbinfo_group.pl
acl lehrer external winbind_group_helper "/etc/squid/lehrer"
acl schuelerpriv external winbind_group_helper "/etc/squid/schuelerpriv"
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 agc proxy_auth "/var/lib/squidguard/db/BL/gruppen/agc"
acl AuthUsers proxy_auth REQUIRED
acl fails rep_mime_type ^.*mms.*
acl fails rep_mime_type ^.*ms-hdr.*
acl fails rep_mime_type ^.*x-fcs.*
acl fails rep_mime_type ^.*x-ms-asf.*
acl fails2 urlpath_regex dvrplayer mediastream mms://
acl fails2 urlpath_regex \.asf$ \.afx$ \.flv$ \.swf$ \.exe$ \.gz$
acl deny_rep_mime_flashvideo rep_mime_type -i video/flv
acl deny_rep_mime_shockwave rep_mime_type -i ^application/x-shockwave-flash$
acl x-type req_mime_type -i ^application/octet-stream$
acl x-type req_mime_type -i application/octet-stream
acl x-type req_mime_type -i ^application/x-mplayer2$
acl x-type req_mime_type -i application/x-mplayer2
acl x-type req_mime_type -i ^application/x-oleobject$
acl x-type req_mime_type -i application/x-oleobject
acl x-type req_mime_type -i application/x-pncmd
acl x-type req_mime_type -i ^video/x-ms-asf$
acl x-type2 rep_mime_type -i ^application/octet-stream$
acl x-type2 rep_mime_type -i application/octet-stream
acl x-type2 rep_mime_type -i ^application/x-mplayer2$
acl x-type2 rep_mime_type -i application/x-mplayer2
acl x-type2 rep_mime_type -i ^application/x-oleobject$
acl x-type2 rep_mime_type -i application/x-oleobject
acl x-type2 rep_mime_type -i application/x-pncmd
acl x-type2 rep_mime_type -i ^video/x-ms-asf$
acl x-type2 rep_mime_type -i application/zip
acl x-type2 rep_mime_type -i ^application/zip$
acl x-type2 rep_mime_type -i application/x-rar-compressed
acl x-type2 rep_mime_type -i ^application/x-rar-compressed$
acl x-type2 rep_mime_type -i application/x-tar
acl x-type2 rep_mime_type -i ^application/x-tar$
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
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 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 fails lehrer
http_access allow fails schuelerpriv
http_access allow fails agc
http_access deny fails
http_access allow fails2 lehrer
http_access allow fails2 schuelerpriv
http_access allow fails2 agc
http_access deny fails2
http_access allow x-type lehrer
http_access allow x-type schuelerpriv
http_access allow x-type agc
http_access deny x-type
http_access allow x-type2 lehrer
http_access allow x-type2 schuelerpriv
http_access allow x-type2 agc
http_access deny x-type2
http_access allow manager localhost
http_access allow lehrer
http_access allow schuelerpriv
http_access allow agc
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow AuthUsers
http_access allow localnet
http_access deny all
http_reply_access allow deny_rep_mime_flashvideo lehrer
http_reply_access allow deny_rep_mime_flashvideo schuelerpriv
http_reply_access allow deny_rep_mime_flashvideo agc
http_reply_access deny deny_rep_mime_flashvideo
http_reply_access allow deny_rep_mime_shockwave lehrer
http_reply_access allow deny_rep_mime_shockwave schuelerpriv
http_reply_access allow deny_rep_mime_shockwave agc
http_reply_access deny deny_rep_mime_shockwave
http_reply_access allow fails lehrer
http_reply_access allow fails schuelerpriv
http_reply_access allow fails agc
http_reply_access deny fails
http_reply_access allow fails2 lehrer
http_reply_access allow fails2 schuelerpriv
http_reply_access allow fails2 agc
http_reply_access deny fails2
http_reply_access allow x-type lehrer
http_reply_access allow x-type schuelerpriv
http_reply_access allow x-type agc
http_reply_access deny x-type
http_reply_access allow x-type2 lehrer
http_reply_access allow x-type2 schuelerpriv
http_reply_access allow x-type2 agc
http_reply_access deny x-type2
icp_access allow localnet
icp_access deny all
http_port 3128
proxy-only default no-query
hierarchy_stoplist cgi-bin ?
cache_mem 16 MB
error_directory /usr/share/squid/errors/German
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
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
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
coredump_dir /var/cache/squid
Received on Sat Mar 27 2010 - 13:56:45 MDT
This archive was generated by hypermail 2.2.0 : Sat Mar 27 2010 - 12:00:05 MDT