Hello,
I have set up squid, samba, got the winbind to work great
Wbinfo -t, -u, -g all work great
Squid also worked great until I tried to tie in NTLM_Auth
If I authenticate using /usr/bin/ntlm_auth --username=administrator
It authenticates perfectly.
I have this in my squid.conf
auth_param ntl
>
> Hello,
>
> I use Samba-3.0.8pre1 in a ADS Domain and Squid 2.5Stable7 for NTLM
> Authentication.
> With the following parameters, it works fine.
>
> auth_param ntlm children 13
> auth_param ntlm max_challenge_reuses 0
> auth_param ntlm max_challenge_lifetime 20 minutes
> auth_param ntlm p
>...
>...
>
> ---[squid.conf begin]
> cache_effective_user=squid
> cache_effective_user=squid
> cache_dir ufs /squid.cache 500 16 256
> ---[squid.conf end]--
>
>...
>...
1) Why do you put the same directive twice in squid
You are getting problem because of using -m option ( Force MD5 encryption of
the password.).
NCSA authentication will return ERR to correct username and passwd.
Test:
-
# htpasswd -mc /tmp/passwd test
New passwd: test
Retrype passwd: test
# libexec/ncsa_auth /tmp/passwd
test test
ERR
test
hai all,
i am trying to setup authentication for proxy server (squid) need to access
net using username and password
now i did the following change in /etc/squid/squid.conf
http_port 3128
auth_param basic program /usr/lib/squid/ncsa_auth /usr/etc/passwd
acl password proxy_auth REQUIRED
acl focuz