Article

cyberv's picture
article
Reads:

6617

Score:
0
0
 
Comments:

1

Configuration and Authentication for Proxy Squid

(View Disclaimer)

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}

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

tdebeer's picture

cool

Submitted by tdebeer on 4 May 2011 - 2:56am.

hi,

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

© 2013 Novell