Project

General

Profile

Feature #10785

Allow Setting of ldapcachetime

Added by Jan Wenzel 3 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Category:
squidguard
Target version:
-
Start date:
07/24/2020
Due date:
% Done:

100%

Estimated time:

Description

We're using Squid/Squidguard with many (!) ldap based group filters.

This does not scale because squidguard does not cache the search results by default.

It has support for caching using the keyword statement ldapcachetime <seconds>.

ldapcachetime    This global keyword specifies the number of seconds to cache LDAP search results before contacting the LDAP server again. This keyword is global and must go outside any Source/Destination/Rule blocks.
Setting this value to a reasonably low value can allow simulation of near-realtime user groupings in LDAP without restarting squidguard.
Recommended value: 300

I already patched the package in our machine, it works well.

I would like to add this patch to upstream to allow updating our system.

I can attach the patch to this ticket or create a pull request in github.

History

#1 Updated by Jim Pingle 3 months ago

Please create a pull request in github, that process is much easier for us to review and approve for inclusion. Thanks!

#3 Updated by Jim Pingle 3 months ago

  • Status changed from New to Pull Request Review

#4 Updated by Renato Botelho 2 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Also available in: Atom PDF