Hi All, I'm having problems getting ntlm authentication to work with squid 2.5 (stable 1). It's running on a RH9 with samba 3.0. I have winbind working fine with samba but for some reason I just can't seem to get squid to auth with our win2K domain.
I keep getting 403 access denied messages. Is there a winbind/ntlm auth configuration guide somewhere ? I've included my squid.conf for review in case I'm suffering from domestic blindness :-) # squid conf file # ------------------------------- # Network options # ------------------------------- http_port 3128 icp_port 4141 acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY # ------------------------------- # Cache Neighbour options # ------------------------------- cache_peer upstream.foo.com parent 80 0 no-query no-digest default # ------------------------------- # Cache size options # ------------------------------- maximum_object_size 4096 KB minimum_object_size 0 KB maximum_object_size_in_memory 512 KB # ------------------------------- # Cache dir & logging options # ------------------------------- cache_dir aufs /var/spool/squid 8192 16 256 pid_filename /var/run/squid.pid debug_options all, 5 error_directory /usr/share/squid/errors/English icon_directory /usr/share/squid/icons cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log /var/log/squid/store.log mime_table /etc/squid/mime.conf #-------------------------------- # NTLM OPTIONS #authenticate_program_ntlm #authenticate_children_ntlm 5 auth_param ntlm program /usr/bin/ntlm_auth auth_param ntlm children 10 auth_param ntlm max_challenge_reuses 0 auth_param ntlm max_challenge_lifetime 2 minutes # ------------------------------- # options for external support programs # ------------------------------- ftp_user [EMAIL PROTECTED] ftp_list_width 64 ftp_passive on # ------------------------------- # Cache tuning options # ------------------------------- # REM - MRV - all these numbers are done on the basis of a T1 line having # 25 users on it, giving a viable request bandwidth of 5.5kb/sec quick_abort_min 22 Kb quick_abort_max 100 Kb quick_abort_pct 75 # ------------------------------- # Cache admin options # ------------------------------- cache_effective_user squid cache_effective_group squid visible_hostname kiftest1 # ------------------------------- # Cache misc options # ------------------------------- #append_domain .domainname #chroot enable #pipeline_prefetch on # ------------------------------- # Cache ACL options # ------------------------------- acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.0.0.0 acl AuthorizedUsers proxy_auth REQUIRED acl local-domains dstdomain *.foo.com 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 never_direct deny local-domains never_direct allow all http_access allow manager localhost #http_access allow all http_access allow AuthorizedUsers http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny all icp_access allow all # ------------------------------- [eof] --- Rgds, Chris MacKenzie ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. **********************************************************************