I just setup squid v2.4 and I had to create a wrapper for my LDAP to work.
example: authenticate_program /usr/lib/squid/myauth
then the file "myauth" looks like
/usr/lib/squid/squid_ldap_auth -b "o=myorg,c=US" xxx.xxx.xxx.xxx:389
Hope this helps.
CsY wrote:
Hello
Can i help you?
I need set up the ldap group authentication, this rule do not working.
Any idea?
auth_param basic program /usr/lib/squid/ldap_auth -ZZ -b
"ou=peoples,dc=mydomain,dc=com" ldap
external_acl_type ldap_group %LOGIN /usr/lib/squid/squid_ldap_group -ZZ
-b "cn=netgroup,ou=groups,dc=mydomain,dc=com" -f
"(&(objectclass=posixGroup)(cn=%a)(member=%v))" -B
"ou=peoples,dc=mydomain,dc=com" -F uid="%s" -w pass
serveraddress:serverport
acl password proxy_auth REQUIRED
acl password_group external ldap_group internet
http_access allow password_group
thanks