<div dir="ltr">I have changed my authentication block as below, but is not working.<br><br>The proxy user is a Read Only Domain Controller member. The password is correct.<br><br>Samba4, krb5-user and winbindd are installed and work perfectly. Do I need install any other package?<br><br>How can I test in command line?<br><br>Have anything wrong in my authentication block ?<br><div><div><div> <br>auth_param basic program /usr/lib/squid3/basic_ldap_auth -b cn=users,dc=empresa,dc=com,dc=br -D cn=proxy,cn=users,dc=empresa,dc=com,dc=br -w test_12345 -h 192.168.0.25 -p 389 -s sub -v 3 -f "sAMAccountName=%s"<br>auth_param basic children 50<br>auth_param basic realm Proxy Server Squid<br>auth_param basic credentialsttl 2 hours<br>auth_param basic casesensitive off<br><br>With the command "ldbsearch -H /opt/samba/private/sam.ldb '(objectclass=user)' uidNumber gidNumber ", my result is:<br># record 881<br>dn: CN=proxy,CN=Users,DC=empresa,DC=com,DC=br<br>uidNumber: 10558<br>gidNumber: 30037<br><br></div><div>Regards,<br><br></div><div>Márcio<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-07 22:10 GMT-02:00 Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 8/12/2015 7:47 a.m., Marcio Demetrio Bacci wrote:<br>
> My LDAP Authentication do not work in Squid. I have already saw many<br>
> tutorials, but nothing solve this problem.<br>
</span>> I have installed Squid 3.4 on Debian 8. My DC is a* Samba 4.2.*<br>
<span class="">> In /var/log/squid3/cache.log appear the message:<br>
</span>> *squid_ldap_auth: WARNING, could not bind to binddn 'Invalid credentials'*<br>
><br>
<br>
That is your Squid helper being unable to access the LDAP server at<br>
192.168.0.25. The credentials you have configured it to use to access<br>
the LDAP (-D -w) are not working.<br>
<br>
<br>
Also, squid_ldap_auth is not part of the Squid-3.4 package on Debian.<br>
That might be part of the problem. Squid-3.4 provides basic_ldap_auth.<br>
<br>
Amos<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div><br></div>