Authentication in squid proxy server

Asked By 7060 points N/A Posted on -
qa-featured

How to authenticate Active Directory users in squid proxy i have compiled squid from source code.. and i want to block streaming too in proxy.

 

SHARE
Best Answer by Lee Seen
Best Answer
Best Answer
Answered By 0 points N/A #82150

Authentication in squid proxy server

qa-featured

The first thing that you will need to do when authenticating active directory users in squid proxy application will be to is to configure Squid so as it will be able to authenticate the  usernames and passwords with the Active Directory. You will also need to open your Squid configuration file which is labeled squid.conf,  and then make some changes as follows:

You will need to find the auth paramsection of the config file which is called TAG: auth_param, and then you will change the auth param basic programline and make it look as follows:

    auth_param basic program /usr/lib/squid/ldap_auth -R

        -b "dc=vm-domain,dc=papercut,dc=com"

        -D "cn=Administrator,cn=Users,dc=your,dc=domain,dc=com"

        -w "password" -f sAMAccountName=%s -h 192.168.1.75

    auth_param basic children 5

    auth_param basic realm Your Organisation Name

    auth_param basic credentialsttl 5 minutes

What those settings will do is to tell Squid to authenticate the usernames and passwords in the Active Directory.

-Lee Seen

 

Login/Register to Answer

Related Questions