Been beating my head against this from multiple directions, any suggestions appreciated.
Working on using a custom basic authenticator, but continually get permission errors in the log file. I've confirmed (and reset) the path and file permissions multiple times, and confirmed that as the squid user I can execute the helper fine and see a result.
Just now to try to narrow the issue, I've switched to the supplied basic_ncsa_auth helper:
---
auth_param basic program /usr/lib64/squid/basic_ncsa_auth /tmp/htpasswd
auth_param basic children 5 startup=5 idle=1
auth_param basic realm AdOps Proxy
auth_param basic credentialsttl 1 hours
---
Testing:
---
# su squid -c "/usr/lib64/squid/basic_ncsa_auth /tmp/htpasswd"
jeff blah
OK
---
Log file:
---
FATAL: /tmp/htpasswd: (13) Permission denied
2016/11/14 22:58:57 kid1| WARNING: basicauthenticator #1 exited
2016/11/14 22:58:57 kid1| Too few basicauthenticator processes are running (need 1/5)
---
But:
----
# ls -l /tmp/htpasswd
-rw-rw-rw-. 1 root root 43 Nov 14 22:55 /tmp/htpasswd
---
?! Thanks :)
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users