Advertisement
EugeneBB

squid3.conf

Oct 28th, 2015
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. auth_param negotiate program /usr/lib/squid3/negotiate_kerberos_auth -s HTTP/helpdesk.set.rm.ru@SET.RM.RU
  2. auth_param negotiate children 10
  3. auth_param negotiate keep_alive on
  4.  
  5. auth_param basic program /usr/lib/squid3/basic_ldap_auth -v 3 -P -R -b "dc=set,dc=rm,dc=ru" -D bv@set.rm.ru -W /etc/squid3/conf_param_ldappass.txt -f samaccountname=%s -h set.rm.ru
  6. auth_param basic children 20
  7. auth_param basic realm "HELPDESK SQUID Proxy Server Basic authentification!"
  8. auth_param basic credentialsttl 2 hours
  9.  
  10. acl auth proxy_auth REQUIRED
  11. http_port 172.16.0.5:3128
  12. external_acl_type nt_group %LOGIN /usr/lib/squid3/ext_kerberos_ldap_group_acl -a -g Internet_Medium -D SET.RM.RU
  13.  
  14. acl Medium external nt_group
  15.  
  16. http_access allow Medium
  17. http_access allow auth
  18. http_access deny all
  19. access_log /var/log/squid3/access.log squid
  20. logfile_rotate 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement