16 June 2010

Squid Proxy Server Authentication Using ZIMBRA LDAP

If you are using the Zimbra Collaboration Suite and Zimbra LDAP server is already running well, you can use that LDAP server to perform authentication against the use of the Squid Proxy Server.
To authenticate Squid Proxy Server through Zimbra LDAP, we need to edit the file /etc/squid/squid.conf as follows:

auth_param basic program / usr / lib / squid / ldap_auth-v 3-b dc = domain, dc = com-f "(& (uid =% s) (objectClass = zimbraAccount))"-h zimbra.domain.com

REQUIRED acl proxy_auth ldapauth

acl all src

http_access allow ldapauth

http_access deny all

http_port 3128

The above configuration is very minimal configuration of the Squid Proxy Server. zimbra.domain.com is the LDAP server, domain.com is the domain used in Zimbra email server.

For example : a Zimbra user andi@domain.com wants to connect to the internet  through Squid Proxy Server, andi can use the same name and password like when andi get into Zimbra.

Linux Distro: Ubuntu Server 8.04 
Zimbra: Zimbra Collaboration Suite 5.0.16 Open Source Edition

No comments: