[squid-users] Authentication of windows users & logging

From: Graham Nicholls <graham@dont-contact.us>
Date: Fri, 27 Feb 2004 10:01:09 +0000

Hello.

I'm trying to get squid to use ncsa_auth, in order to be able to have windows
clients be forced to enter a username and password. The docs aren't too
clear, (IMNSHO) so this is what I'm trying:

This is the output of squid -v:
Squid Cache: Version 2.3.STABLE4-hno.CVS

authenticate_program /usr/sbin/ncsa_auth /usr/etc/passwd

acl internal_users src 10.0.0.0/8
acl ten_four_users src 10.4.0.0/16
acl local src 127.0.0.0
acl passwd proxy_auth
http_access allow passwd

When I restart squid, I get this:

Shutting down WWW-proxy squid 2004/02/27 09:56:52| aclParseAclLine: IGNORING
invalid ACL: acl passwd proxy_auth
2004/02/27 09:56:52| squid.conf line 592: http_access allow passwd
2004/02/27 09:56:52| aclParseAccessLine: ACL name 'passwd' not found.
2004/02/27 09:56:52| squid.conf line 592: http_access allow passwd
2004/02/27 09:56:52| aclParseAccessLine: Access line contains no ACL's,
skipping
- wait a minute ................
done
Starting WWW-proxy squid
 -> 2004/02/27 09:57:27| aclParseAclLine: IGNORING invalid ACL: acl passwd
proxy_auth
2004/02/27 09:57:27| squid.conf line 592: http_access allow passwd
2004/02/27 09:57:27| aclParseAccessLine: ACL name 'passwd' not found.
2004/02/27 09:57:27| squid.conf line 592: http_access allow passwd
2004/02/27 09:57:27| aclParseAccessLine: Access line contains no ACL's,
skipping done
2004/02/27 09:57:27| Creating Swap Directories

How dim am I being and what should I be doing. Presumably logging will now be
done by username? Is there any way of copying passwords from /etc/shadow
(we're under Linux here)
Thanks!

-- 
Rock Computer Consultancy
Quite a lot of Unix experience 
rm -rf / .... oops
Received on Fri Feb 27 2004 - 03:01:26 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST