Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have to configure squid authentication + dansguardian web filtering on ubuntu server. Can anyone please tell me how to do it.

I can configure squid transparent mode & dansguardian. But I do not know how to configure squid authentication and making users to get authenticated to browse.

The authentication is to be done with microsoft windows active directory. Can anyone please help me.

share|improve this question

2 Answers

This depends on what you're authenticating against. For example, I once got squid to authenticate against a Mac OS X Open Directory server (effectively LDAP).

A few tips to get you started:

  • Transparent proxying and authenticated proxying are mutually exclusive. You can have either one, but not both.
  • Look for squid.conf on your Ubuntu server. That is what you'll have to edit in order to make the authentication lookups against your LDAP (or NTLM or ...) server.
  • Figure out how to get your proxy's IP (or FQDN) and port into your workstations. If there are very few, you can manually configure them. Windows and Mac OS X can be configured with Group Policies and Workgroup Manager (a.k.a. MCX).
  • Once Squid has authentication, it will pass that through DansGuardian. No additional configuration in DansGuardian should be necessary.
  • Check this web page for lots of details: http://wiki.squid-cache.org/Features/Authentication

Hope that helps!

share|improve this answer
+1 for "transparent proxying and authenticated proxying are mutually exclusive". – Massimo Jul 11 '11 at 6:09
up vote 0 down vote accepted

I integrated squid with Active Directory using this link : http://www.papercut.com/kb/Main/ConfiguringSquidProxyToAuthenticateWithActiveDirectory

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.