On 20/02/2013 4:22 a.m., Roman Gelfand wrote:
> Below, are the configuration parameters I use to build squid. After
> make install, the basic_ldap_auth is not found in /usr/local/libexec.
> Why?
>
> It is interesting as it did create these
>
> -rwxr-xr-x 1 root staff 72755 Feb 18 00:40 basic_fake_auth
> -rwxr-xr-x 1 root staff 103712 Feb 18 00:40 basic_getpwnam_auth
> -rwxr-xr-x 1 root staff 317249 Feb 18 00:40 basic_msnt_auth
> -rwxr-xr-x 1 root staff 3954 Feb 18 00:40 basic_msnt_multi_domain_auth
> -rwxr-xr-x 1 root staff 227438 Feb 18 00:40 basic_ncsa_auth
> -rwxr-xr-x 1 root staff 128612 Feb 18 00:40 basic_nis_auth
> -rwxr-xr-x 1 root staff 1460 Feb 18 00:40 basic_pop3_auth
> -rwxr-xr-x 1 root staff 145564 Feb 18 00:40 basic_radius_auth
> -rwxr-xr-x 1 root staff 156404 Feb 18 00:40 basic_smb_auth
> -rwxr-xr-x 1 root staff 2229 Feb 18 00:40 basic_smb_auth.sh
> -rwxr-xr-x 1 root staff 440976 Feb 18 00:41 cachemgr.cgi
> -rwxr-xr-x 1 root staff 227340 Feb 18 00:40 digest_file_auth
> -rwxr-xr-x 1 root staff 197133 Feb 18 00:41 diskd
> -rwxr-xr-x 1 root staff 158211 Feb 18 00:40 ext_file_userip_acl
> -rwxr-xr-x 1 root staff 3935 Feb 18 00:40 ext_sql_session_acl
> -rwxr-xr-x 1 root staff 132251 Feb 18 00:40 ext_unix_group_acl
> -rwxr-xr-x 1 root staff 4999 Feb 18 00:40 ext_wbinfo_group_acl
> -rwxr-xr-x 1 root staff 5499 Feb 18 00:41 helper-mux.pl
> -rwxr-xr-x 1 root staff 12166 Feb 18 00:40 log_db_daemon
> -rwxr-xr-x 1 root staff 76515 Feb 18 00:40 log_file_daemon
> -rwxr-xr-x 1 root staff 65044 Feb 18 00:40 negotiate_wrapper_auth
> -rwxr-xr-x 1 root staff 123618 Feb 18 00:40 ntlm_fake_auth
> -rwxr-xr-x 1 root staff 210415 Feb 18 00:40 ntlm_smb_lm_auth
> -rwsr-xr-x 1 root staff 695897 Feb 18 00:41 pinger
>
>
> configure options: '--enable-icap-client' '--enable-gnuregex'
> '--enable-icmp' '--enable-ssl' '--enable-kill-parent-hack'
> '--enable-snmp' '--disable-ident-lookups' '--enable-cache-digests'
> '--enable-eui' '--enable-removal-policies=heap,lru'
> '--enable-ssl-crtd' '--enable-linux-netfilter' '--enable-auth'
> '--enable-auth-basic' '--enable-auth-ntlm' '--enable-auth-negotiate'
> '--enable-auth-digest' '--enable-external-acl-helpers'
> '--with-maxfd=16384' '--enable-follow-x-forwarded-for'
> '--with-logdir=/var/log/squid'
> '--with-squid=/usr/local/src/squid-3.3.1' '--prefix=/usr/local'
> '--with-default-user=proxy' '--enable-ltdl-convenience'
> '--disable-ipv6'
>
> Also, the config log shows below.
>
>
> configure:21936: Authentication support enabled: yes
> configure:22011: Basic auth helper LDAP ... found but cannot be built
> configure:22011: Basic auth helper PAM ... found but cannot be built
> configure:22011: Basic auth helper SASL ... found but cannot be built
> configure:22011: Basic auth helper SSPI ... found but cannot be built
> configure:22016: Basic auth helpers to be built: DB MSNT
> MSNT-multi-domain NCSA NIS POP3 RADIUS SMB fake getpwnam
> configure:22069: NTLM auth helper SSPI ... found but cannot be built
> configure:22074: NTLM auth helpers built: fake smb_lm
> configure:22128: Negotiate auth helper SSPI ... found but cannot be built
> configure:22128: Negotiate auth helper kerberos ... found but cannot be built
> configure:22133: Negotiate auth helpers built: wrapper
> configure:22187: Digest auth helper LDAP ... found but cannot be built
> configure:22187: Digest auth helper eDirectory ... found but cannot be built
> configure:22192: Digest auth helpers built: file
> configure:22244: Log daemon helpers built: DB file
> configure:22363: checking for krb5-config
> configure:22391: result: no
> configure:23502: external acl helper AD_group ... found but cannot be built
> configure:23502: external acl helper LDAP_group ... found but cannot be built
> configure:23502: external acl helper LM_group ... found but cannot be built
> configure:23502: external acl helper eDirectory_userip ... found but
> cannot be built
> configure:23502: external acl helper kerberos_ldap_group ... found but
> cannot be built
> configure:23502: external acl helper session ... found but cannot be built
> configure:23502: external acl helper time_quota ... found but cannot be built
> configure:23507: External acl helpers built: SQL_session file_userip
> unix_group wbinfo_group
>
> Thanks in advance
When you don't specify the helper names (or ="" for none) Squid will
auto-detect support for each helper and build all the ones which can be
built.
You are missing build dependencies for these helpers which are "found
but cannot be built". Since you specifically want the LDAP helper you
will need a devel version of the LDAP libraries and headers installed
before ./configure'ing Squid.
Amos
Received on Tue Feb 19 2013 - 22:25:32 MST
This archive was generated by hypermail 2.2.0 : Wed Feb 20 2013 - 12:00:04 MST