[squid-users] Re: Problem with squid_ldap_group

From: Clint Dilks <clintd_at_waikato.ac.nz>
Date: Thu, 10 Mar 2011 17:23:14 +1300

Hi again everyone,

It turns out this issue was related to quoting I had literally -f
'(&(uid=%u)(memberof=cn=%g,ou=groups,ou=people,dc=cms,dc=waikato,dc=ac,dc=nz))'
 But when I looked in cache.log this was reported as

group filter ''(&(uid=clintd)(memberof=cn=mysql,ou=groups,ou=people,dc=cms,dc=waikato,dc=ac,dc=nz))'',
searchbase 'ou=People,dc=cms,dc=waikato,dc=ac,dc=nz'
squid_ldap_group WARNING, LDAP search error 'Bad search filter'

Removing the single quotes fixes the issue

Connected OK
group filter '(&(uid=clintd)(memberof=cn=mysql,ou=groups,ou=people,dc=cms,dc=waikato,dc=ac,dc=nz))',
searchbase 'ou=People,dc=cms,dc=waikato,dc=ac,dc=nz'

Thank you to Amos Jeffries for the pointer to cache.log

On Thu, Mar 10, 2011 at 1:29 PM, Clint Dilks <clintd_at_waikato.ac.nz> wrote:
> Hi Everyone
>
> I am encountering an issue with this module which I don't understand.
>
Received on Thu Mar 10 2011 - 04:23:17 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 10 2011 - 12:00:02 MST