Configuration and Authentication for Proxy Squid



By: cyberv

August 30, 2006 12:00 am

Reads: 856

Comments:2

Rating:0

I’m sending you this little trick to configure Proxy Squid on OES Linux and get authentication for the Proxy by NDS.

This tip will help configure a Web Proxy with SQUID, using LDAP Authentication on your OES Linux system.

Installation

1) Go to YAST.

2) Select Install and Remove Software.

3) for and select “Squid”.

Configuration

1) Modify the /etc/squid/squid.conf file.

2) Add the following lines:

### UNDER AUTH SECTION ###

auth_param basic program /usr/sbin/squid_ldap_auth -b "ou=users,
o=bigorg" -u cn -f "cn=%s" -D "cn=admin,o=bigorg" -w adminpassword 
-h xxx.xxx.xxx.xxx -p 389

auth_param basic children 5

auth_param basic realm Adaris Technologies Proxy Authentication

auth_param basic credentialsttl 1 hour

### UNDER ACL SECTION ###

acl password proxy_auth REQUIRED

### UNDER HTTP ACCESS SECTION ###

http_access allow password

SQUID Command

Run this command:

/etc/init.d/squid {stop/start/restart/status}
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: , ,
Categories: eDirectory, Technical Solutions

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

2 Comments

  1. By:tdebeer

    hi,

    worked 100%, now just to get the ldap to check for user groupmembership and deny if not added to a certain group…

  2. By:jeroen_ruijter

    I have done a new installation with OpenSuse 13.1 including Squid 3.3.
    But I cant find squid_ldap_auth and squid_ldap_group.

    Which package contains these so I can install them.

    Regards Jeroen

Comment