[squid-users] Error: squid_ldap_group: No such file or directory

Amos Jeffries squid3 at treenet.co.nz
Thu Oct 29 21:56:13 UTC 2015


On 30/10/2015 10:19 a.m., dolson wrote:
> Greetings,
> 
> I am working on setting up Squid 3 to authenticate from Active
> directory by using the instructions found
> http://wiki.squid-cache.org/ConfigExamples/Authenticate/WindowsActiveDirectory
> and
> http://wiki.bitbinary.com/index.php/Active_Directory_Integrated_Squid_Proxy
> and have had success until I reach the section for configuring Squid.
> In the instructions found in the second link, there is a test for
> testing squid_ldap_group.
> 
> squid_ldap_group testing Add testing section here for
> squid_ldap_group - Thanks Robert. e.g. 
> /usr/lib/squid3/squid_ldap_group -R -K -S -b "dc=example,dc=local" -D
> squid at 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 Connected OK
> 
> When I am trying to complete this command, I get the following
> message:
> 
> Bash:  /usr/lib/squid3/squid_ldap_group:  No such file or directory
> 
> I have gone to the directory /usr/lib/squid3/ there is no directory
> or file with that name.
> 
> I have installed Squid version 3.4.8.
> 
> I have been searching Google and all over the Squid site to see if I
> can find any information as to how to resolve this issue, and I have
> not yet found anything.  Any help would be greatly appreciated.

The tutorial(s) a bit old. The Squid-3.2 release notes explain it:
<http://www.squid-cache.org/Versions/v3/3.2/RELEASENOTES.html#ss2.6>

The new name for the same helper in your Squid version is ext_ldapgroup_acl

The "3" in the "squid3" paths are an artifact of the author having used
a Debian based OS. Your OS may have different paths.


Cheers
Amos


More information about the squid-users mailing list