Here is the /etc/squid/squid.conf
I changed my domain and server name in the auth_param setting.
# <EBOX> TAG_HTTPORT #
http_port 3128
# END_TAG #
visible_hostname localhost
dns_nameservers 8.8.8.8 8.8.4.4
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
# refresh patterns
# windows updates
refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://.*\.update\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern
http://download\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern
http://windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://.*\.download\.windowsupdate\.com/ 0 80% 20160 reload-into-ims
refresh_pattern
http://office\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern
http://w?xpsp[0-9]\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern
http://w2ksp[0-9]\.microsoft\.com/ 0 80% 20160 reload-into-ims
# linux updates
refresh_pattern http://.*\.archive\.ubuntu\.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://(ftp|http)[0-9]*\.[a-z]+\.debian\.org/ 0 80% 20160 reload-into-ims
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
# end refresh patterns
coredump_dir /var/spool/squid
cache_effective_user proxy
cache_effective_group proxy
cache_mem 128 MB
maximum_object_size 300 MB
access_log /var/log/squid/access.log squid
pid_filename /var/run/squid.pid
cache_dir ufs /var/spool/squid 500 16 256
# <EBOX> TAG_ACL #
#auth_param basic realm Zentyal HTTP proxy
#auth_param basic program /usr/lib/squid/ldap_auth -v 3 -b ou=Users,dc=rvw,dc=com -u uid -h ldap://127.0.0.1:389
auth_param ntlm program /usr/lib/squid/ntlm_auth -b mydomain.local/myserver
auth_param ntlm children 25
acl authorized proxy_auth required
acl Sales proxy_auth
my users synced from ldapacl Information__Systems proxy_auth
my users synced from ldap # no cache domains acl
# END_TAG #
acl localhost src 127.0.0.0/8
acl localhostdst dst 127.0.0.0/8
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 # https, snews
acl SSL_ports port 873 # rsync
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
follow_x_forwarded_for allow localhost
log_uses_indirect_client off
http_access allow localhost
http_access deny manager
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_reply_access allow all
# <EBOX> TAG_DELAYPOOLS #
acl eboxlocalnets dst 10.20.20.0/22
# END_TAG
# <EBOX> TAG_HTTP_ACCESS #
http_access allow authorized all
http_access allow Information__Systems
http_access allow Sales
# default policy section
http_access allow authorized all
http_access allow all
# END_TAG #
# <EBOX> TAG SNMP #
# END_TAG #
always_direct allow localhostdst