Squid ACLs

  • Compile ldap_auth.c from http://www.uia.ua.ac.be/u/dbruyne/squid-ldap/
  • Add the following to squid.conf:
    
    authenticate_program /usr/local/squid/bin/ldap_auth
    authenticate_options ldap.yourdomain.com 389 dc=yourdomain,dc=com uid
    authenticate_children 2
    
    acl ldapauth proxy_auth REQUIRED
    #acl ldapauth proxy_auth bmarshal dwood pag
    
  • Restart squid