Re: Squid Proxy Authentication

From: Peter K <pko@dont-contact.us>
Date: Fri, 28 Jan 2000 11:07:21 +0200 (UTC)

On Fri, 28 Jan 2000, Thomas Wahyudi wrote:

> have you look into your squid source ?
> look for dir name auth_modules
>
> > Hello All,
> >
> > i want to use the ncsa authentication program, but I can't find it in my
> > squid directory.
> > So please tell me on witch Internet Side I can find and download it.

FAQ 19.6

1. In ~/squid-2.2.STABLE5
     cd auth_modules/NCSA
     make ncsa_auth
2. copy resulting exec to {SQUID_HOME}/bin
3. get e.g. htpasswd from Apache (it's also supposed to be on
   squid.nlanr.net, but I didn't browse enough to locate it)
     alternatively
   get apache_x.y.z.tar.gz (I have apache 1.3.9) and tar-gunzip
   cd apache_x.y.z
   ./configure <-- ....>
   cd ./src/ap
   make (this creates libap.a)
   cd ../os/<your_os>
   make (this creates libos.a)
   cd ../../support
   make htpasswd
   cp htpasswd {SQUID_HOME}/bin
   cp htpasswd.1 {YOUR_MAN_DIR_TOP}/man1
4. man htpasswd
5. generate {SQUID_HOME)/etc/passwd file
     first time
       htpasswd -c {SQUID_HOME}/etc/passwd <user> <passwd>
     subsequent
       htpasswd {SQUID_HOME}/etc/passwd <user> <passwd>
6. modify {SQUID_HOME}/squid.conf
7. {SQUID_HOME}/bin/squid -k parse
8. if no errors, {SQUID_HOME}/bin/squid -k reconfigure

gets you what you are looking for. YMMV.

I can supply you with Solaris 2.6 binaries as well as Linux
(libc6/glibc2 2.1.2, 2.3.39-and-greater kernel)

BTW, my cachemgr.cgi doesn't let me in regardless. Anyone can guide me
through that, perhaps ?

'Nother BTW, wouldn't it be nice if the html'ified FAQ be made available
as a .gz distribution ? Pulling down 23 pages took me some time. If
anyone is interested I'll send it as an attachement (the .tgz file is
~140 Kb !)

Peter Kooiman | Voice : +27-12-547-2846
                                        | Cell : +27-82-321-3339
Box 81214, DOORNPOORT, 0017, RSA | e-mail : pko@paradigm-sa.com
Received on Fri Jan 28 2000 - 02:39:37 MST

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