Project

General

Profile

Actions

Feature #10785

closed

Allow Setting of ldapcachetime

Added by Jan Wenzel almost 4 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Plus Target Version:

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.

Actions #1

Updated by Jim Pingle almost 4 years ago

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

Actions #3

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Pull Request Review
Actions #4

Updated by Renato Botelho over 3 years 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!

Actions #5

Updated by Azamat Khakimyanov over 3 years ago

  • Status changed from Feedback to Resolved

Tested on 2.4.5_p1 and on 2.5.0-DEVELOPMENT (built on Sun Nov 15 01:02:10 EST 2020)

LDAP Cache Time option is now available for SquidGuard.

This feature request can be marked resolved.

Actions

Also available in: Atom PDF