February 20, 2009

Squid with Ldap authentication - Centos

Here is a small easy way to set a simple web proxy to authenticate against an ldap server. Squid Install - (using the rpmforge repository) do a ‘yum install squid’ Locate squid_ldap_auth - locate squid_ldap_auth ==> /usr/lib64/squid/squid_ldap_auth Test connection against your ldap server - /usr/lib64/squid/squid_ldap_auth -b “dc=alouche,dc=net” -f “uid=%s” -h auth.alouche.net myUser myPassword OK The OK prompt back shows us that we can easily connect to the ldap server ... Read more