Technical Tip

Configuration and Authentication for Proxy Squid

tip
Reads:

466

Score:
0
0
 
Comments:

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}




User Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <cite> <code> <img> <ul> <ol> <li> <div> <dl> <dt> <dd> <b> <strong> <h1> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
7 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2008 Novell, Inc. All Rights Reserved.