[squid-users] 3.4 and external_acl_type

From: Dmitry Melekhov <dm_at_belkam.com>
Date: Tue, 06 Aug 2013 16:00:49 +0400

Hello!

Just tried to start 3.4 instead of 3.3.8 just to check does it work or
not ( sooner or later 3.3 will be deprecated ;-) ) and got:

2013/08/06 15:10:13| Macros are not supported here: %g)(memberUid=%u))"
-F "(&(objectClass=account)(uid=%s))" -s sub
FATAL: Bungled /etc/squid3/squid.conf line 1929: external_acl_type
LdapGroup children-max=30 children-startup=10 concurrency=0 ttl=600
negative_ttl=10 grace=0 protocol=2.5 %LOGIN /usr/sbin/squid_ldap_group
-v 3 -h 127.0.0.1 -b "o=Aspec,c=RU" -B
"org=belkam,ou=People,o=Aspec,c=RU" -f "(&(cn=%g)(memberUid=%u))" -F
"(&(objectClass=account)(uid=%s))" -s sub
Squid Cache (Version 3.4.0.1): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.000 user + 0.008 sys
Maximum Resident Size: 19744 KB
Page faults with physical i/o: 0

Yes, I use old squid_ldap_group which can't be compiled even with 3.3,
just because it is patched for our needs, but I guess, may be it can
still be usable, just some changes in config for 3.4.

Here is line from config:

external_acl_type LdapGroup children-max=30 children-startup=10
concurrency=0 ttl=600 negative_ttl=10 grace=0 protocol=2.5 %LOGIN
/usr/sbin/squid_ldap_group -v 3 -h 127.0.0.1 -b "o=Aspec,c=RU" -B
"org=belkam,ou=People,o=Aspec,c=RU" -f "(&(cn=%g)(memberUid=%u))" -F
"(&(objectClass=account)(uid=%s))" -s sub

could you tell me, is it possible to change it to 3.4 compatibility?

Thank you!
Received on Tue Aug 06 2013 - 12:01:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 06 2013 - 12:00:15 MDT