<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (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: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;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Man I just can't seem to make this work. I followed this guide:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">http://wiki.bitbinary.com/index.php/Active_Directory_Integrated_Squid_Proxy
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">and everything went well but as soon as I get to the squid_ldap_group test I get nothing back, or the second time I hit enter it returns a "invalid entry" error.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/usr/lib/squid3/squid_ldap_group -R -K -S -b "dc=example,dc=local" -D squid@example.local -W /etc/squid3/ldappass.txt -f "(&(objectclass=person)(sAMAccountName=%v)(memberof=cn=%g,ou=Security Groups,ou=MyBusiness,dc=example,dc=local))" -h
 dc1.example.local EXAMPLE\Username Internet%20Users%20Standard<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can anyone tell me what to look for as far as testing? I have run this test with debug -d but that doesn't seem to return anything.<o:p></o:p></p>
<p class="MsoNormal">My understanding of the command above is it's taking the basedn and a user name that I have setup and created a password for and attempting to query the AD server that is listed after the -h option. The part of the line I don't understand
 is cn=%g. No idea what might be plugged in there as "g" is not initialized anywhere. Based on the options returned after squid_ldap_group I think I get what's going on and the last two entries on the line are the queried username against the security groups
 I created in AD and the user I have been testing is a member of the internet users group.<o:p></o:p></p>
<p class="MsoNormal">This seems pretty straight forward but I get nothing and so this query is basically the same in the squid.conf so if it doesn't work here it's obviously not going to work from a browser.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br />-- 
<br />This message has been scanned for viruses and dangerous content by <br />
<a href="http://www.efa-project.org"><b>E.F.A. Project</b></a>, and is believed to be clean.
</body>
</html>