Hi Amos:
How i will build LDAP libraries for squid ?
We built openldap-2.4.39 environment .
We operated command " source /etc/ld.so.conf " ,
include /accerater/env/ldap/lib /accerater/env/ldap/include
/accerater/env/ldap/lib
liblber-2.4.so.2 liblber.a liblber.so libldap-2.4.so.2.10.2
libldap.la libldap_r-2.4.so.2.10.2 libldap_r.la libldap.so
liblber-2.4.so.2.10.2 liblber.la libldap-2.4.so.2
libldap.a libldap_r-2.4.so.2 libldap_r.a
libldap_r.so
/accerater/env/ldap/include
lber.h lber_types.h ldap_cdefs.h ldap_features.h ldap.h
ldap_schema.h ldap_utf8.h ldif.h slapi-plugin.h
This is new configure in according to your advisement
./configure --prefix=/accerater/webcache3
--enable-follow-x-forwarded-for --enable-snmp --enable-linux-netfilter
--enable-storeio=aufs,rock --enable-wccpv2 --with-large-files
--enable-removal-policies=lru,heap --enable-async-io=128
--enable-http-violations --with-maxfd=65536 --enable-large-cache-files
--enable-delay-pools --enable-forward-log --with-pthreads
LIBS=-ltcmalloc --enable-url-rewrite-helpers --enable-log-daemon-helpers
--enable-epoll --enable-ltdl-convenience --with-included-ltdl
--enable-disk-io=AIO,Blocking,DiskThreads,IpcIo,Mmapped
--enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,unix_group,wbinfo_group
--enable-auth-basic=DB,fake,getpwnam,LDAP,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB
--enable-auth-digest=file,LDAP --enable-cache-digests
--enable-auth-negotiate=kerberos,wrapper --enable-auth-ntlm=fake,smb_lm
if possible , please advise me how to do .
于 2015年03月14日 13:07, Amos Jeffries 写道:
On 14/03/2015 5:37 a.m., johnzeng wrote:
Hello All:
i hope to use external ACL + ldap at squid 3.5.2, but i don't find
ext_ldap_group_acl and basic_ldap_auth from /squid/libexec/
if possible , please give me some advisement . Thanks
You are missing the LDAP libraries needed to build them.
This is my config
configure options: '--prefix=/accerater/webcache3'
'--enable-follow-x-forwarded-for' '--enable-snmp'
'--enable-linux-netfilter' '--enable-storeio=aufs,rock'
'--enable-wccpv2' '--with-large-files'
'--enable-removal-policies=lru,heap' '--enable-async-io=128'
'--enable-http-violations'
All of these ...
'--enable-default-err-language=English'
'--enable-err-languages=English' '--enable-referer-log'
'--enable-useragent-log'
... to here are no longer existing otpions.
'--with-maxfd=65536'
'--enable-large-cache-files' '--enable-delay-pools'
'--enable-forward-log' '--with-pthreads' 'LIBS=-ltcmalloc'
'--disable-internal-dns'
Disable of interal DNS is no longer an existing option.
'--enable-url-rewrite-helpers'
'--enable-log-daemon-helpers' '--enable-epoll'
'--enable-ltdl-convenience' '--with-included-ltdl'
'--enable-disk-io=AIO,Blocking,DiskThreads,IpcIo,Mmapped'
This is full file at /squid/libexec
basic_db_auth basic_ncsa_auth basic_smb_auth digest_file_auth
ext_unix_group_acl log_file_daemon storeid_file_rewrite
basic_fake_auth basic_nis_auth basic_smb_auth.sh ext_delayer_acl
ext_wbinfo_group_acl negotiate_wrapper_auth unlinkd
basic_getpwnam_auth basic_pop3_auth basic_smb_lm_auth
ext_file_userip_acl helper-mux.pl ntlm_fake_auth url_fake_rewrite
basic_msnt_multi_domain_auth basic_radius_auth cachemgr.cgi
ext_sql_session_acl log_db_daemon ntlm_smb_lm_auth url_fake_rewrite.sh
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users