Re: [squid-users] dynamic group using URI as group name on external acl with ext_ldap_group_acl

2016-08-24 Thread Amos Jeffries
On 24/08/2016 4:24 a.m., Diogenes S. Jesus wrote: If you want to do things like this safely please upgrade to Squid-4 where the logformat codes are available. Those codes provide customizable escaping and quoting styles so you can set one that protects LDAP against these

Re: [squid-users] dynamic group using URI as group name on external acl with ext_ldap_group_acl

2016-08-23 Thread Diogenes S. Jesus
> >> If you want to do things like this safely please upgrade to Squid-4 > >> where the logformat codes are available. Those codes provide > >> customizable escaping and quoting styles so you can set one that > >> protects LDAP against these attacks to be ued on the URI field value > >> sent by

Re: [squid-users] dynamic group using URI as group name on external acl with ext_ldap_group_acl

2016-08-23 Thread Amos Jeffries
On 23/08/2016 7:56 a.m., Diogenes S. Jesus wrote: > Hi there. First thanks for taking the time to thoroughly reply to it. > >>> external_acl_type ldap_HTTP %LOGIN %URI >>> /usr/lib/squid/ext_ldap_group_acl -D "cn=admin,dc=example,dc=com" -w >>> test -R -b "ou=authorization,dc=example,dc=com" -B

Re: [squid-users] dynamic group using URI as group name on external acl with ext_ldap_group_acl

2016-08-22 Thread Diogenes S. Jesus
Hi there. First thanks for taking the time to thoroughly reply to it. >> external_acl_type ldap_HTTP %LOGIN %URI >> /usr/lib/squid/ext_ldap_group_acl -D "cn=admin,dc=example,dc=com" -w >> test -R -b "ou=authorization,dc=example,dc=com" -B >> "ou=people,dc=example,dc=com" -f >>

Re: [squid-users] dynamic group using URI as group name on external acl with ext_ldap_group_acl

2016-08-22 Thread Amos Jeffries
On 22/08/2016 10:54 a.m., Diogenes S. Jesus wrote: > Hi everyone. > > I've the following use case to be accomplished using ACL: > > - Allow any authenticated user who is member of a group named after the URI > > To construct this I've built the following squid.conf (snippet): > > - >

[squid-users] dynamic group using URI as group name on external acl with ext_ldap_group_acl

2016-08-21 Thread Diogenes S. Jesus
Hi everyone. I've the following use case to be accomplished using ACL: - Allow any authenticated user who is member of a group named after the URI To construct this I've built the following squid.conf (snippet): - auth_param negotiate program /usr/lib/squid3/negotiate_kerberos_auth -d