[squid-users] Help! setting up squid to authenticate through accounts passwords

From: Fred Kamwaza <fred@dont-contact.us>
Date: Thu, 24 May 2001 13:07:19 +0200 (CAT)

I need help how to setup squid to authenticate using ncsa or pam.

I am new to squid. I am using Redhat 6.2 and squid 2.3. I would like to
limit access through squid-cache by authenticating the users through
there account password already on the local server (on the same machine).

I tried the instructions for ncsa_auth, that is, to 'make' in
auth_modules/NCSA but I am having the following error

> gcc -g ncsa_auth.o -o ncsa_auth -L../../lib -lmiscutil -lcrypt -lm
> -lresolv -lbsd -lnsl
> /usr/bin/ld: Cannot find -lmiscutil
> Collect2: ld returned 1 Exit Status
> Make: *** [ncsa_auth] Error 1

I have also tried to add the following lines to my squid.conf:
-------------------------------------
authenticate_program pam_auth shadow
authenticate_children 10
authenticate_ttl 3600
authenticate_ip_ttl 0
acl password proxy_auth REQUIRED
acl user1 src 10.30.0.5/255.255.255.255
http:_access allow user1 password
--------------------------------------
This doesn't work. Where am I going wrong??

-- 
Fred Kamwaza
University of Malawi
The Polytechnic
P/B 303, Chichiri, Blantyre 3
-------------------------------------
Tel: (265) 670 411 (o); (265) 842 891 (m)
Fax: (265) 670 578
email: fred@sdnp.org.mw
URL: http://poly.sdnp.org.mw
Received on Thu May 24 2001 - 04:56:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:16 MST