[squid-users] Re: using squid_ldap_group in squid 2.5 pre

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 13 Sep 2002 10:03:22 +0200

Michael Fuller wrote:
> Hello all,
>
> I have been trying to use LDAP based external ACLs with squid 2.5 pre. I
> have been trying to construct the ACLs, without success for the past two
> weeks.
>
> While the following command:
>
> ldapsearch -x '(&(objectclass=groupofnames)(member= cn=dycsteofc,
> o=southern railway))' cn
>
> works well and returns the cn of the group(s) to which the user belongs, I
> have been unable to get the same results with squid_ldap_group.
>
> Will someone help me on this ?

squid_ldap_group -b "o=southern railway, c=???" -f
"(&(objectclass=groupofnames)(member= cn=%v, o=southern railway)(cn=%a))" -h
localhost

To have spaces in the helper arguments you will need to use 2.5.PRE13 or a
snapshot release 2002-09-08 or later. For earlier versions you will need to
create a small wrapper script for providing the arguments to the helper.

Regards
Henrik
Received on Fri Sep 13 2002 - 02:03:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:19 MST