Content-type: text/plain; charset=us-ascii

Thanks Henrik,

this seems to work. What exactly do you mean with "quite well (but not
Would you consider this workaround fit for use in a production environment
(about 1000 users)?



Nordstrom An: Horst.Mundt@arxes.de
he.org> Thema: Re: [squid-users] http_reply_access & LDAP external acl


On Wed, 21 Apr 2004 Horst.Mundt@arxes.de wrote:

> It seems like the problem only occurs in conjunction with the
> http_reply_access.
> Any ideas? (My current workaround is a script that reads the admins group
> from the LDAP-directory and writes the members into a file. Told squid

> read the "admins" acl from the file instead of the LDAP-directory. That
> basically works but is not really elegant )

http_reply_access is somewhat limited in Squid-2.5 in that it cannot wait
for any form of external lookup to complete (external, dns etc).

You can work around this quite well (but not 100%) by making sure the same
acls is evaluated in http_access, allowing Squid to cache the result
before processing your http_reply_access rules. A simple method to have
acls evaluated in http_access without affecting the http_access outcome is
to use combine them with a dummy acl that will never match anything

acl nothing src

http_access deny acl_that_needs_to_be_evaluated nothing

somewhere before where access is allowed..



Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
enthalten. Wenn Sie nicht der beabsichtigte Empfänger sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender tele-
fonisch oder per E-Mail und löschen Sie diese E-Mail aus Ihrem System. Das
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht
gestattet. Wir haften nicht für die Unversehrtheit von E-Mails, nachdem sie
unseren Einflussbereich verlassen haben.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error) please
notify the sender immediately by call or e-mail and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. We are not responsible for the integrity of
e-mails after they have left our sphere of control.