<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I think the error is not with squid version, it might be the
connection problem between proxy server and LDAP server. Please,
check the reachability of LDAP server from the proxy server and also
Just check the DNS configuration whether you have correctly
configured it in proxy server. <br>
<br>
First, You can try the test connection to the LDAP sever from the
terminal, if it succeed then you can modify the squid configuration.
I have given a sample one, modify the domain and credentials
according to your one and try.<br>
<br>
[root@test ~] # /usr/lib64/squid/squid_ldap_auth -R -b
"dc=test,dc=com" -D "CN=admin,DC=test,DC=com" -w "password" -f
sAMAccountName=%s -h 192.168.195.195<br>
username password<br>
OK<br>
<br>
If you get the output "OK", then you have successfully tested the
connection with the LDAP server. If you cannot establish the
connection with LDAP server, then you will get the same error.<br>
<br>
[root@test ~] # /usr/lib64/squid/squid_ldap_auth -R -b
"dc=test,dc=com" -D "CN=admin,DC=test,DC=com" -w "password" -f
sAMAccountName=%s -h 192.168.195.195<br>
username password<br>
squid_ldap_auth: WARNING, could not bind to binddn 'Can't
contact LDAP server'<br>
<br>
Regards,<br>
ViSolve Squid<br>
<br>
<div class="moz-cite-prefix">On 10/24/2014 06:11 AM, Julie Xu wrote:<br>
</div>
<blockquote
cite="mid:ABCD499AC5326B4F828DBB3933CFE87E71087FBD@HIRT.AD.UWS.EDU.AU"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have squid installed and trying to
contact Ldap. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Below command is working for older squid,
but not new one and both server are Redhat 6.5 (Santiago)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">auth_param basic program
/usr/lib64/squid/squid_ldap_auth -b
ou=xx,dc=xx,dc=xx,dc=xx,dc=xx -f (&(cn=%s)(objectClass=*))
-u cn -s sub -P -c 5 -t 5 -R -a never -D
cn=Lookup,ou=xx,dc=xx,dc=xx,dc=xx,dc=xx -w xxxxx mydomain<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">error message is:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">squid_ldap_auth: WARNING, could not bind to
binddn 'Can't contact LDAP server'<o:p></o:p></p>
<p class="MsoNormal">squid_ldap_auth: WARNING, could not bind to
binddn 'Can't contact LDAP server'<o:p></o:p></p>
<p class="MsoNormal">squid_ldap_auth: WARNING, could not bind to
binddn 'Can't contact LDAP server'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">to stop type isse, I have scp the
squid.conf from older one to new one? And restart the squid;
and also tried to copy firewall configuration over to new box,
in case some firewall issue. It is still not help.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Could any one advice me what is the
possible issue related?
<o:p></o:p></p>
<p class="MsoNormal">
<o:p></o:p></p>
<p class="MsoNormal">Any comments will be appreciated<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Julie<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
squid-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
</blockquote>
<br>
</body>
</html>