Re: [squid-users] Re: Configuring Squid LDAP Authentication

From: berry guru <berryguru_at_gmail.com>
Date: Wed, 11 Jan 2012 17:32:42 -0800

That is an awesome command to know! I definitely need to remember
that command. Here is my cleaned up configuration -

auth_param basic program /usr/lib/squid/ldap_auth -R -b
"dc=cyberdyne,dc=local" -D
"cn=Administrator,cn=users,dc=cyberdyne,dc=local" -w "passwordhere" -f
sAMAccountName=%s -h 192.168.100.237
auth_param basic children 5
auth_param basic realm CYBERDYNE.LOCAL
auth_param basic credentialsttl 5 minutes
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 0.0.0.0/32
acl purge method PURGE
acl CONNECT method CONNECT
acl intranet dstdomain cyberdyne-intranet
acl lan-intranet dst 192.168.100.222
http_access allow intranet
acl block_websites dstdomain .facebook.com .myspace.com .twitter.com .hulu.com
http_access deny block_websites
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 allow localnet
http_access allow localhost
http_access allow all
icp_access allow localnet
icp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
 debug_options ALL,0,1,34,78
  TAG: log_fqdn on
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
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
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
visible_hostname Squid
dns_defnames on
  TAG: dns_nameservers
hosts_file /etc/hosts
coredump_dir /var/spool/squid

On Wed, Jan 11, 2012 at 5:25 PM, James Robertson <j_at_mesrobertson.com> wrote:
>> My configuration shown below -
>
> To make it easier to view, can you please run this command to remove
> the spaces and comments.
>
> grep -v -e '^$' -e '#' �/etc/squid/squid.conf
Received on Thu Jan 12 2012 - 01:32:48 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 12 2012 - 12:00:02 MST