<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><br>
I have several squids authenticating users using ldap_auth and
it works fine. Users are located on the 'Users' OU and my config
lines are:<br>
<br>
<br>
(single line)<br>
auth_param basic program /usr/lib/squid/squid_ldap_auth -P -R -b
"dc=myad,dc=domain" -D "cn=ProxyUser,cn=Users,dc=myad,dc=domain"<br>
-w "xxxxxxxxx" -f sAMAccountName=%s -h ad.ip.addr.ess<br>
<br>
(single line)<br>
external_acl_type ldap_group children=3 ttl=300 %LOGIN
/usr/lib/squid/squid_ldap_group -P -R -b "dc=myad,dc=domain" -D
"cn=ProxyUser,<br>
cn=Users,dc=myad,dc=domain" -w "xxxxxxxxxxx" -f
"(&(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,cn=Users,<br>
dc=myad,dc=domain))" -h ad.ip.addr.ess<br>
<br>
<br>
On 15/12/14 21:03, Ahmed Allzaeem wrote:<br>
</div>
<blockquote cite="mid:000001d018bb$63509200$29f1b600$@netstream.ps"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
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";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
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 guys <o:p></o:p></p>
<p class="MsoNormal">Im trying to use squid with active
directory 2008 R2 as an external authentication<o:p></o:p></p>
<p class="MsoNormal">On DC called smart.ps<o:p></o:p></p>
<p class="MsoNormal">Create user squid and gave it delegation to
the dc and put it also in the group admins in the OU=proxy<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p><br>
</p>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
<a class="moz-txt-link-freetext" href="http://www.solutti.com.br">http://www.solutti.com.br</a>
Minha armadilha de SPAM, NÃO mandem email
<a class="moz-txt-link-abbreviated" href="mailto:gertrudes@solutti.com.br">gertrudes@solutti.com.br</a>
My SPAMTRAP, do not email it
</pre>
</body>
</html>