squid.conf.patch
modif/squid.conf 2012-05-21 17:33:04.792963556 +0200 | ||
---|---|---|
424 | 424 |
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic |
425 | 425 |
%end if |
426 | 426 | |
427 |
%if %%type_squid_auth == 'local' |
|
428 |
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid/users |
|
429 |
%end if |
|
430 | ||
431 | ||
427 | 432 |
auth_param basic children %%number_of_basic_children |
428 | 433 |
%if %%type_squid_auth == 'NTLM/KERBEROS' |
429 | 434 |
auth_param basic realm %%upper(%%nom_domaine_krb) |
... | ... | |
812 | 817 |
%if %%activer_squid_auth == 'oui' and (%%nom_domaine_smb != '' or %%ip_serveur_ldap1 != '' or %%nom_domaine_krb != '' or %%ip_serveur_ldapad != '') |
813 | 818 |
acl password proxy_auth REQUIRED |
814 | 819 |
%end if |
820 |
%if %%activer_squid_auth == 'oui' and %%type_squid_auth == 'local' |
|
821 |
acl password proxy_auth REQUIRED |
|
822 |
%end if |
|
823 | ||
815 | 824 |
#Evite les warnings de l'ipv6 |
816 | 825 |
#acl all src all |
817 | 826 |
acl manager proto cache_object |
... | ... | |
1231 | 1240 |
%if %%activer_squid_auth == 'oui' and (%%nom_domaine_smb != '' or %%ip_serveur_ldap1 != '' or %%nom_domaine_krb != '' or %%ip_serveur_ldapad != '') |
1232 | 1241 |
http_access allow password |
1233 | 1242 |
%end if |
1243 |
%if %%activer_squid_auth == 'oui' and %%type_squid_auth == 'local' |
|
1244 |
http_access allow password |
|
1245 |
%end if |
|
1234 | 1246 | |
1235 | 1247 | |
1236 | 1248 |
# And finally deny all other access to this proxy |