Hi Guys
I have recently set up a Squid 3 on Squeeze and am trying to get some basic authentication for it up and running.
I've followed just about every tut on how to do this for Pam auth, but it doesn't seem to be working...
There are no errors or anything that I can see, just that no auth prompt shows up in the browser when testing.
My squid.conf
Code:
auth_param basic program /usr/lib/squid3/basic_pam_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
My /etc/pam.d/squid
Code:
auth required /lib/security/pam_unix.so
account required /lib/security/pam_unix.so
Log : /var/log/squid3/cache.log
Code:
2013/05/03 09:33:16 kid1| Starting Squid Cache version 3.2.0.16 for x86_64-pc-linux-gnu...
2013/05/03 09:33:16 kid1| Process ID 10091
2013/05/03 09:33:16 kid1| Process Roles: worker
2013/05/03 09:33:16 kid1| With 65535 file descriptors available
2013/05/03 09:33:16 kid1| Initializing IP Cache...
2013/05/03 09:33:16 kid1| DNS Socket created at 0.0.0.0, FD 7
2013/05/03 09:33:16 kid1| Adding nameserver 196.41.128.253 from /etc/resolv.conf
2013/05/03 09:33:16 kid1| Adding nameserver 196.41.128.252 from /etc/resolv.conf
2013/05/03 09:33:16 kid1| helperOpenServers: Starting 0/5 'basic_pam_auth' processes
2013/05/03 09:33:16 kid1| helperOpenServers: No 'basic_pam_auth' processes needed.
2013/05/03 09:33:16 kid1| Logfile: opening log daemon:/var/log/squid3/access.log
2013/05/03 09:33:16 kid1| Logfile Daemon: opening log /var/log/squid3/access.log
2013/05/03 09:33:16 kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
*Just a note, my system didnt have 'pam_auth' but rather 'basic_pam_auth' could this be the difference?
The permission on 'basic_pam_auth' are...
-rwsr-xr-x 1 root root 14648 Apr 3 2012 basic_pam_auth
So everything "seems ok", but for the life of me, it just plain doesn't work.
Have I missed something at all here?