Hi, this is my current set up. I have a SAMBA PDC and on the same machine running as a PDC I have squid installed. I would like to configure squid to use NTLM authentication against the Samba PDC.
The resources I've found on the Internet so far have been very confusing and I fail to understand how to set this up properly. From what I have gathered so far I need to compile smaba with Winbind and squid agains the samba sources:
Code:
Samba
#./configure --with-winbind --with-winbind-auth-challenge --with-automount --with-acl-support
Squid
# ./configure --enable-gnuregex --enable-useragent-log --enable-arp-acl --enable-ssl --with-openssl=/usr/local/ssl \
--enable-default-err-language=English --enable-err-languages=English --enable-linux-netfilter --enable-auth="basic ntlm" \
--enable-basic-auth-helpers="PAM SMB" --enable-ntlm-auth-helpers=SMB --enable-ntlm-fail-open \
--with-samba-sources=/usr/local/src/samba-3.0.7
The installation and compliation was successful and I edited my squid.conf file to contain the following lines:
Code:
auth_param ntlm program /usr/local/samba/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp --debugleve
l=0
auth_param ntlm children 5
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param ntlm use_ntlm_negotiate off
However, it just repeatedly asks me for my authentication details. I started winbindd, but as I am unsure as to how this all works, it makes it extremely diffcult trying to findthe problem. Can anyone offer me some insight here?