I'm trying authenticate Squid (3.4.8) in the Samba 4.
The first block is working perfectly.
auth_param basic program /usr/lib/squid3/basic_ldap_auth -R -b \
DC=empresa,DC=com,DC=br -D CN=proxy,CN=Users,DC=empresa,DC=com,DC=br \
-w 12345 -h 192.168.0.25 -p 389 -s sub -v 3 -f "sAMAccountName=%s"
auth_param basic children 50
auth_param basic realm Proxy Server Squid
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
But when I try to use external_acl_type,
external_acl_type ad_group %LOGIN /usr/lib/squid3/ext_ldap_group_acl -v 3 -R -b \
DC=empresa,DC=com,DC=br -f “(&(cn=%v)(memberOf=cn=%a,DC=empresa,DC=com,DC=br ))” -D \
CN=proxy,CN=Users,DC=empresa,DC=com,DC=br -w 12345 -P 192.168.0.25:389
I have the following problem:
ext_ldap_group_acl: WARNING: LDAP search error 'Bad search filter'
Could anybody help me?
The first block is working perfectly.
auth_param basic program /usr/lib/squid3/basic_ldap_auth -R -b \
DC=empresa,DC=com,DC=br -D CN=proxy,CN=Users,DC=empresa,DC=com,DC=br \
-w 12345 -h 192.168.0.25 -p 389 -s sub -v 3 -f "sAMAccountName=%s"
auth_param basic children 50
auth_param basic realm Proxy Server Squid
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
But when I try to use external_acl_type,
external_acl_type ad_group %LOGIN /usr/lib/squid3/ext_ldap_group_acl -v 3 -R -b \
DC=empresa,DC=com,DC=br -f “(&(cn=%v)(memberOf=cn=%a,DC=empresa,DC=com,DC=br ))” -D \
CN=proxy,CN=Users,DC=empresa,DC=com,DC=br -w 12345 -P 192.168.0.25:389
I have the following problem:
ext_ldap_group_acl: WARNING: LDAP search error 'Bad search filter'
Could anybody help me?
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users