OS CentOS 6.4 - squid 3.1
I currently have squid running as a reverse proxy, performing NTML authentication succesfully. This is working as expected. If I enter valid AD username and password, it lets me in. If I don't, I get a 401.
What I'm struggling to work out is how to I pass over the authentication user details. I would expect my webserver sat behind the squid proxy to receive a header with something like REMOTE_USER set as 'domain\username' but this isn't the case.
Google searches are not returning anything useful. It's all to do with doing the authentication in the first place, but I have this running OK.
Here's what I currently have in my squid.conf file
## NTLM setup
http_port 3128 accel defaultsite=####
cache_peer 127.0.0.1 parent 80 0 no-query originserver
access_log /var/log/squid/access.log squid
hosts_file /etc/hosts
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 5
auth_param ntlm keep_alive on
acl ntlm proxy_auth REQUIRED
http_access allow ntlm
http_access deny all