I'm using squid latest 2.4 stable tarball. Naturally, for total ADS integration I'm using samba 3.
I've three questions: 1) to have a wbinfo_group.pl working I must use the script posted here: http://itmanagers.net/postt10.html and not the squid bringed one. 2) I've noticed that I must use ntlm_auth helper to make possible wbinfo_group to authenticate. It's strange... wbinfo_group is a basic auth, ntlm_auth is NTLM one. If I don't declare and, of course, start ntlm_auth, I always receive TCP_DENIED with NONE/- in the log in the user compound. If I start ntlm_auth and wbinfo_group I can see DOMAIN\USer in log, and the browser (IE) navigate. Naturally I've tested that is wbinfo_group.pl that authenticates the user. ACL are declared for him, not for ntlm_auth. how is possible this ? 3) Naturally I use wbinfo_group to authenticate groups of users instead of single users. I've noticed that when I change the domain group membership the helper continues to authenticate the user! Example, User-1 belong to "InterneUser" group. All works. I DELETE the user membership in the group, and I can see wbinfo_group send OK to squid yet. Naturally, is a winbindd problem... not an helper one... how to solve this ? Henrik if I'm not a visionary you've told to restart winbindd once a while ? I paste in calce salient parts of my squid.conf Thanks in advance, Federico squid.conf: #Recommended minimum configuration: #auth_param digest program <uncomment and complete this line> #auth_param digest children 5 #auth_param digest realm Squid proxy-caching web server #auth_param digest nonce_garbage_interval 5 minutes #auth_param digest nonce_max_duration 30 minutes #auth_param digest nonce_max_count 50 auth_param ntlm program /usr/squid/libexec/ntlm_auth -b DOMAIN/MASTER auth_param ntlm children 5 auth_param ntlm max_challenge_reuses 0 auth_param ntlm max_challenge_lifetime 2 minutes auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours external_acl_type wbinfo_group_helper ttl=300 %LOGIN /usr/squid/libexec/wbinfo_group.pl acl UserGroup2 external wbinfo_group_helper NoInternet acl UserGroup1 external wbinfo_group_helper InternetFull acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 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 #Recommended minimum configuration: http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS http_access deny UserGroup2 http_access allow UserGroup1 http_access deny all