[squid-users] Pre-Built Binary Packages: squid_ldap_auth: (2) No such file or directory
Eliezer Croitoru
eliezer at ngtech.co.il
Wed Dec 21 21:40:35 UTC 2016
Hey,
These were built with support for ldap auth but the name of the binary was kept as it was by squid.
The package of squid from my repository was split into the "main" binary and "helpers".
This allows whoever that want's to install squid without resulting or being required to install all sort of other un-needed dependencies that is being caused by external helpers.
So first if you haven't installed the "squid-helpers" package install it from the repo.
Then if you are still missing the file then it might be because of it has another name then expected by the admin.
Maybe in the past the name was specific but it should be something else.
Here is the list of helpers in the squid-helpers latest rpm:
eliezer at www: /tmp/helpers$ rpm2cpio /mnt/squid-repos/centos/7/x86_64/squid-helpers-3.5.23-1.el7.centos.x86_64.rpm |cpio -idmv
./usr/lib64/squid/basic_db_auth
./usr/lib64/squid/basic_fake_auth
./usr/lib64/squid/basic_getpwnam_auth
./usr/lib64/squid/basic_ldap_auth
./usr/lib64/squid/basic_ncsa_auth
./usr/lib64/squid/basic_nis_auth
./usr/lib64/squid/basic_pam_auth
./usr/lib64/squid/basic_pop3_auth
./usr/lib64/squid/basic_radius_auth
./usr/lib64/squid/basic_sasl_auth
./usr/lib64/squid/basic_smb_auth
./usr/lib64/squid/basic_smb_auth.sh
./usr/lib64/squid/cachemgr.cgi
./usr/lib64/squid/cert_tool
./usr/lib64/squid/cert_valid.pl
./usr/lib64/squid/digest_edirectory_auth
./usr/lib64/squid/digest_file_auth
./usr/lib64/squid/digest_ldap_auth
./usr/lib64/squid/ext_delayer_acl
./usr/lib64/squid/ext_file_userip_acl
./usr/lib64/squid/ext_kerberos_ldap_group_acl
./usr/lib64/squid/ext_ldap_group_acl
./usr/lib64/squid/ext_session_acl
./usr/lib64/squid/ext_sql_session_acl
./usr/lib64/squid/ext_time_quota_acl
./usr/lib64/squid/ext_unix_group_acl
./usr/lib64/squid/ext_wbinfo_group_acl
./usr/lib64/squid/helper-mux.pl
./usr/lib64/squid/log_db_daemon
./usr/lib64/squid/negotiate_kerberos_auth
./usr/lib64/squid/negotiate_kerberos_auth_test
./usr/lib64/squid/negotiate_wrapper_auth
./usr/lib64/squid/ntlm_fake_auth
./usr/lib64/squid/ntlm_smb_lm_auth
./usr/lib64/squid/ssl_crtd
./usr/lib64/squid/storeid_file_rewrite
./usr/lib64/squid/url_fake_rewrite
./usr/lib64/squid/url_fake_rewrite.sh
1553 blocks
And from that I assume that the file you seek is:
/usr/lib64/squid/basic_ldap_auth
And if you want you can use a tiny symbolic link to keep the same name and location in your squid.conf using:
# ln -s /usr/lib64/squid/basic_ldap_auth /usr/lib64/squid/squid_ldap_auth
Let me know if something is missing( I have yet to force the repository version update but will do so in the next hours),
Eliezer
----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il
-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Periko Support
Sent: Wednesday, December 21, 2016 10:49 PM
To: squid-users at lists.squid-cache.org
Subject: [squid-users] Pre-Built Binary Packages: squid_ldap_auth: (2) No such file or directory
Hi.
We are testing squid 3.5 from:
http://wiki.squid-cache.org/KnowledgeBase/CentOS#Squid-3.5
But we got some issue, our server requieres auth to a local LDAP server.
But looks like it was build without this module.
Can some one confirm this?
squid -z
2016/12/21 12:40:00| ERROR: Authentication helper program
/usr/lib64/squid/squid_ldap_auth: (2) No such file or directory
FATAL: Authentication helper program /usr/lib64/squid/squid_ldap_auth:
(2) No such file or directory
Squid Cache (Version 3.5.20): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.005 user + 0.001 sys Maximum Resident Size: 30512 KB Page faults with physical i/o: 0
Centos 6.x x64, thanks.
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list